Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-16-2010, 09:28 PM   PM User | #1
inta74
New Coder

 
Join Date: Aug 2010
Posts: 18
Thanks: 1
Thanked 0 Times in 0 Posts
inta74 is an unknown quantity at this point
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; 
}

?> 
inta74 is offline   Reply With Quote
Old 12-16-2010, 11:02 PM   PM User | #2
Fumigator
UE Antagonizer


 
Fumigator's Avatar
 
Join Date: Dec 2005
Location: Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
Posts: 7,686
Thanks: 42
Thanked 637 Times in 625 Posts
Fumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of light
No space left on the device? That doesn't pretty well explain it for you?
__________________
Fumigator is offline   Reply With Quote
Old 12-17-2010, 02:17 AM   PM User | #3
Inigoesdr
Super Moderator


 
Inigoesdr's Avatar
 
Join Date: Mar 2007
Location: Florida, USA
Posts: 3,601
Thanks: 2
Thanked 397 Times in 390 Posts
Inigoesdr is a jewel in the roughInigoesdr is a jewel in the roughInigoesdr is a jewel in the rough
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.
Inigoesdr is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:45 AM.


Advertisement
Log in to turn off these ads.