Für die aktuelle Version 2.10.2 scheint es nicht zu funktionieren. Kann da mal bitte jemand nachhelfen? Ist genau das, was ich brauche.
Im Frontent bekomme ich folgendes, wobei die Seite aber noch läuft:
Code:
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\[...]\system\modules\zhooks\config\config.php:3) in C:\xampp\htdocs\[...]\system\libraries\Template.php on line 286
#0 [internal function]: __error(2, 'Cannot modify h...', 'C:\xampp\htdocs...', 286, Array)
#1 C:\xampp\htdocs\[...]\system\libraries\Template.php(286): header('Vary: User-Agen...', false)
#2 C:\xampp\htdocs\[...]\system\modules\frontend\FrontendTemplate.php(208): Template->output()
#3 C:\xampp\htdocs\[...]\system\modules\frontend\PageRegular.php(168): FrontendTemplate->output()
#4 C:\xampp\htdocs\[...]\index.php(200): PageRegular->generate(Object(DB_Mysql_Result))
#5 C:\xampp\htdocs\[...]\index.php(319): Index->run()
#6 {main}
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\[...]\system\modules\zhooks\config\config.php:3) in C:\xampp\htdocs\[...]\system\libraries\Template.php on line 287
#0 [internal function]: __error(2, 'Cannot modify h...', 'C:\xampp\htdocs...', 287, Array)
#1 C:\xampp\htdocs\[...]\system\libraries\Template.php(287): header('Content-Type: t...')
#2 C:\xampp\htdocs\[...]\system\modules\frontend\FrontendTemplate.php(208): Template->output()
#3 C:\xampp\htdocs\[...]\system\modules\frontend\PageRegular.php(168): FrontendTemplate->output()
#4 C:\xampp\htdocs\[...]\index.php(200): PageRegular->generate(Object(DB_Mysql_Result))
#5 C:\xampp\htdocs\[...]\index.php(319): Index->run()
Im Backend zeigt er nach dem Login nur:
Code:
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\[...]\system\modules\zhooks\config\config.php:3) in C:\xampp\htdocs\[...]\system\libraries\System.php on line 574
#0 [internal function]: __error(2, 'Cannot modify h...', 'C:\xampp\htdocs...', 574, Array)
#1 C:\xampp\htdocs\[...]\system\libraries\System.php(574): setcookie('BE_USER_AUTH', '[...]', [...], '/[...]', '', false)
#2 C:\xampp\htdocs\[...]\system\libraries\User.php(375): System->setCookie('BE_USER_AUTH', '[...]', [...], '/[...]')
#3 C:\xampp\htdocs\[...]\system\libraries\User.php(286): User->generateSession()
#4 C:\xampp\htdocs\[...]\contao\index.php(65): User->login()
#5 C:\xampp\htdocs\[...]\contao\index.php(137): Index->__construct()
#6 {main}
Danke!
Lesezeichen