I am setting up my first app and ran into this issue (after setting the platform paths and copying the MyApp dir) when running:
php First/scripts/Q/configure.php First
Error:
ParseError: syntax error, unexpected token “,”, expecting “)” in /Users/zattack/Projects/qp/First/handlers/MyApp/after/Q_configure.php:30
Stack trace:
#0 /Users/zattack/Projects/qp/platform/classes/Q.php(1161): Q::includeFile(‘handlers/MyApp/…’, Array, true)
#1 /Users/zattack/Projects/qp/platform/classes/Q.php(1061): Q::handle(‘MyApp/after/Q_c…’, Array, false, NULL)
#2 /Users/zattack/Projects/qp/platform/classes/Q/Bootstrap.php(322): Q::event(‘Q/configure’, Array, ‘after’)
#3 /Users/zattack/Projects/qp/platform/Q.php(122): Q_Bootstrap::configure()
#4 /Users/zattack/Projects/qp/First/scripts/Q.inc.php(40): include(‘/Users/zattack/…’)
#5 /Users/zattack/Projects/qp/First/scripts/Q/configure.php(16): include(‘/Users/zattack/…’)
#6 {main}
in ()