Quote:
Originally Posted by rjp0615
i've installed it on my forum, but got this message
Warning: main() [function.main]: open_basedir restriction in effect. File(/usr/lib/php/PEAR.php) is not within the allowed path(s): ('.:/proc/uptime:/tmp:/home:/usr/local/lib/php:/usr/home:/usr/local/bin/') in /vBTube/PEAR/HTTP/Request.php on line 46
Warning: main(PEAR.php) [function.main]: failed to open stream: Operation not permitted in /vBTube/PEAR/HTTP/Request.php on line 46
Fatal error: main() [function.require]: Failed opening required 'PEAR.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/wrest7/public_html/forums/vBTube/PEAR') in /home/wrest7/public_html/forums/vBTube/PEAR/HTTP/Request.php on line 46
|
This error indicates that your host has enabled the PHP open_base_dir setting on your server. Your host needs to add your vBTube installation folder to the allowed paths for this setting (i.e., add the file path referenced in the error as "not within the allowed path").
The open_base_dir setting is primarily used to prevent php scripts for a particular user from accessing files in another user's account. So usually, any files in your own account should be readable by your own scripts.