Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New Coder
    Join Date
    Mar 2008
    Posts
    19
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Getting a failed to open warning

    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
    PHP Code:
    require_once( BX_DIRECTORY_PATH_INC 'design.inc.php' ); 
    can any1 help me ?
    Last edited by rbowling; 07-24-2008 at 04:46 AM.


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •