Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2006
    Posts
    33

    i got some session errors..

    hi..i've a script..i installed it..but when i try to use it, i got some session errors :

    Warning: session_start(): open(/tmp/session_ab237baee73a********, O_RDWR) failed: Permission denied (13) in /home/client/public_html/script/index.php on line 2

    Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/client/public_html/script/index.php:2) in /home/client/public_html/script/index.php on line 2

    Warning: Unknown(): open(/tmp/session_ab237baee73a********, O_RDWR) failed: Permission denied (13) in Unknown on line 0

    Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
    here it's the 2nd line of index.php :

    session_start();
    how can i fix this problem ?

    thx for your replies..

  2. #2
    Join Date
    Jul 2002
    Location
    Florida
    Posts
    285
    Check permissions on the /tmp folder. It needs to be world writable (777)
    Mark

  3. #3
    Join Date
    Jun 2006
    Posts
    33
    Quote Originally Posted by submenu
    Check permissions on the /tmp folder. It needs to be world writable (777)
    It's chmod 777..

  4. #4
    Join Date
    Jun 2006
    Posts
    33
    Sorry, it gives that error when we use Mozilla/Firefox.But everything OK when i use Internet Explorer..What's the problem between Firefox and my website

    I solved the problem..Firefox opened my website from it's cache.I restart Firefox, and everything OK now
    Last edited by SLiM_BoY; 07-20-2006 at 08:48 PM.

  5. #5
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,262
    rm -f /tmp/sess_*
    chmod 1777 /tmp


    clear it and rechmod it.
    Steven Ciaburri | Proactive Linux Server Management - Rack911.com
    System Administration Extraordinaire | Follow us on twitter:@Rack911Labs
    Managed Servers (AS62710), Server Management, and Security Auditing.
    www.HostingSecList.com - Security notices for the hosting community.

  6. Newsletters

    Subscribe Now & Get The WHT Quick Start Guide!

Related Posts from theWHIR.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •