Seite 1 von 1

file exits extension.inc fehler nach chatbox-mod

Verfasst: 22.05.2007 19:26
von Hagen_Fenris
Hallo zusammen,
ich habe in mein phpBB-Forum den ChatBox-Mod von Smartor installiert.
Seit dem bekomme ich folgende Fehlermeldung:

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(./../extension.inc) is not within the allowed path(s): (/srv/www/httpd/phost/a/de/pytalhost/asen/web/:/srv/www/httpd/phost/a/de/pytalhost/asen/tmp/:/srv/www/httpd/phost/a/de/pytalhost/asen/ses/) in /srv/www/httpd/phost/a/de/pytalhost/asen/web/chat/chatbox_function.php on line 30

in der Zeile 30 der Datei steht folgendes:

if ( !file_exists($phpbb_root_path . 'extension.inc') )
{
$phpbb_root_path = './';
}

include_once($phpbb_root_path . 'extension.inc');

if ( file_exists($phpbb_root_path . 'chat/chatbox-lang_' . $board_config['default_lang'] . '.' . $phpEx) )
{
include_once($phpbb_root_path . 'chat/chatbox-lang_' . $board_config['default_lang'] . '.' . $phpEx);
}
else
{
include_once($phpbb_root_path . 'chat/chatbox-lang_english.' . $phpEx);
}

Da ich mit PHP erst anfange, kann ich damit noch nicht all zu viel anfangen und hoffe auf eure Hilfe.

Verfasst: 22.05.2007 19:46
von Miriam
Wende Dich vertrauensvoll an der Betreiber des Hostingangebots (Pytalhost). Es scheint ein kleines Problem mit den Einstellungen des Servers zu geben.

Die Fehlermeldung als solches kannst Du unterdrücken, indem Du @ direkt vor die Funktion schreibst.