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