Als ich Contao installiere werfen FE & BE einen 503er "Incomplete Installation". Mitin localconfig.php bekomme ich diese Meldung in der Logdatei:Code:$GLOBALS['TL_CONFIG']['dbDriver'] = 'anything';
Wenn ich Zeile 118 von in /var/www/contao4/app/cache/prod/classes.php auskommentiere wird Contao functionieren. Aber ins Logdateie sehe ichCode:[27-Apr-2015 09:17:41 GMT] PHP Fatal error: Uncaught exception 'RuntimeException' with message 'Failed to start the session because headers have already been sent by "/var/www/contao4/app/bootstrap.php.cache" at line 1771.' in /var/www/contao4/app/cache/prod/classes.php:118
Stack trace:
#0 /var/www/contao4/app/cache/prod/classes.php(184): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start()
#1 /var/www/contao4/app/cache/prod/classes.php(557): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag('contao_frontend')
#2 /var/www/contao4/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Session.php(138): Symfony\Component\HttpFoundation\Session\Session->getBag('contao_frontend')
#3 /var/www/contao4/vendor/contao/core-bundle/src/Resources/contao/classes/FrontendUser.php(76): Contao\Session->getData()
#4 [internal function]: Contao\FrontendUser->storeSession()
#5 {main}
thrown in /var/www/contao4/app/cache/prod/classes.php on line 118
Alles funktioniert jetzt, aber ich habe die Meldung ins der Logdatei...Code:[27-Apr-2015 09:19:10 GMT] PHP Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /var/www/contao4/app/bootstrap.php.cache:1771) in /var/www/contao4/app/cache/prod/classes.php on line 120
[27-Apr-2015 09:19:10 GMT] PHP Stack trace:
[27-Apr-2015 09:19:10 GMT] PHP 1. Contao\FrontendUser->storeSession() /var/www/contao4/vendor/contao/core-bundle/src/Resources/contao/classes/FrontendUser.php:0
[27-Apr-2015 09:19:10 GMT] PHP 2. Contao\Session->getData() /var/www/contao4/vendor/contao/core-bundle/src/Resources/contao/classes/FrontendUser.php:76
[27-Apr-2015 09:19:10 GMT] PHP 3. Symfony\Component\HttpFoundation\Session\Session->getBag($name = *uninitialized*) /var/www/contao4/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Session.php:138
[27-Apr-2015 09:19:10 GMT] PHP 4. Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag($name = *uninitialized*) /var/www/contao4/app/cache/prod/classes.php:557
[27-Apr-2015 09:19:10 GMT] PHP 5. Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() /var/www/contao4/app/cache/prod/classes.php:184
[27-Apr-2015 09:19:10 GMT] PHP 6. session_start() /var/www/contao4/app/cache/prod/classes.php:120
Hat jemand das gleiche Problem?
OS: Linux Mint 17.1 (Ubuntu 14, Trusty Thar), Apache 2, PHP 5.5.9
[edit]Alles funktioniert jetzt, auch ohne Änderungen zum Ziele 118[/edit]
