Windows > Plesk

Horde logout Error

(1/1)

Varghese:
When logout from Horde webmail, it may shows the following error


--- Code: --- 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.
--- End code ---

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: ---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']));
}
--- End code ---

Replace it with:


--- Code: ---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']));
}
--- End code ---


This will resolve the above issue  ;).

Navigation

[0] Message Index

Go to full version