Missing quotes in system() command in initializeForRuntime()
As a hardcore Windows user I again experienced a problem regarding the quotes for a system() command, in my case resolving to something like
which ended as >> "C:\Program" is not an existing..... <<
so I fixed line 420 of Core/Bootstrap.php; changing from
$command = escapeshellcmd($this->settings['core']['phpBinaryPathAndFilename']) . ' -c ' . escapeshellarg(php_ini_loaded_file()) . ' -v';
$command = '"' . escapeshellcmd($this->settings['core']['phpBinaryPathAndFilename']) . '" -c ' . escapeshellarg(php_ini_loaded_file()) . ' -v';
This works now.
Updated by Adrian Föder about 10 years ago
I by the way was able to "fix" that with using forward slashes and 8.3 filenames (as noted in http://forge.typo3.org/projects/flow3/wiki/Installation_hints ).
But we should wrap the quotes anyway because it's just correct. (Bastian, maybe you remember, on the T3DD11 I poked you about this issue, you fixed it and... maybe forgot to commit it :)