This may or may not help,
but I was getting Apace errors when I was testing a logout function on the index page.
Here's the function I was testing.
function session_clear() {
// if session exists, unregister all variables that exist and destroy session
$exists = "no";
$session_array = explode(";",session_encode());
for ($x = 0; $x < count($session_array); $x++) {
$name = substr($session_array[$x], 0, strpos($session_array[$x],"|"));
if (session_is_registered($name)) {
session_unregister('$name');
$exists = "yes";
}
}
if ($exists != "no") {
session_destroy();
}
}
Once I removed the call to this function, I stopped getting errors...
hope this helps,
steve