Topic on Project:Support desk

Error code after upgrade to latest version: Warning: session_write_close(): Failed to write session data (user).

9
203.167.191.74 (talkcontribs)

I have just updated to 1.28 and now at the bottom of every page is the following error:

Warning: session_write_close(): Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/var/cpanel/php/sessions/ea3) in /home/domain1/public_html/kb/includes/session/SessionManager.php on line 469

Any advice would be appreciated, thanks.

AhmadF.Cheema (talkcontribs)
203.167.191.74 (talkcontribs)

Thank you for the quick reply. What file would I find $wgSessionCacheType in, it does not seem to be in SessionManager.php

AhmadF.Cheema (talkcontribs)

It would be in your LocalSettings.php file.

203.167.191.74 (talkcontribs)
AhmadF.Cheema (talkcontribs)

Then add it below the $wgMainCacheType value.

203.167.191.74 (talkcontribs)

I tried adding it (presuming I did it correctly) and it did not help. Here is the line of code (I added the last line only) as I added it:

## Shared memory settings

$wgMainCacheType = CACHE_NONE;

$wgMemCachedServers = array();

$wgSessionCacheType = CACHE_DB;

203.167.191.74 (talkcontribs)

bump

203.167.191.74 (talkcontribs)

This issue is still unresolved if anyone can shed any light.

Reply to "Error code after upgrade to latest version: Warning: session_write_close(): Failed to write session data (user)."