Page 1 of 1

PHP CLI error on MAC

Posted: Wed Oct 01, 2014 8:15 am
by aprill
Looking through the forums I see many PHP CLI errors but they are all a bit different.
I have a freshly installed timetrex community edition version 7.7.4 on a freshly installed mac osx server version 10.9.5. I get error:

Warning: PHP CLI requirements failed while executing
""/usr/bin/php" "/Applications/TimeTrex/timetrex//tools/unattended_upgrade.php" --config "/Applications/TimeTrex/timetrex/includes/../timetrex.ini.php" --requirements_only --web_installer"
Likely caused by having two PHP.INI files with different settings.


I have run it at the command line and get error: no such file or directory exists.
I know the file timetrex.ini.php exists only in one place. The directory:
/Applications/TimeTrex/timetrex

So should I just copy it somewhere else??? If so what is that full path?

I am also getting error:

PHP CLI Requirements Output:
Failed Requirements: Require,GETTEXT
Not writable: /Applications/TimeTrex/timetrex/classes/modules/install/../../../classes/modules/install/launch_timetrex_login.app/launch_timetrex_login.app


That file exists but again it looks like it does not exist in that location. It is in the location:
/Applications/Timetrex/timetrex

Attached are the screenshots and php output.

Re: PHP CLI error on MAC

Posted: Wed Oct 01, 2014 9:00 am
by shaunw
We will need to escalate this issue for further investigation, in the mean time you may want to consider trying our free Cloud Hosted Community Edition edition:
https://www.timetrex.com/cloud_community.php

Re: PHP CLI error on MAC

Posted: Wed Oct 01, 2014 9:43 am
by aprill
Oh. And I used the express installation, all default values.

Re: PHP CLI error on MAC

Posted: Sun Oct 05, 2014 8:48 pm
by trazanka
I am having similar problems, I first tried installing on a Macbook Pro Retina and had memory errors, got that fixed but then had the PHP problem. Switched to my Mac Mini Server and had the PHP error.

Any suggestions for this?

Thanks!

Re: PHP CLI error on MAC

Posted: Tue Oct 07, 2014 11:49 am
by shaunw
aprill wrote:Looking through the forums I see many PHP CLI errors but they are all a bit different.
I have a freshly installed timetrex community edition version 7.7.4 on a freshly installed mac osx server version 10.9.5. I get error:

Warning: PHP CLI requirements failed while executing
""/usr/bin/php" "/Applications/TimeTrex/timetrex//tools/unattended_upgrade.php" --config "/Applications/TimeTrex/timetrex/includes/../timetrex.ini.php" --requirements_only --web_installer"
Likely caused by having two PHP.INI files with different settings.


I have run it at the command line and get error: no such file or directory exists.
I know the file timetrex.ini.php exists only in one place. The directory:
/Applications/TimeTrex/timetrex

So should I just copy it somewhere else??? If so what is that full path?

I am also getting error:

PHP CLI Requirements Output:
Failed Requirements: Require,GETTEXT
Not writable: /Applications/TimeTrex/timetrex/classes/modules/install/../../../classes/modules/install/launch_timetrex_login.app/launch_timetrex_login.app


That file exists but again it looks like it does not exist in that location. It is in the location:
/Applications/Timetrex/timetrex

Attached are the screenshots and php output.
Based on the screenshots you sent, it would appear that for some reason its not using the bundled version of PHP that came with the TimeTrex installer. What is the full and exact file name of the TimeTrex file you used to originally install TimeTrex with?

Re: PHP CLI error on MAC

Posted: Tue Oct 07, 2014 12:49 pm
by aprill
TimeTrex-7.4.4-osx-installer.app

Re: PHP CLI error on MAC

Posted: Wed Oct 08, 2014 7:57 am
by shaunw
In /Applications/TimeTrex/ there should be a install.log file, could you attach it here please?

Re: PHP CLI error on MAC

Posted: Mon Oct 20, 2014 11:46 am
by aprill
Issue resolved. There is a bug in the 7.4.4 install. I first installed 7.2.5 and then upgraded to 7.4.4 and then deleted the shortcut.
No problems.