PDA

View Full Version : Error messages!


mazir
06-23-2006, 08:03 AM
Warning: main() [function.main]: open_basedir restriction in effect. File(/nbs_config.php) is not within the allowed path(s): (/home/web/wse79135:/var/tmp:/usr/local/lib/php) in /usr/home/web/wse79135/phpbbhost/nbs/global.php on line 23

Warning: main(nbs_config.php) [function.main]: failed to open stream: Operation not permitted in /usr/home/web/wse79135/phpbbhost/nbs/global.php on line 23

Warning: main() [function.include]: Failed opening 'nbs_config.php' for inclusion (include_path='.:') in /usr/home/web/wse79135/phpbbhost/nbs/global.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/web/wse79135/phpbbhost/nbs/global.php:23) in /usr/home/web/wse79135/phpbbhost/nbs/global.php on line 33


BTW here is the link: http://www.b-ones.net/phpbbhost/new_forum.php

The admin panel works well but when i try to even come to the make forum page is just decline with īthat error php message pelase help!

mazir
06-26-2006, 10:30 AM
I mean **** this forum it sucks i dont get any help damn im been waiting long just for an answer.. but no one even answer... the one who made this script would be abel to answer but no answer? ... :( im pissed please help!

Derek
06-26-2006, 04:32 PM
You are getting those because your host has the open_basedir restriction in effect. You can get rid of those by doing the following file edit:

OPEN /nbs/nbs_config.php.

FIND:
define('DIR',

REPLACE WHOLE LINE WITH:

if (THIS_SCRIPT == 'new_forum')
{
define('DIR', './');
}
else
{
define('DIR', '../');
}


That should fix it. Also sorry for not replying, I have been very busy lately.

Derek

mazir
06-27-2006, 10:11 AM
:( still dont work can it be anything wrong with the ftp path i settled when i installed it? becuase i just wrote ftp.b-ones.net or ftp.b-ones.net/phpbbhost

I dont remmeber but can that be the problem?

I wonder if i give you the pass to ftp and database could u try to fix the problem i would be very happy :D

Derek
06-27-2006, 07:09 PM
Make sure you have ftp.b-ones.net (ftp://ftp.b-ones.net) as the FTP Address, and the path should be the path to the script. If you would like me to take a look please PM me FTP info and Admin info to the script.

Thanks,
Derek