Error on install: config.php without opening tag

Discussion forum about Anuko Time Tracker

Error on install: config.php without opening tag

Postby 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
jalameda
 
Posts: 1
Joined: Mon Oct 03, 2016 11:43 pm

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

Postby 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.
Nik
 
Posts: 343
Joined: Wed May 26, 2010 5:55 pm

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

Postby 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

Postby 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:
ITMJanson
 
Posts: 2
Joined: Mon Nov 20, 2017 7:30 am


Return to Time Tracker

Who is online

Users browsing this forum: No registered users and 0 guests