Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Apr 2003
    Posts
    277

    Default php errors after username change.

    I had some issues adding a client via regular signup through ModernBill.

    And after signup - I adjusted the client's username and password per her request. Ever since - the following error will pop up when attempting to access php scripts:

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

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

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

    emmaygee is the client
    doorsecr is the username of the section I set asside for ModernBill operation.

    Here is another error I get sometimes when checking my phpinfo.php page:

    Warning: Unknown(): open_basedir restriction in effect. File(/usr/local/apache/htdocs/phpinfo.php) is not within the allowed path(s): (/home/emmaygee:/usr/lib/php:/usr/local/lib/php:/tmp) in Unknown on line 0

    Warning: Unknown(/usr/local/apache/htdocs/phpinfo.php): failed to open stream: Operation not permitted in Unknown on line 0

    Warning: (null)(): Failed opening '/usr/local/apache/htdocs/phpinfo.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in Unknown on line

    Any idea how to fix this? Or what is wrong would be good too...

    Thank you!

  2. #2
    Member
    Join Date
    Jan 2002
    Posts
    51

    Default

    I would start by checking your open_basedir settings in WHM
    Tweak Security -> php open_basedir Tweak

  3. #3
    Member
    Join Date
    Apr 2003
    Posts
    277

    Default

    Thanks Elliot,

    So far it looks like it worked. I clicked around in modernbill for a few minutes with no errors.

    When I set up the server - I enabled protection and just forgot about that page.

  4. #4
    Member
    Join Date
    Jan 2002
    Posts
    51

    Default

    No problem!

Similar Threads & Tags
Similar threads

  1. Replies: 3
    Last Post: 12-20-2010, 06:46 AM
  2. Serious cPanel issue - Changing username = errors
    By jols in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 10-21-2008, 07:01 PM
  3. username creation errors
    By its_joy in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-21-2008, 07:00 PM
  4. Change My Username
    By cLub2Share in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-02-2006, 04:17 AM
  5. Username MySQL Errors
    By TheVoice in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-28-2002, 03:44 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube