[horde] Fwd: Re: Unable to Logout Following Latest Updates Today

se comertoglu at itu.edu.tr
Thu Oct 16 13:46:51 UTC 2008


i think, i found whats the problem there some missing '(' and ')'
before "$_SESSION" and before " * 60"

i changed as seen below

if (($_SESSION['horde_form_secrets'][$token] +  
$GLOBALS['conf']['urls']['token_lifetime']) * 60 < time())

problem solved


----- comertoglu at itu.edu.tr tarafından iletilen ileti -----
   Tarih: Thu, 16 Oct 2008 16:31:20 +0300
  Kimden:  comertoglu at itu.edu.tr
    Konu: Fwd: Re: [horde] Unable to Logout Following Latest Updates Today
    Kime: horde at lists.horde.org


I found that the lines below, causes this error,
  in  horde/lib/Horde.php




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

         return true;




Before update that lines were like this;


function checkRequestToken($slug, $token)
     {
         require_once 'Horde/Token.php';
         if (isset($GLOBALS['conf']['token'])) {
             /* If there is a configured token system, set it up. */
             $tokenSource =  
Horde_Token::factory($GLOBALS['conf']['token']['driver'],
                                                  
Horde::getDriverConfig('token', $GLOBALS['conf']['token']['driver']));
         } else {
             /* Default to the file system if no config. */
             $tokenSource = Horde_Token::factory('file');
         }
         if (!$tokenSource->verify($token)) {
             return PEAR::raiseError(_("This form has already been  
processed."));
         }
         if (empty($_SESSION['horde_form_secrets'][$token])) {
             return PEAR::raiseError(_("Required secret is invalid -  
potentially malicious request."));
         }




Should i change something here??





----- comertoglu at itu.edu.tr tarafından iletilen ileti -----
   Tarih: Thu, 16 Oct 2008 15:31:28 +0300
  Kimden:  se <comertoglu at itu.edu.tr>
    Konu: Fwd: Re: [horde] Unable to Logout Following Latest Updates Today
    Kime: horde at lists.horde.org


I had the same problem after upgrading to  horde-3.3 from  
horde-3.3-rc1. (and IMP 4.2)
is there any solution about this?

----- wiskbroom at hotmail.com tarafından iletilen ileti -----
   Tarih: Fri, 12 Sep 2008 09:15:10 -0400
  Kimden:  wiskbroom at hotmail.com
    Konu: Re: [horde] Unable to Logout Following Latest Updates Today
    Kime: horde at lists.horde.org


I was able to logout by going into DIMP, and using that Logout option.

Didn't work in IMP or anywhere else for me.

    Vadim Anatoly Pushkin
-- The Ukranian Stallion --

> From: wiskbroom at hotmail.com
> To: horde at lists.horde.org
> Date: Fri, 12 Sep 2008 09:11:08 -0400
> Subject: [horde] Unable to Logout Following Latest Updates Today
>
>
> Greetings All;
>
> I just ran a cvs update, afterward unable to logout from Horde,  
> receiving the following message:
>
> This request cannot be completed because the link you followed or  
> the form you submitted was only valid for  minutes
>
> Is this happening to anyone else?
>
> Thanks,
>
> .vp
> --
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
--
Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-unsubscribe at lists.horde.org


----- İletilen iletinin sonu -----


----- İletilen iletinin sonu -----


----- İletilen iletinin sonu -----



More information about the horde mailing list