BUG report windows install and FIX

Discussion for TimeTrex open source community developers.
Post Reply
domob
Posts: 2
Joined: Mon Dec 01, 2014 7:12 am

BUG report windows install and FIX

Post by domob »

During updating to v7.4.7 the following message appears:
Warning: PHP CLI requirements failed while executing
""C:\php\php-win.exe" "C:\timetrex\/tools/unattended_upgrade.php" --config "C:\timetrex\includes\..\timetrex.ini.php" --requirements_only --web_installer"
Likely caused by having two PHP.INI files with different settings.
Since this is a windows machine it becomes obvious that the slashes in the path are linux slashes.

the error is in /classes/modules/install/install.class.php:1152

it says:

Code: Select all

$command = '"'. $this->getPHPCLI() .'" "'. Environment::getBasePath() .'/tools/unattended_upgrade.php" --config "'. CONFIG_FILE .'" --requirements_only --web_installer';
it should say:

Code: Select all

$command = '"'. $this->getPHPCLI() .'" "'. Environment::getBasePath() .'tools'.DIRECTORY_SEPARATOR.'unattended_upgrade.php" --config "'. CONFIG_FILE .'" --requirements_only --web_installer';
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: BUG report windows install and FIX

Post by shaunw »

I will pass this on to our developers, thanks.
Post Reply