Failed to write session data (mysql) | Report Bugs | Forum Archive

The free forums are no longer in use. It remains available as read-only archive.

Avatar
Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
The forums are currently locked and only available for read only access
sp_TopicIcon
Failed to write session data (mysql)
July 30, 2013
10:01 am
Avatar
Cameron
New Member
Members
Forum Posts: 2
Member Since:
July 30, 2013
sp_UserOfflineSmall Offline

Hi Folks,

 

Working on a Joomla 3.1 website. Installed xCloner 3.4. Tried to log in using the default admin login but it just refreshed the screen. I noticed the following error at the bottom. Further testing (uninstall and install) reveals this error message is present even without trying to log in.

Warning: Unknown: Failed to write session data (mysql). Please verify that the current setting of session.save_path is correct () in Unknown on line 0

Having used xCloner successfully on other sites on the same host, I tried rolling back to xcloner 3.2 but the same error occurs. The other sites were all Joomla 2.5. I think this is a problem specific to Joomla 3.1.

 

The host tech support is also the owner of the business who built the Virtual Machine environment. Knows his stuff on the server side at least and he says:

"We make use of a PHP plugin to store sessions in MySQL so they persist
between servers in our web cluster. It seems this Joomla plugin makes
some assumptions about the session_path variable that are not valid when
this is in use.

This is a bug in xCloner. I don't really have
any recommendation on how to work around this -- I can only recommend
either filing a bug with xcloner or trying a different plugin."

 

I suspect it may instead be a bug in Joomla 3.1 but would like some clarification or a solution.

Your assistance is much appreciated 🙂

July 30, 2013
10:18 am
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

You need to check your php.ini session.save_path value, it needs to point to a valid server folder with writeable permissons. This is a hosting misscondiguration, and the fix is pretty easy as explained above.

 

Ovidiu

Forum Timezone: America/Chicago
Most Users Ever Online: 867
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
mlguru: 30
Django29: 29
Andy: 21
D: 21
Marcus: 20
Jamie F: 19
Member Stats:
Guest Posters: 738
Members: 10030
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
Omar Vera
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0