Blog

Plesk Windows Horde This request cannot be completed because the link you followed or the form you submitted was only valid for minutes. Please try again now.

Tags: hordelogoutPleskWindows

Published on: November 17, 2010 by George K.

Plesk Windows Horde This request cannot be completed because the link you followed or the form you submitted was only valid for minutes. Please try again now.

Scenario:

In windows Plesk webmail horde when trying to  logout it would show an error like as below and won’t let you logout as well.

The error is
“This request cannot be completed because the link you followed or the form you submitted was only valid for minutes. Please try again now.”

The possible solution for this issue is,

Edit 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)

And search for section ” SESSION[‘horde_form_secrets’ ” in the Horde.php and instead of

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’]));
}

it should be

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’]));
}

Note the extra braces in red + bold

Category : Plesk, Webmail, Windows

George K.

George K.

George started his career in web hosting and Linux technical support in the year 2004 and is with SupportSages since 2009. He has keen interest in server optimizations, custom security solutions, hacked server recovery, cyber forensic and high availability fail over system design and implementation. George loves long drives and is passionate about art and literature.

You may also read:

Comments

Add new commentSIGN IN

Let's Connect

Get new updates

Categories

$0.000 items