Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Horde logout Error  (Read 6077 times)

0 Members and 1 Guest are viewing this topic.

Varghese

  • Guest
Horde logout Error
« on: March 09, 2015, 07:45:56 pm »
When logout from Horde webmail, it may shows the following error

Code: [Select]
Error : This request cannot be completed because the link you followed or the form you submitted was only valid for minutes. Please try again now.
This issue can be resolved by modifying the following File.

C:\inetpub\vhosts\webmail\horde\lib\horde.php (Drive Letter will depend on where you installed Webmail/Plesk and configured IIS to load virtual hosts from)

Search for ' SESSION['horde_form_secrets'  in the horde.php

Code: [Select]
if ($_SESSION['horde_form_secrets'][$token] +  $GLOBALS['conf']['urls']['token_lifetime'] * 60 < time()) {
return PEAR::raiseError(sprintf(_("This request cannot be completed because the link you followed or the form you submitted was only valid for %s minutes"),  $GLOBALS['conf']['urls']['token_lifetime']));
}

Replace it with:

Code: [Select]
if (($_SESSION['horde_form_secrets'][$token] + $GLOBALS['conf']['urls']['token_lifetime']) * 60 < time()) {
return PEAR::raiseError(sprintf(_("This request cannot be completed because the link you followed or the form you submitted was only valid for %s minutes"), $GLOBALS['conf']['urls']['token_lifetime']));
}


This will resolve the above issue  ;).