I got this error message with my site, how do I resolve this problem?

Warning: include() [function.include]: open_basedir restriction in effect. File(/home/vol4/0fees.net/fees0_4990791/configs/dirs.php) is not within the allowed path(s): (/php_sessions:/tmp:/var/www/errors:/usr/share/php:/home/vol4/0fees.net/fees0_4990791/htdocs) in /home/vol4/0fees.net/fees0_4990791/htdocs/configs/config.php on line 33

Warning: include(/home/vol4/0fees.net/fees0_4990791/configs/dirs.php) [function.include]: failed to open stream: Operation not permitted in /home/vol4/0fees.net/fees0_4990791/htdocs/configs/config.php on line 33

Warning: include() [function.include]: Failed opening '/home/vol4/0fees.net/fees0_4990791/configs/dirs.php' for inclusion (include_path='.') in /home/vol4/0fees.net/fees0_4990791/htdocs/configs/config.php on line 33

Warning: require_once() [function.require-once]: open_basedir restriction in effect. File(/home/vol4/0fees.net/fees0_4990791/configs/smarty.php) is not within the allowed path(s): (/php_sessions:/tmp:/var/www/errors:/usr/share/php:/home/vol4/0fees.net/fees0_4990791/htdocs) in /home/vol4/0fees.net/fees0_4990791/htdocs/configs/config.php on line 34

Warning: require_once(/home/vol4/0fees.net/fees0_4990791/configs/smarty.php) [function.require-once]: failed to open stream: Operation not permitted in /home/vol4/0fees.net/fees0_4990791/htdocs/configs/config.php on line 34

Fatal error: require_once() [function.require]: Failed opening required '/home/vol4/0fees.net/fees0_4990791/configs/smarty.php' (include_path='.') in /home/vol4/0fees.net/fees0_4990791/htdocs/configs/config.php on line 34

    Open basedir is a webserver setting that affects file access from within php. Assume your webserver at exmple.com has its document root set to
    /home/www/data
    Then http://example.com/ matches /home/www/data
    However, without an open basedir restriction a php script could access files in / or /etc which is generally not a good idea. If you wish to provide php file access to files outside of the document root, you might set open basedir restriction to /home/www and place such files in
    /home/www

      Thanks for replying but how do I set open base dir restrictions?

        That would depend on your webserver. Refer to its reference manual for instructions.

          Write a Reply...