So I tried to log into Suitecrm today and the home page loads however when anything is clicked it jumps to back to the login screen. “You have been logged out because your session has expired.”
Theres been no updates to the application just has stopped giving me access. Any Ideas ?
Ok so my host upgraded the server to Apache + Varnish so I think this is probably the reason why the app is now broken. Argh !
Did anyone else experience this and find a fix to run with varnish ? This is the error logs I get now with varnish
[08-May-2015 23:47:02 America/New_York] PHP Notice: Undefined variable: res in /xxxx/modules/Users/authentication/SugarAuthenticate/SugarAuthenticate.php on line 104
[08-May-2015 23:53:16 America/New_York] PHP Notice: Undefined variable: res in /xxxx/modules/Users/authentication/SugarAuthenticate/SugarAuthenticate.php on line 104
[08-May-2015 23:55:20 America/New_York] PHP Notice: Undefined variable: res in /xxxx/modules/Users/authentication/SugarAuthenticate/SugarAuthenticate.php on line 104
I ran into a similar issue last week. They told me that my PHP session save directory was full. They said they cleaned it out and made some changes to ngix to keep it from happening again.
I’m not sure if that’s true or if they’re just blowing steam. Just through I’d share since I had the exact same problem.
It looks like that server caching is causing the problem combined with a bug in suitecrm. My host has said that failed resource (gets) cause Varnish to drop the session and cause the session problem. Suitecrm has a issue in that there is a resource that always fails that I’m seeing in a few different implementations: