The script whose uid is 1783 is not allowed to access /tmp owned by uid 0 in /home/eb

Discussion in 'PHP' started by countrymomnv, Aug 16, 2009.

  1. #1
    We have just re-installed this Oscommerce program on a new server and now we are getting this error message at the top of the home page plus at the top of the admin area of the store. This program worked great on our old server.
    Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is 1783 is not allowed to access /tmp owned by uid 0 in /home/ebookweb/public_html/includes/functions/sessions.php on line 111:

    Can some please help!

    :confused:
     
    countrymomnv, Aug 16, 2009 IP
  2. premiumscripts

    premiumscripts Peon

    Messages:
    1,062
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    0
    #2
    This is a safe mode effect. The sessions have a different ID (nobody) from your uploaded file. Disable safe mode.
     
    premiumscripts, Aug 16, 2009 IP
  3. countrymomnv

    countrymomnv Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    How do i disable the Disable safe mode?

    Thanks
     
    countrymomnv, Aug 16, 2009 IP
  4. countrymomnv

    countrymomnv Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I figured it out. All i did was delete line 111 and the error message was gone.
    If any one else has this problem that is what you can do!
     
    countrymomnv, Aug 16, 2009 IP
  5. Gray Fox

    Gray Fox Well-Known Member

    Messages:
    196
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    130
    #5
    You could've just changed session_save_path() to @session_save_path() to suppress warnings, deleting script lines isn't always recommended, although in this case it shouldn't have significant effect on your site's functionality.
     
    Gray Fox, Aug 16, 2009 IP
  6. WWWCur

    WWWCur Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Please take a look at http://kinglogic.ru/content/view/123/72 Your problem has been solved there.
     
    WWWCur, Feb 7, 2010 IP