Skip to content

Instantly share code, notes, and snippets.

@felixrabe
Last active December 21, 2015 10:19
Show Gist options
  • Save felixrabe/6291379 to your computer and use it in GitHub Desktop.
Save felixrabe/6291379 to your computer and use it in GitHub Desktop.
13-08-21 09:15:30 19793 CRITICAL Flow Uncaught exception #1355480641 in line 227 of /Users/felixrabe/Sites/eis-flow-mamp/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Core/Booting/Scripts.php: Execution of subprocess failed with exit code 255 and no output.
The erroneous command was:
FLOW_ROOTPATH='/Users/felixrabe/Sites/eis-flow-mamp/' FLOW_CONTEXT='Development' XDEBUG_CONFIG='idekey=FLOW_SUBREQUEST remote_port=9001' "/Applications/MAMP/bin/php/php5.4.10/bin/php" -c '/Library/Application Support/appsolute/MAMP PRO/conf/php.ini' '/Users/felixrabe/Sites/eis-flow-mamp/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Core/../../../../Scripts/flow.php' 'typo3.flow:core:compile' - See also: 201308210915240306a9.txt
mbpro:eis-flow-mamp felixrabe$ time bash -c './flow help > /dev/null'
real 0m0.290s
user 0m0.213s
sys 0m0.071s
mbpro:eis-flow-mamp felixrabe$ rm -rf Data/Temporary/
mbpro:eis-flow-mamp felixrabe$ time bash -c './flow help > /dev/null'
real 0m4.435s
user 0m3.790s
sys 0m0.486s
<?php
$command = 'FLOW_ROOTPATH=\'/Users/felixrabe/Sites/eis-flow-mamp/\' FLOW_CONTEXT=\'Development\' XDEBUG_CONFIG=\'idekey=FLOW_SUBREQUEST remote_port=9001\' "/Applications/MAMP/bin/php/php5.4.10/bin/php" -c \'/Library/Application Support/appsolute/MAMP PRO/conf/php.ini\' \'/Users/felixrabe/Sites/eis-flow-mamp/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Core/../../../../Scripts/flow.php\' \'typo3.flow:core:compile\'';
echo "Executing...<br>\n";
$output = array();
exec($command, $output, $result);
echo "Result: {$result}<br>\n";
$output = implode(PHP_EOL, $output);
echo "{$output}\n";
mbpro:eis-flow-mamp felixrabe$ cat standalone-example.php
<?php
require_once(__DIR__ . '/Packages/Libraries/autoload.php');
printf("%u\n", \Exapoint\EIS\StandaloneExample::calculateSomething(5, 7));
mbpro:eis-flow-mamp felixrabe$ php standalone-example.php
PHP Fatal error: Class 'Exapoint\EIS\StandaloneExample' not found in /Users/felixrabe/Sites/eis-flow-mamp/standalone-example.php on line 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment