...

View Full Version : Help to fix errors



inta74
12-16-2010, 09:28 PM
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


Warning: session_write_close() [function.session-write-close]: write failed: No space left on device (28) in /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 (/tmp) in /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:117) in /home/idevmbco/public_html/config.php on line 118

config.php, lines 110 - 122


$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;
}

?>

Fumigator
12-16-2010, 11:02 PM
No space left on the device? That doesn't pretty well explain it for you?

Inigoesdr
12-17-2010, 02:17 AM
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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum