PDA

View Full Version : Install went well


Rodeo
09-18-2007, 10:04 AM
Hi, I managed to install everything. I get one error, when I try creating a forum with the 'new forum page' in the admin panel.
Warning: main() [function.main]: open_basedir restriction in effect. File(/class_nbs.php) is not within the allowed path(s): (/home/httpd/vhosts/website.be/httpdocs:/tmp) in /home/httpd/vhosts/website.be/httpdocs/forum/nbs/global.php on line 40

Warning: main(class_nbs.php) [function.main]: failed to open stream: Operation not permitted in /home/httpd/vhosts/website.be/httpdocs/forum/nbs/global.php on line 40

Fatal error: main() [function.require]: Failed opening required 'class_nbs.php' (include_path='.:') in /home/httpd/vhosts/website.be/httpdocs/forum/nbs/global.php on line 40I wonder if that error is caused by my hosting (who refrains the use of open_basedir restriction) or myself (is not within the allowed paths).

I searched this site but this (http://www.nbsdesignz.com/forums/showthread.php?t=8954&highlight=open_basedir+restriction+effect)wouldn't help me either.

Rodeo
09-20-2007, 03:16 AM
O, I'm using PHP 5. Does that makes difference?

Rodeo
09-22-2007, 02:12 PM
I searched help with my hoster, however they don't want to change the "open_basedir restriction" as it is dangerous (spam).

Is there a way to make the "make new forum"-link work??

DR_GIGGULS
09-24-2007, 06:24 AM
Your path in nbs_config.php may be incorrect.

Rodeo
09-24-2007, 01:45 PM
Currently i have two options:

the original installation says:
define('DIR', '/home/httpd/vhosts/site.be/httpdocs/forum/');



However on this site I read some information about problems with new_forum.php and the open basedir restriction. So i tried using
if (THIS_SCRIPT == 'new_forum')
{
define('DIR', './');
}
else
{
define('DIR', '../');
}

None of the above works:(