Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Aug 2003
    Location
    nasik india
    Posts
    3

    Default Website error

    Hello,

    I have been receiving these error messages for one of our client

    Warning: Unknown(): open_basedir restriction in effect. File(/home/testing/public_html/index.php) is not within the allowed path(s): (/home/discount:/usr/lib/php:/usr/local/lib/php:/tmp) in Unknown on line 0

    Warning: Unknown(/home/testing/public_html/index.php): failed to open stream: Operation not permitted in Unknown on line 0

    Warning: (null)(): Failed opening '/home/testing/public_html/index.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in Unknown on line 0

    I have done everthing that i received from this forum and still it is the same.

    The Main problem is that it does not happen every time but it will just popup on you when you are not expecting it

    So please help me on this issue.

    Thank you.

  2. #2
    Registered User
    Join Date
    Dec 2002
    Posts
    4

    Default Facing the same problem.

    Hello,

    I am also facing the same problem with one of our website so if any one has any ans to this problem i will me more the glad to try it.

  3. #3
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    See the thread in dgbakers forum here.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  4. #4
    Member
    Join Date
    Nov 2002
    Posts
    1,781
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default Re: Website error

    Originally posted by Abizer
    Hello,

    I have been receiving these error messages for one of our client

    Warning: Unknown(): open_basedir restriction in effect. File(/home/testing/public_html/index.php) is not within the allowed path(s): (/home/discount:/usr/lib/php:/usr/local/lib/php:/tmp) in Unknown on line 0

    Warning: Unknown(/home/testing/public_html/index.php): failed to open stream: Operation not permitted in Unknown on line 0

    Warning: (null)(): Failed opening '/home/testing/public_html/index.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in Unknown on line 0

    I have done everthing that i received from this forum and still it is the same.

    The Main problem is that it does not happen every time but it will just popup on you when you are not expecting it

    So please help me on this issue.

    Thank you.
    Not sure about the dgbakers forums, try this

    Open httpd.conf inside yoru favorite editor, go to the section where the virtual host entry for the domain (in question here) is made. Now you will see the php open_basedir entry, something like

    <IfModule mod_php4.c>
    php_admin_value open_basedir "/home/discount:/usr/lib/php:/usr/local/lib/php:/tmp"
    </IfModule>

    Now just after the "/home/discount:", add "/home/testing:". Restart apache and check if you still get errors.
    :: Anand ::

    ssh root@
    who the hell is root ???

    Cpanelappz Support Forums are up now. Register Today
    http://forums.cpanelappz.com

    WHM/cPanel API : http://whmapi.cpanelappz.com
    Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
    Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com

Similar Threads & Tags
Similar threads

  1. Error When Opening website
    By mukaram1128 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-08-2010, 09:45 AM
  2. Anyone know how to fix this website server error
    By ikwee in forum New User Questions
    Replies: 7
    Last Post: 07-12-2009, 02:48 PM
  3. Wordpress Search Error on website.
    By mail2sacp in forum New User Questions
    Replies: 1
    Last Post: 04-22-2009, 11:29 AM
  4. Website Error - Don,t know why this happens
    By Vatu in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-07-2008, 10:13 PM
  5. no website configured error after IP address addition
    By SteveC in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-17-2006, 05:54 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube