Seite 1 von 1

Fehlermeldung im ACP, wenn man Template bearbeiten will

Verfasst: 29.03.2007 16:34
von powersilie
Hallo!

Habe die Funktionen im ACP überprüft und habe entdeckt, daß bei "Styles/Themes" folgende Fehlermeldung kommt (am Kopf der jeweiligen Seite):
Warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/srv/www/htdocs/fweb30/html) is not within the allowed path(s): (/srv/www/htdocs/fweb30/html/:/srv/www/htdocs/fweb30/phptmp/:/srv/www/htdocs/fweb30/files/:/srv/www/htdocs/fweb30/atd/) in /srv/www/htdocs/fweb30/html/admin/admin_styles.php on line 137 (bwz. 554 und 796)

Warning: is_link() [function.is-link]: open_basedir restriction in effect. File(/srv/www/htdocs/fweb30/html) is not within the allowed path(s): (/srv/www/htdocs/fweb30/html/:/srv/www/htdocs/fweb30/phptmp/:/srv/www/htdocs/fweb30/files/:/srv/www/htdocs/fweb30/atd/) in /srv/www/htdocs/fweb30/html/admin/admin_styles.php on line 137 (sowie 554 und 796)
Laut Knowledge-Base wäre das eine Fehlermeldung, wenn der Hoster Safemode aktiviert hat.

Was mich aber stutzig macht ist, das alles funktioniert. Ich könnte Templates trotzdem ändern, raufladen oder exportieren.

Die erwähnten Zeilen in der admin/admin_styles.php sind:

Zeile 137 (bei Template hinzufügen):

if( !is_file(phpbb_realpath($phpbb_root_path . 'templates/' .$sub_dir)) && !is_link(phpbb_realpath($phpbb_root_path . 'templates/' .$sub_dir)) && $sub_dir != "." && $sub_dir != ".." && $sub_dir != "CVS" )


Zeile 554 (bei Template erstellen und wenn man das Template bearbeiten will)

if( !is_file(phpbb_realpath($phpbb_root_path . 'templates/' . $file)) && !is_link(phpbb_realpath($phpbb_root_path . 'templates/' . $file)) && $file != "." && $file != ".." && $file != "CVS" )


Zeile 796 (bei Template exportieren)

if( !is_file(phpbb_realpath($phpbb_root_path . 'templates/' . $file)) && !is_link(phpbb_realpath($phpbb_root_path . 'templates/' .$file)) && $file != "." && $file != ".." && $file != "CVS" )
Liegt es hier wirklich am Safemode oder ist da woanders ein Fehler drin?

lg
Powersilie