MyBB help - Not able to create new threads :(

Discussion in 'Forum Management' started by sitemasters, Feb 14, 2009.

  1. #1
    When I click "Post Thread" to create a new thread, I get the following error. Please help !!!

    Warning: require_once() [function.require-once]: SAFE MODE Restriction in effect. The script whose uid is 3007 is not allowed to access /www/mydomain.com/f/o/r/forum/htdocs/inc/class_error.php owned by uid 0 in /www/mydomain.com/f/o/r/forum/htdocs/inc/init.php on line 44
    
    Warning: require_once(/www/mydomain.com/f/o/r/forum/htdocs/inc/class_error.php) [function.require-once]: failed to open stream: Inappropriate ioctl for device in /www/mydomain.com/f/o/r/forum/htdocs/inc/init.php on line 44
    
    Fatal error: require_once() [function.require]: Failed opening required '/www/mydomain.com/f/o/r/forum/htdocs/inc/class_error.php' (include_path='.:/usr/lib/php') in /www/mydomain.com/f/o/r/forum/htdocs/inc/init.php on line 44
    Code (markup):
    The forum engine is MyBB. Please help !!!

    Thanks in advance !!!
     
    sitemasters, Feb 14, 2009 IP
  2. 1-3-3-7

    1-3-3-7 Well-Known Member

    Messages:
    605
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    110
    #2
    Have you installed any mods. or modified the MyBB code in any way?

    And is it a new forum, or an existing one?

    I'm not sure what the problem is, but it could be related to your PHP settings. My host changed them one day and I had some problems while in the Admin CP, I had to contact them and luckily one of the technicians knew about MyBB and fixed the PHP settings so that it worked again.
     
    1-3-3-7, Feb 15, 2009 IP
  3. Guthix121

    Guthix121 Well-Known Member

    Messages:
    1,078
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    105
    #3
    Try reuploading it from the original files. It may be corrupted or something.
     
    Guthix121, Feb 15, 2009 IP
  4. RectangleMan

    RectangleMan Notable Member

    Messages:
    2,825
    Likes Received:
    132
    Best Answers:
    0
    Trophy Points:
    210
    #4
    Looks like you screwed up installation. Are you sure you have your paths set correctly?

    /www/mydomain.com/f/o/r/forum/htdocs/inc/init.php

    And how is your path /f/o/r/forum/htdocs/

    Looks screwed to me.
     
    RectangleMan, Feb 16, 2009 IP
  5. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #5
    You are getting this error because PHP safe mode is "ON" in php.ini. Make sure that you have assigned correct permissions and ownership to the file /www/mydomain.com/f/o/r/forum/htdocs/inc/class_error.php file.

    Kailash
     
    kailash, Feb 18, 2009 IP
  6. sitemasters

    sitemasters Peon

    Messages:
    66
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I will check it .!!

    Thanks for the help
     
    sitemasters, May 6, 2009 IP