Roundcube .08 "Your session is invalid or expired"

thunn

Verified User
Joined
Mar 13, 2012
Messages
166
Dear Supporters,
I've just upgrade to Roundcube 0.8, and I got the following message after logged in, just one second:
Your session is invalid or expired.

And then it log me out.

I have do with:
1. Check system timezone, mysql timezone and Roundcube timezone, it's the same.
2. In php.ini, I set the date.timezone same as System timezone already.
3. In database, I checked and see that Roundcube table "session" does not contain value in column "vars".
The value of Created column: 2012-10-05 23:16:59
The value of Changed column: 2012-10-05 23:17:00

Please help me with this.

Thank you.
 
Just a WAG, but does your local system (not the server) allow cookies?

Jeff
 
yes please. my browser is standard installed. And it's cookies supported.
I tried with Firefox and Chrome already, it does not work.
 
Did you try to reinstall roundcube again:

Code:
cd /usr/local/directadmin/custombuild
./build update
./build clean
./build roundcube d

If it doesnt work truncate the sessions table and also make sure php can write sessions fine.

Also look in the roundcube error log there should be a folder.

Maybe /var/www/roundcube/log or /var/www/roundcube/logs
 
Thanks. I've just update with newest version 0.8.2 now but the problem still there.

I have tried to disable suhosin and it works. I also enable suhosin and set this suhosin.session.cryptdocroot = Off, suhosin.cookie.cryptdocroot = Off but it still log me out :(
 
You might need to set

suhosin.cookie.encrypt=Off
suhosin.session.encrypt=Off

Note, it's just a guess. I had similar issue with those settings enabled, but with another PHP based CMS.
 
You might need to set

suhosin.cookie.encrypt=Off
suhosin.session.encrypt=Off

Note, it's just a guess. I had similar issue with those settings enabled, but with another PHP based CMS.

It works :)

Thank you Alex!
 
Back
Top