Author Topic: upgrade to 0.5.2/0.5.3: Your session is invalid or expired  (Read 5124 times)

Offline samenlia

  • Newbie
  • *
  • Posts: 9
upgrade to 0.5.2/0.5.3: Your session is invalid or expired
« 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?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
upgrade to 0.5.2/0.5.3: Your session is invalid or expired
« Reply #1 on: June 03, 2011, 02:17:52 AM »
Are there any errors in the error log?

Offline samenlia

  • Newbie
  • *
  • Posts: 9
upgrade to 0.5.2/0.5.3: Your session is invalid or expired
« Reply #2 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 .

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
upgrade to 0.5.2/0.5.3: Your session is invalid or expired
« Reply #3 on: June 03, 2011, 07:49:18 AM »
So are you just getting "Your session is invalid or expired" every time you login?

Offline samenlia

  • Newbie
  • *
  • Posts: 9
upgrade to 0.5.2/0.5.3: Your session is invalid or expired
« Reply #4 on: June 04, 2011, 12:30:47 PM »
yes. i try to login with serveral accounts ,but all get the same errors.

Offline egrogg

  • Jr. Member
  • **
  • Posts: 12
upgrade to 0.5.2/0.5.3: Your session is invalid or expired
« Reply #5 on: June 04, 2011, 07:42:35 PM »
Quote from: samenlia;35123
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?



I had to change my session time to not expire...set it to "0" (zero)
that worked for me....

Offline egrogg

  • Jr. Member
  • **
  • Posts: 12
upgrade to 0.5.2/0.5.3: Your session is invalid or expired
« Reply #6 on: June 04, 2011, 07:43:44 PM »
change your session time to "0" (zero)...not to expire...that worked for me....

Offline samenlia

  • Newbie
  • *
  • Posts: 9
upgrade to 0.5.2/0.5.3: Your session is invalid or expired
« Reply #7 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?

Offline mgrc

  • Newbie
  • *
  • Posts: 1
change PHP.INI timezone to UTC
« Reply #8 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"

Offline samenlia

  • Newbie
  • *
  • Posts: 9
upgrade to 0.5.2/0.5.3: Your session is invalid or expired
« Reply #9 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.