Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: samenlia on June 03, 2011, 12:38:38 AM

Title: upgrade to 0.5.2/0.5.3: Your session is invalid or expired
Post by: samenlia on June 03, 2011, 12:38:38 AM
today i upgrage from 0.5.1 to 0.5.2/0.5.3 , got an error:Your session is invalid or expired

i try to reinstall 0.5.3(installer work fine) ,but got the same error. now i has to rollback to 0.5.1.

if anyone solve it?
Title: upgrade to 0.5.2/0.5.3: Your session is invalid or expired
Post by: SKaero on June 03, 2011, 02:17:52 AM
Are there any errors in the error log?
Title: upgrade to 0.5.2/0.5.3: Your session is invalid or expired
Post by: samenlia on June 03, 2011, 04:48:47 AM
in the current 0.5.1 ,the folder logs include .htaccess/userlogins/errors/sendmail  

but in 0.5.3,the folder logs just include .htaccess/userlogins ,no errors log file .
Title: upgrade to 0.5.2/0.5.3: Your session is invalid or expired
Post by: SKaero on June 03, 2011, 07:49:18 AM
So are you just getting "Your session is invalid or expired" every time you login?
Title: upgrade to 0.5.2/0.5.3: Your session is invalid or expired
Post by: samenlia on June 04, 2011, 12:30:47 PM
yes. i try to login with serveral accounts ,but all get the same errors.
Title: upgrade to 0.5.2/0.5.3: Your session is invalid or expired
Post by: egrogg on June 04, 2011, 07:42:35 PM
Quote from: samenlia;35123today i upgrage from 0.5.1 to 0.5.2/0.5.3 , got an error:Your session is invalid or expired

i try to reinstall 0.5.3(installer work fine) ,but got the same error. now i has to rollback to 0.5.1.

if anyone solve it?


I had to change my session time to not expire...set it to "0" (zero)
that worked for me....
Title: upgrade to 0.5.2/0.5.3: Your session is invalid or expired
Post by: egrogg on June 04, 2011, 07:43:44 PM
change your session time to "0" (zero)...not to expire...that worked for me....
Title: upgrade to 0.5.2/0.5.3: Your session is invalid or expired
Post by: samenlia on June 05, 2011, 03:24:46 AM
that's right,i changed in main.inc.php :

$rcmail_config['session_lifetime'] = 10;

===>

$rcmail_config['session_lifetime'] = 0;

and it work.


if this a bug?
Title: change PHP.INI timezone to UTC
Post by: mgrc on June 12, 2011, 05:04:31 PM
After upgrade to 0.5.3, I had same problem, but I didn't want to change 'session_lifetime'

I fixed this on my server by leaving the 'session_lifetime' at the default, but I changed the date.timezone variable in my php.ini from US/Eastern to UTC even though I really am in US/Eastern.

from php.ini ....

[Date]
; Defines the default timezone used by the date functions
;date.timezone = "US/Eastern"
date.timezone = "UTC"
Title: upgrade to 0.5.2/0.5.3: Your session is invalid or expired
Post by: samenlia on June 19, 2011, 11:47:41 AM
my php date.timezone default is  UTC. but roundcube 0.5.2/0.5.3 has this problem.