Integration von Bot-Trap.de

Wie integriere ich http://www.bot-trap.de erfolgreich in Oxid?

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 …”

Fehlerbild habe ich mit http://anonymouse.org/cgi-bin/anon-www_de.cgi/
Orweb und Torbrowser.

Danke

sieg01

Version: CE 4.9.6
Template/Theme: Azure

Hallo @sieg01,

wie sieht das Skript denn genau aus?
http://www.bot-trap.de/home/pages/anleitung.php

Ich denke fast, es wäre besser, das über ein generisches Modul einzubinden, innerhalb dessen das Skript aufgerufen werden kann.

Gruß

Sers Marco.

Die Herausgeber/Anbieter verlangen aus verständlichen Gründen eine “Offenbarung”: http://www.bot-trap.de/wiki/wikka.php?wakka=PageRestrictorDownload

Das error.log wirft folgende Einträge aus:

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”. :slight_smile:

Eisigen Gruß

sieg01

Ich hab Dir mal im Bot-Trap Forum geantwortet. Hier noch mal meine index.php

 */
<?php
.
.
.
require_once('page.restrictor.php');
require_once dirname(__FILE__) . "/bootstrap.php";

//Starts the shop
Oxid::run();
.
.
.
?>

Das Script muß vor der ersten Zeichenausgabe aufgerufen werden. Läuft bei mir problemlos.

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?

Danke.