Horde Webmail Edition install script

Yes, of course it is.

(Lots of words to meet the minimum posting requirements)

Jeff
 
Yes, of course it is.

(Lots of words to meet the minimum posting requirements)

Jeff

That was what I thought, but I am still very green on a lot of this and one thing I learned a long time ago is that 90% of being smart is knowing what you are dumb at.

With all that being said, I had attempted to run the install scripts for horde and the first one for the php would be kicking back;


Code:
/usr/local/directadmin/custombuild/configure/ap2/configure.php5: line 30: --with-imap=/usr/local/imap-libs: No such file or directory

*** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file

and then to add insult to injury, when I would go to restart apache, that was not happening..... had to run ./build rewrite_confs to fix that and needless say I am back to square one.
 
Code:
/usr/local/directadmin/custombuild/configure/ap2/configure.php5: line 30: --with-imap=/usr/local/imap-libs: No such file or directory

*** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file
You should have something like this in your configure.php5

Code:
        '--with-imap=/usr/local/imap-2004c1' \
        '--with-imap-ssl=/usr/local/imap-2004c1' \
 
Also if you want to modify "configure/ap2/configure.php5" remember that you have to copy it to "custom/ap2/configure.php5" before, because "configure/ap2/configure.php5" is overwritten when you run the CustomBuild update routine.
 
hi there !

We installed perfect on centos 5 with php 5.2.9 except for one thing. when we try to logout on the webmail we got this message

Any idea ??

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


Thanks ! an great job !!
 
Horde Vacation

How do I install the vacation message for horde and get it working? I tried extracting it how they say on the horde website. It is detected, but I do not know how to configure it.
 
hi there !

We installed perfect on centos 5 with php 5.2.9 except for one thing. when we try to logout on the webmail we got this message

Any idea ??

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


Thanks ! an great job !!

???? Have you fix it ?
 
solution

Found this on another site.

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

Have tried it and it works.
 
Which way should be the proper/correct/better way to install Horde at the moment?

Using smtalk's script or fusion's methods?
 
Actually this string is found in cd /var/www/html/horde-webmail-1.2.3/lib/Horde.php

as there is no Horde.php in the VFS directory.

Found this on another site.

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

Have tried it and it works.
 
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']));
}

Have tried it and it works.

nano -w /var/www/html/horde/lib/Horde.php

edit Horde.php

the suggested fix is almost correct - here is the correct line with 3 opening brackets at the beginning instead of 2

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']));
}
 
Last edited:
Tried this and got the following


Parse error: syntax error, unexpected '{' in /var/www/html/horde-webmail-1.2.9/lib/Horde.php on line 340


Guess i gotta play with it a little


Chris
 
Hi
I have a problem...when I use sh horde_imap_support.sh
& sh horde_install/horde_install.sh nothing happened!
I gave this message & script can't continue...
Downloading to /tmp/imap.tar.Z
&
Downloading to /tmp/horde.tar.gz

what can I do?
 
?

# sh horde_install.sh
Downloading to /tmp/horde.tar.gz
~~~download failed! Install wget or change DOWNLOADER in this sh script

?
 
is this still the best method for installing Horde webmail? i had this on my cpanel box and loved the extra features like calendar.
 
I use many of tham since a lot of time and they work pretty well. Actually, the calendard one is free as far as i remember, it become a paid one if you take the calendar_plus and if you need caldav or external calendar possibility :)

Regards
 
Back
Top