raecosia / myroundcube

Automatically exported from code.google.com/p/myroundcube
0 stars 0 forks source link

[calendar] when logout Roundcube, message Your session has expired or is invalid appears #813

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Token: be9b746f154ea9ba13260fbe2578444a (Don't modify this token!)
Version: 21.0.12 (14-04-2015)
PHP: 5.5.21
RCMAIL: 1.1.1
Database: pgsql
SERVER: Apache
----
I.  Issue Description: when logout Roundcube, message Your session has expired 
or is invalid appears. When disable calendar plugin, everything is ok.

II. Steps to reproduce the Issue:
1.
2.
3.

Original issue reported on code.google.com by l.de.bak...@home.nl on 24 Apr 2015 at 9:01

GoogleCodeExporter commented 8 years ago
Anything in your logs? Errors are logged.

Original comment by myroundc...@gmail.com on 24 Apr 2015 at 12:06

GoogleCodeExporter commented 8 years ago
My userlogins log file show no errors but my session log file shows: 
[25-Apr-2015 12:43:46 +0200]: <ctmhju8p> Aborted session 
ctmhju8pi950u9dhk444ufc2d0; no valid session data found
After some testing I found a workaround by editing the file: calendar_core.php 
and removing lines 120, 121 and 121 -> if ($this->rc->user->ID && 
method_exists($this->rc->output, 'add_script') && !get_input_value('_minical', 
RCUBE_INPUT_GPC) && !isset($_SESSION['preinstalled_calendars'])) {
        $this->rc->output->add_script('var lock = rcmail.set_busy(true, "loading"); rcmail.http_post("calendar/preinstalled", "", lock);', 'docready');
      }

I don't know this is the correct solution, maybe there is a better solution.

Regards,

Original comment by l.de.bak...@home.nl on 25 Apr 2015 at 10:53

GoogleCodeExporter commented 8 years ago
Any update?

Original comment by l.de.bak...@home.nl on 3 May 2015 at 1:36

GoogleCodeExporter commented 8 years ago
Should be fixed by latest release. If issue persists please re-open ticket. I 
never was able to duplicate the issue.

Original comment by myroundc...@gmail.com on 6 May 2015 at 6:34