Page 1 of 1

BUG report windows install and FIX

Posted: Mon Dec 01, 2014 7:40 am
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';

Re: BUG report windows install and FIX

Posted: Mon Dec 01, 2014 2:39 pm
by shaunw
I will pass this on to our developers, thanks.