Page 1 of 1

Internal Server error during system check acceptance

Posted: Wed Dec 06, 2017 12:58 pm
by kobonl
When installing the community edition I receive an internal server error (500).
Any idea how to resolve this problem?


PHP CLI requirements failed while executing
"C:\TimeTrex\php\php-win.exe" "C:\TimeTrex\timetrex\tools\unattended_upgrade.php" --config "C:\TimeTrex\timetrex\includes\..\timetrex.ini.php" --requirements_only --web_installer
Likely caused by having two PHP.INI files with different settings.
Detailed Error Messages

PHP CLI Requirements Output

Re: Internal Server error during system check acceptance

Posted: Wed Dec 06, 2017 7:10 pm
by shaunw

Re: Internal Server error during system check acceptance

Posted: Thu Dec 07, 2017 3:33 am
by kobonl
I am installing the latest (downloaded it yesterday) Community edition onsite of TimeTrex on a Windows 10 pro os.
TimeTrex is installed via the installer using the express installation.

During installation I receive an error (see attachment). The installation continues but during the licence acceptance I receive an internal server error (500) (see attachment)

Re: Internal Server error during system check acceptance

Posted: Thu Dec 07, 2017 8:35 am
by shaunw
Please download v11.0.1 and try that just in case.

If you still receive the same error, on the "System Check Acceptance" screen, please scroll down and send us a screenshot of the detailed error message that should be displayed at the bottom.

Also, please send a copy of your c:\timetrex\log\timetrex.log file.

Re: Internal Server error during system check acceptance

Posted: Thu Dec 07, 2017 9:27 am
by kobonl
I checked an I have installed the latest version from your website (https://www.timetrex.com/onsite-communi ... &noemail=1). Not sure what version that is...

I attached the detail error description. There is nog log file available in C:\TimeTrex\log

Re: Internal Server error during system check acceptance

Posted: Thu Dec 07, 2017 9:39 am
by shaunw
According to the screenshot, you are installing v11.0.0 of TimeTrex and v11.0.1 is the latest version. Also you didn't scroll to the bottom of the screen where the details of the error message are displayed, so unfortunately we still don't have anything to go on.

Re: Internal Server error during system check acceptance

Posted: Thu Dec 07, 2017 10:03 am
by kobonl
I can not scroll down. The last line is a hyperlink to detailed php information and a button to recheck. Do you need the detailed php info?

I opened the link to the v11.0.1 installer (https://www.timetrex.com/download.php) and requested again a release and I am waiting now on a mail.

Or do you have a direct link to the v11.0.1 installer?

Re: Internal Server error during system check acceptance

Posted: Thu Dec 07, 2017 1:24 pm
by shaunw
Your screenshot shows a scroll bar on the right, it doesn't allow you to scroll down using it?

Re: Internal Server error during system check acceptance

Posted: Thu Dec 07, 2017 1:51 pm
by kobonl
No I can't scroll down..

Re: Internal Server error during system check acceptance

Posted: Thu Dec 07, 2017 2:59 pm
by shaunw
Did v11.0.1 make any difference for you? Can you try sending us a screenshot of the errors from it please?

Re: Internal Server error during system check acceptance

Posted: Fri Dec 08, 2017 12:53 am
by kobonl
No v11.0.1 didn't make the difference. Here is the screenshot. The C:\TimeTrex\log is still empty..

Re: Internal Server error during system check acceptance

Posted: Fri Dec 08, 2017 9:06 am
by shaunw
Please turn on logging as described near the bottom of this: viewtopic.php?f=6&t=89, then try again, and attach the log here.

Re: Internal Server error during system check acceptance

Posted: Mon Dec 11, 2017 1:02 am
by kobonl
The log file is attached..

Re: Internal Server error during system check acceptance

Posted: Mon Dec 11, 2017 9:55 am
by shaunw
Unfortunately that is the windows installer log, not the TimeTrex log file from the c:\timetrex\log\ directory.

Re: Internal Server error during system check acceptance

Posted: Mon Dec 11, 2017 10:32 am
by kobonl
Sorry, here it is..

Re: Internal Server error during system check acceptance

Posted: Mon Dec 11, 2017 2:54 pm
by shaunw
Unfortunately I'm not seeing anything useful in that log either... Are you running the installer while logged in as a Windows Administrator?

Re: Internal Server error during system check acceptance

Posted: Tue Dec 12, 2017 2:59 am
by kobonl
Yes I am logged in as administrator. Do you have any other suggestions how to overcome this problem?

Re: Internal Server error during system check acceptance

Posted: Tue Dec 12, 2017 8:31 am
by shaunw
Do you know if you have PHP installed anywhere else on this computer?

Do you have a different computer that you could try installing TimeTrex on to see if it works on it?

Re: Internal Server error during system check acceptance

Posted: Wed Dec 13, 2017 1:20 am
by kobonl
No I don't have PhP installed, actually its a new computer with a fresh install..

Re: Internal Server error during system check acceptance

Posted: Wed Dec 13, 2017 9:53 am
by shaunw
Is the operating system fully up-to-date with Windows Update and any service packs?

If you open a command prompt, try running this command and copy and paste the output here:

Code: Select all

"C:\TimeTrex\php\php-win.exe" "C:\TimeTrex\timetrex\tools\unattended_upgrade.php" --config "C:\TimeTrex\timetrex\includes\..\timetrex.ini.php" --requirements_only --web_installer

Re: Internal Server error during system check acceptance

Posted: Thu Dec 14, 2017 1:08 am
by kobonl
Yes the OS is up to date and with service packs.

I am running the command in the command prompt but it doesn't give any output (see attachment).

The php-win.exe exists in c:\timetrex\php and also the php files exists in the directory you specified...

Re: Internal Server error during system check acceptance

Posted: Thu Dec 14, 2017 5:27 pm
by shaunw
We are unable to replicate this issue on our end, so is it possible for you to provide us with remote access to your computer to investigate this issue further?

If so, you can download our screen sharing tool here:
https://www.timetrex.com/r.php?id=unattended

Then email support@timetrex.com the ID and please include a reference to this thread in the email.

Re: Internal Server error during system check acceptance

Posted: Fri Dec 15, 2017 1:32 pm
by shaunw
I was informed that the issue turned out to be PHP crashing on your system for some unknown reason.

When c:\timetrex\php\php.ini was modified to disable the PHP OPCACHE feature, by modifying the following lines:

Code: Select all

opcache.enable=0
opcache.enable_cli=0
That resolved the issue for now at least, however disabling the opcache will cause a substantial performance degradation.

Re: Internal Server error during system check acceptance

Posted: Sat Dec 16, 2017 1:19 am
by kobonl
Indeed it took the whole night installation before it returned an server error (connection lost). When I now start TT i receive this error: TimeTrex is currently undergoing maintenance. We apologize for any inconvenience this may cause, please try again later.

I have another notebook (exact same configuration) which also has the same installation problem.

Any other idea how this can be resolved?

Re: Internal Server error during system check acceptance

Posted: Sat Dec 16, 2017 10:57 am
by shaunw
My only guess is there is some software installed on your computers or some setting that is causing things to crash. Its not specific to TimeTrex itself, its PHP (installed on millions and millions of systems) that is crashing.

We aren't able to replicate the problem ourselves, and haven't had anyone else report a similar problem either.

At this point, its going to be up to you to narrow down what is causing the crash.