Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Aug 2010
    Posts
    18
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question Help to fix errors

    Hello CF'ers,
    i wonder if someone could please help me to fix the errors in this script.
    Thank you

    Errors after i login to the admin area
    PHP Code:
    Warningsession_write_close() [function.session-write-close]: write failedNo space left on device (28in /home/username/public_html/config.php on line 117

    Warning
    session_write_close() [function.session-write-close]: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmpin /home/username/public_html/config.php on line 117

    Warning
    Cannot modify header information headers already sent by (output started at /home/username/public_html/config.php:117in /home/idevmbco/public_html/config.php on line 118 
    config.php, lines 110 - 122
    PHP Code:
        $parse_url["query"] = "?" $parse_url["query"] . session_name () . "=" strip_tags (session_id ());
        if (
    $parse_url["fragment"] != "")
        {
            
    $parse_url["fragment"] = "#" $parse_url["fragment"];
        }
        
    $url $parse_url["scheme"] . "://" $parse_url["host"] . $parse_url["path"] . $parse_url["query"] . $parse_url["fragment"];

        
    session_write_close ();
        
    header ("Location: " $url);
        exit; 
    }

    ?> 

  • #2
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,691
    Thanks
    42
    Thanked 637 Times in 625 Posts
    No space left on the device? That doesn't pretty well explain it for you?

  • #3
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Location
    Florida, USA
    Posts
    3,647
    Thanks
    2
    Thanked 406 Times in 398 Posts
    Fumigator is correct. If you're on a shared host have your administrator clean out the /tmp directory or resize the partition it's on to be larger.


  •  

    Posting Permissions

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