View Full Version : Getting a failed to open warning

07-24-2008, 04:14 AM
I am trying to get a site up and running but im having a problem .. i get this error message ..Warning: require_once() [function.require-once]: open_basedir restriction in effect. File(/usr/local/apache/htdocs/inc/design.inc.php) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/a2950482/public_html/index.php on line 39

...and this also ..
Warning: require_once(/usr/local/apache/htdocs/inc/design.inc.php) [function.require-once]: failed to open stream: Operation not permitted in /home/a2950482/public_html/index.php on line 39

and this one...
Fatal error: require_once() [function.require]: Failed opening required '/usr/local/apache/htdocs/inc/design.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a2950482/public_html/index.php on line 39

my code for line 39 is

require_once( BX_DIRECTORY_PATH_INC . 'design.inc.php' );

can any1 help me ?