Ich wollte gerade mein System auf PHP5 umstellen, allerdings wurde ich dabei gleich mit einer Menge Fehlermeldungen beglückt:
Wenn ich das richtig sehe, dann betrifft dies diesen Block in der portal.php:PHP Warning: include() [<a href='function.include'>function.include</a>]: open_basedir restriction in effect. File(./extension.inc) is not within the allowed path(s): (e:\bbs\web\html) in ...\forum\portal.php on line 62
PHP Warning: include(./extension.inc) [<a href='function.include'>function.include</a>]: failed to open stream: Operation not permitted in ...\forum\portal.php on line 62
PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening './extension.inc' for inclusion (include_path='...\cgi-bin\includes') in ...\forum\portal.php on line 62
PHP Notice: Undefined variable: phpEx in ...\forum\portal.php on line 63
PHP Warning: include() [<a href='function.include'>function.include</a>]: open_basedir restriction in effect. File(./common.) is not within the allowed path(s): (e:\bbs\web\html) in ...\forum\portal.php on line 63
PHP Warning: include(./common.) [<a href='function.include'>function.include</a>]: failed to open stream: Operation not permitted in ...\forum\portal.php on line 63
PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening './common.' for inclusion (include_path='...\cgi-bin\includes') in ...\forum\portal.php on line 63
PHP Notice: Undefined variable: phpEx in ...\forum\portal.php on line 64
PHP Warning: include() [<a href='function.include'>function.include</a>]: open_basedir restriction in effect. File(./includes/bbcode.) is not within the allowed path(s): (e:\bbs\web\html) in ...\forum\portal.php on line 64
PHP Warning: include(./includes/bbcode.) [<a href='function.include'>function.include</a>]: failed to open stream: Operation not permitted in ...\forum\portal.php on line 64
PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening './includes/bbcode.' for inclusion (include_path='...\cgi-bin\includes') in ...\forum\portal.php on line 64
PHP Notice: Undefined variable: phpEx in ...\forum\portal.php on line 65
PHP Warning: include() [<a href='function.include'>function.include</a>]: open_basedir restriction in effect. File(./includes/def_icons.) is not within the allowed path(s): (e:\bbs\web\html) in ...\forum\portal.php on line 65
PHP Warning: include(./includes/def_icons.) [<a href='function.include'>function.include</a>]: failed to open stream: Operation not permitted in ...\forum\portal.php on line 65
PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening './includes/def_icons.' for inclusion (include_path='...\cgi-bin\includes') in ...\forum\portal.php on line 65
PHP Notice: Undefined variable: phpEx in E:\BBS\WEB\html\forum\portal.php on line 66
PHP Warning: include() [<a href='function.include'>function.include</a>]: open_basedir restriction in effect. File(./fetchposts.) is not within the allowed path(s): (e:\bbs\web\html) in ...\forum\portal.php on line 66
PHP Warning: include(./fetchposts.) [<a href='function.include'>function.include</a>]: failed to open stream: Operation not permitted in ...\forum\portal.php on line 66
PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening './fetchposts.' for inclusion (include_path='...\cgi-bin\includes') in ...\forum\portal.php on line 66
PHP Notice: Undefined variable: table_prefix in ...\forum\portal.php on line 70
PHP Notice: Undefined variable: db in ...\forum\portal.php on line 71
PHP Fatal error: Call to a member function sql_query() on a non-object in ...\forum\portal.php on line 71
Code: Alles auswählen
define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
include($phpbb_root_path . 'includes/bbcode.'.$phpEx);
include($phpbb_root_path . 'includes/def_icons.'. $phpEx);
include($phpbb_root_path . 'fetchposts.'.$phpEx);open_basedir = e:\bbs\web\html
Damit tut es mit PHP4 funktionieren. Was läuft jetzt falsch?