Fibe
01-24-2005, 02:03 PM
Example I moved this random hack to the website root instead of the domain root and get this error:
Warning: main(./global.php): failed to open stream: No such file or directory in /home/xxx/public_html/members.php on line 81
Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/public_html/members.php on line 81
I fixed this by simply changing:
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
To:
// ######################### REQUIRE BACK-END ############################
require_once('./forums/global.php');
But now I get the following error where I no longer have any clue how to make it work:
Warning: main(./includes/init.php): failed to open stream: No such file or directory in /home/xxx/public_html/forums/global.php on line 53
Fatal error: main(): Failed opening required './includes/init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/public_html/forums/global.php on line 53
Anyone able to assist me with this problem?
Thanks !
Warning: main(./global.php): failed to open stream: No such file or directory in /home/xxx/public_html/members.php on line 81
Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/public_html/members.php on line 81
I fixed this by simply changing:
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
To:
// ######################### REQUIRE BACK-END ############################
require_once('./forums/global.php');
But now I get the following error where I no longer have any clue how to make it work:
Warning: main(./includes/init.php): failed to open stream: No such file or directory in /home/xxx/public_html/forums/global.php on line 53
Fatal error: main(): Failed opening required './includes/init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/public_html/forums/global.php on line 53
Anyone able to assist me with this problem?
Thanks !