Hi,
All has been working fine on my modx site, but today, i can`t login and i have this ugly message on the web pages:
Unknown: open(/services/webdata/php_sessions/sess_6ecba1cb65372837aa0bc3582432d9e4, O_RDWR) failed: File too large (27)
anyone know what`s happened?
thanks,
G
-
☆ A M B ☆
- 24,524 Posts
Try clearing your browser cache and cookies for that domain; although this sounds a lot more serious than that it’s always worth a try.
Thanks, I actually fixed the problem by doing this in my .htaccess file.
php_value session.save_path /path/to/temp/folder
php_value session.gc_maxlifetime 28800
-
☆ A M B ☆
- 24,524 Posts
Be aware that if you are on a shared host, setting the gc_max_lifetime won’t give you longer times; PHP will use the shortest time set anywhere on its server. It cannot differentiate between your session files and those of someone using a shorter period, and that includes the default php.ini setting as well.
-
☆ A M B ☆
- 24,524 Posts
When I scanned through a quick Google search for the problem, I only found several questions like yours, unanswered, but the situation apparently resolved itself in most of the cases. Sounds like a temporary server overload or something.