Failed to write session data (user)
Posted by: kost36 (
Date: May 16, 2017 08:49AM

HI there,
There are two hosts in server: interopt and gmdb
The first works perfect
but when trying to run the second it responses with

Warning: session_write_close(): Failed to write session data (user). Please verify that the current setting of session.save_path is correct (f:/wamp64/tmp) in F:\wamp64\www\gmdb\libraries\joomla\session\handler\native.php on line 194

session_save_path looks correct (it's really on f:/wamp64/tmp)

On native.php runs a function like

public function save()
	// Verify if the session is active
	if ((version_compare(PHP_VERSION, '5.4', 'ge') && PHP_SESSION_ACTIVE === session_status())
        || (version_compare(PHP_VERSION, '5.4', 'lt') && $this->started && isset($_SESSION) && $this->getId()))
		$session = JFactory::getSession();
		$data    = $session->getData();

		// Before storing it, let's serialize and encode the Registry object
		$_SESSION['joomla'] = base64_encode(serialize($data));


		$this->closed  = true;
		$this->started = false;

wamp server 3.0.6 64bit
php version 7.010 (the probelm appears when turns on 5.6.25 too)
virtual hosts seems work perfect and host file too

windows 10pro 64

Any idea?

Many thank's

Edited 2 time(s). Last edit at 05/16/2017 10:08AM by RiggsFolly.

Options: ReplyQuote
Re: Failed to write session data (user)
Posted by: RiggsFolly (Moderator)
Date: May 16, 2017 12:24PM


I dont see this as a WAMPServer issue I am afriad. Maybe you would be better reporting this to Joomla.

(Windows 10 Pro 64bit) (Wampserver 3.1.3 32bit & 64bit)
<Apache 2.4.29/2.2.31> <PHP 7.2/7.1/7.0/5.6/5.5/5.4> <MySQL 5.7.19/5.6.39/5.5.28>
<MariaDB 10.2.14> <phpMyAdmin4.8.1> <MySQL Workbench 6.3.10>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote

Sorry, only registered users may post in this forum.