Unstoppable Domains

Need some help please

Spaceship Spaceship
Watch
Impact
58
I have a site that is hosted on a shared server. www.fixtips.com
Recently the host upgraded something on the server and now I am getting these errors:

Warning: main() [function.main]: open_basedir restriction in effect. File(/usr/share/pear/functions.inc.php) is not within the allowed path(s): (/home/httpd/vhosts/fixtips.com/httpdocs:/tmp) in /home/httpd/vhosts/fixtips.com/httpdocs/includes/header.php on line 4

Warning: main(functions.inc.php) [function.main]: failed to open stream: Operation not permitted in /home/httpd/vhosts/fixtips.com/httpdocs/includes/header.php on line 4

Warning: main() [function.include]: Failed opening 'functions.inc.php' for inclusion (include_path='.:/usr/share/pear') in /home/httpd/vhosts/fixtips.com/httpdocs/includes/header.php on line 4

Fatal error: Call to undefined function isUserAllowed() in /home/httpd/vhosts/fixtips.com/httpdocs/includes/header.php on line 12




My question is this:
Is this a problem with the code on my site or is it something they did?
Any advice given will help - thanks
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Open_basedir is on... I'll quote SecondVersion's excellent reply to another thread:

------------------------------------

You have open_basedir on...

There are 4 ways you could fix it, any one of these should work for you.

  1. Disable open_basedir in php.ini
  2. If there is some sort of 'global' file in the script you're trying to use, try adding:
    PHP:
    // It appears your current path is:   .:/usr/lib/php:/usr/local/lib/php
    // But we'll still use  get_include_path() to get it
    set_include_path(get_include_path() . ':/usr/local/cpanel');
  3. Use .htaccess:
    Code:
    # For .htaccess though, it'll be done manually.
    php_value include_path ".:/usr/lib/php:/usr/local/lib/php:/usr/local/cpanel"
  4. Alter the php.ini entry for include_path
 
1
•••
Thanks for the help Danltn!
I contacted the server host and they were kind enough to fix the problem.
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Payment Flexibility
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back