Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.