Translate

Friday, April 23, 2010

This request cannot be completed becaus the link you followed or the form you submitted was only valid for minutes. (Unable to logout from webmail)

If you are facing the error while logout in horde then don’t worry this is a bug of horde. I am providing you steps to resolve it.

There is a math bug in the Horde.php checkRequestToken, the
paranthesis are missing

cd /var/www/html/horde-webmail-1.2.3/lib/VFS/

edit Horde.php

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

I Have tried it and it works.

Note: If you are using windows operation system then path of the horde.php file is
C:\Inetpub\vhosts\webmail\horde\lib

Thursday, April 22, 2010

How to install Kloxo(Lxadmin)

Kloxo (LXadmin) is the best Control Panel that runs on even low memory VPS’s that has only 128MB memory and there is built in 2 web servers , Apache and Lighttpd.

Following are the step to install kloxo into your VPS

Connect to your server via SSH and run this commands

* cd /home
* mkdir kloxo
* cd kloxo
* wget http://download.lxlabs.com/download/kloxo/production/kloxo-install-master.sh
* sh ./kloxo-install-master.sh

Allow some time for the lxadmin installation to complete.

When the installation is done, open your browser and go to http://a.b.c.d:7778. (where a.b.c.d is IP address of your VPS)
The default username & password to your first login is admin / admin.

About Me

My photo
Greetings Friend! I am Linux scholar, trying to learn as much I can and share it with you. I am in mid of my Professional Career. Doing Good. :)

Followers