We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10357
    • 573 Posts
    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
      • 28042 ☆ 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.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 10357
        • 573 Posts
        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

          • 28042 ☆ 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.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 10357
            • 573 Posts
            hmm.. makes sense i guess, anyway its fixed for now grin
              • 28042 ☆ 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.
                Studying MODX in the desert - http://sottwell.com
                Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                Join the Slack Community - http://modx.org