[Mediawiki-l] We could not process your edit due to a loss of session data (Solved)

Frames Project frames at lct.jussieu.fr
Thu May 28 16:29:58 UTC 2009


Le jeudi 28 mai 2009 à 16:57 +0200, Frames Project a écrit :
> Le jeudi 28 mai 2009 à 15:19 +0100, Thomas Dalton a écrit :
> > > "**Sorry! We could not process your edit due to a loss of session data.
> > > Please try again. If it still doesn't work, try logging out and logging
> > > back in."
> > 
> > It's probably a problem with your PHP sessions settings. Check where
> > PHP is savings its sessions data (I think it's set in php.ini
> > somewhere) and make sure the web server has write access there.
> > 
> 
> I looked at php.ini the file is
> 
> session.save_path = "/var/lib/php/session"

Dear Thomas,

I found the reason of the problem : SELinux was activated (I did not pay
attention to it)

In fact SELinux is sending a message and gives the solution.
So I had to run  

chcon -t httpd_sys_content_t /var/lib/php

to enable access to this session file for httpd 

Thanks for putting me on the track towards /var/lib/php/session.

Best
Francois Colonna





More information about the MediaWiki-l mailing list