Jump to content

session_write_close error


kyleldi

Recommended Posts

I've got a user login/authorization form created from a MySQL database that's been working fine for days, yet today when I login to it I get these errors.

 

Warning: session_write_close() [function.session-write-close]: open(/services/webdata/php_sessions/sess_75001ee37d0326f8e1fbfb89dd87346b, O_RDWR) failed: File too large (27) in /services/webpages/admin/includes/common/KT_functions.inc.php on line 458

 

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 (/services/webdata/php_sessions) in /services/webpages/admin/includes/common/KT_functions.inc.php on line 458

 

Warning: Cannot modify header information - headers already sent by (output started at /services/webpages/admin/includes/common/KT_functions.inc.php:458) in /services/webpages/admin/includes/common/KT_functions.inc.php on line 464

 

I'm assuming it's not deleting a temp file, but here's the PHP code it's referring to.

 

                session_write_close();
	$url = str_replace(" ","%20",$url);
	if (KT_is_ajax_request()) {
		header("Kt_location: ".$url);
		echo "Redirecting to: " . $url;
	} else {
		header("Location: ".$url);
	}
}
exit;
}

 

Does anyone have any idea what is wrong and how to fix it?  Like I said, it's worked fine for days.....

Link to comment
https://forums.phpfreaks.com/topic/64836-session_write_close-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.