Ich habe es in die index.php.
Es wird auch aufgerufen.
Nachdem ich die Aufgabe korrekt löse, erscheint im Frontend über den Blöcken:
“Warning: ini_set() [function.ini-set]: A session is active. You cannot change the session module’s ini settings at this time in …”
PHP Warning: ini_set() [<a href=‘function.ini-set’>function.ini-set</a>]: A session is active. You cannot change the session module’s ini settings at this time in /var/www/oxid/core/oxfunctions.php on line 199
PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/oxid/core/oxfunctions.php:199) in /var/www/oxid/core/oxutilsserver.php on line 87
PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/oxid/core/oxfunctions.php:199) in /var/www/oxid/core/oxutils.php on line 1133
Crawltrack und Crawlprotect sind erfolgreich in die Index.php eingebaut und “spulen ihr Programm problemlos ab”.
Ich habe auf dem Livesystem den “Produktivmodus” aktiviert und
ini_set("display_errors", "off");
in die config.inc eingefügt.
Nun erscheinen keine Warnmeldungen über den Blöcken mehr.
Nur oberhalb des Shops steht gleich als erste Zeile:
Warning: ini_set() [function.ini-set]: A session is active. You cannot change the session module's ini settings at this time in /var/www/example.com/shop/core/oxfunctions.php on line 199
Nachschlag
Im error.log finde ich folgende Einträge:
PHP Warning: ini_set() [<a href='function.ini-set'>function.ini-set</a>]: A session is active. You cannot change the session module's ini settings at this time in /var/www/example.com/shop/core/oxfunctions.php on line 199, referer: http://example.com/shop/
PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/example.com/shop/core/oxfunctions.php:199) in /var/www/example.com/shop/core/oxutilsserver.php on line 87
Wo muß ich nun schrauben, damit auch diese Fehlermeldung nicht mehr angezeigt wird?