Error on install: config.php without opening tag

Discussion forum about Anuko Time Tracker
Post Reply
jalameda
Posts: 1
Joined: Mon Oct 03, 2016 11:43 pm

Error on install: config.php without opening tag

Post by jalameda » Mon Oct 03, 2016 11:47 pm

When I try to install there is a message that said:
Error: WEB-INF/config.php file does not start with PHP opening tag.
Of course the tag is there, What it coud be? I am using windows 7 with wampserver64. Thanks in advance

Nik
Posts: 447
Joined: Wed May 26, 2010 5:55 pm

Re: Error on install: config.php without opening tag

Post by Nik » Tue Oct 04, 2016 4:15 am

Which version of Time Tracker are you using?

There was a Windows-specific issue in dbinstall.php, that was fixed recently (code was looking for php opening tag with a line terminator, that was broken on Windows). Look at github for more details.

Long story short, try to use the latest Time Tracker and let us know if you still see the problem.

ITMJanson
Posts: 2
Joined: Mon Nov 20, 2017 7:30 am

Re: Error on install: config.php without opening tag

Post by ITMJanson » Mon Nov 20, 2017 10:06 am

Hello.

I get the same error. I'm trying to install the latest version of TT on a xamp server with apache 2.4.29, PHP 5.6.32 and Maria db 10.1.28
I've followed step by step the instructions, but when I try to launch the dbinstall.php, I get this :

Environment Checks
WEB-INF/templates_c/ directory is writable.
WEB-INF/config.php file exists.
Error: WEB-INF/config.php file does not start with PHP opening tag.
DSN is defined.
PHP version: 5.6.32, good enough.
mysqli PHP extension is loaded.
mbstring PHP extension is loaded.
gd PHP extension is loaded.
Error: connection to database failed. MDB2 Error: insufficient permissions

Any help would be great...

Thanks !

ITMJanson
Posts: 2
Joined: Mon Nov 20, 2017 7:30 am

Re: Error on install: config.php without opening tag

Post by ITMJanson » Tue Nov 21, 2017 7:23 am

Hi !

My bad... :oops:

Searching for the solution, I noticed I've forgotten to change the password of the root user in the config file.
Went just well after that :mrgreen:

Post Reply