[imp] Installing IMP on Horde
Kevjs
kevjs1982 at yahoo.co.uk
Thu Aug 18 03:55:31 PDT 2005
I've just downloaded and installed Horde (version details below)
Horde is located in /var/www/html/horde/
IMP is located in /var/www/html/horde/imp/
/var/www/html/horde/config/registry.php contains :-
$this->applications['imp'] = array(
'fileroot' => dirname(__FILE__) . '/../imp',
'webroot' => $this->applications['horde']['webroot'] . '/imp',
'name' => _("Mail"),
'status' => 'active',
'provides' => 'mail',
);
which if i read it correctly means that imp should be located where I
have it?
However when i move the imp folder to /var/www/html/horde/imp/ i get the
following error message displayed in the left hand navigation bar when i
visit http://localhost/horde/
--------------------------------------------------------------------------
Warning:
main(/var/www/html/horde/services/portal/../../lib/Browser.php): failed
to open stream: No such file or directory in
/var/www/html/horde/imp/lib/base.php on line 33
--------------------------------------------------------------------------
Which one would expect as it should be reffering to:
/var/www/html/horde/services/portal/../../imp/lib/Browser.php
Note the imp ^^^^
Is the correct way to resolve this is to move the contents of imp/lib to
lib or is there another method that should be done?
One thing i have noticed is that /var/www/html/horde/imp/lib/base.php
contains
// Find the base file path of Horde
@define('HORDE_BASE', dirname(__FILE__) . '/../..');
// Find the base file path of IMP
@define('IMP_BASE', dirname(__FILE__) . '/..');
which I would expect to refer to
/var/www/html/horde/
and
/var/www/html/horde/imp/
respectivly. However if you echo these values out you get
/var/www/html/horde/services/portal/../..
/var/www/html/horde/imp/lib/..
Additionally if you comment out the define statements, or change them to
the paths I would expect you get exactly the same values.
Additionally http://localhost/horde/imp/ returns :-
Some of IMP's configuration files are missing:
html.php This file controls the stylesheet that is used to set
colors and fonts in addition to or overriding Horde defaults.
mime_drivers.php This file controls local MIME drivers for IMP,
specifically what kinds of attachments are viewable and/or downloadable.
prefs.php This file controls the default preferences for IMP, and
also controls which preferences users can alter.
servers.php This file controls the default settings for IMP, and
also defines the list
I'm guessing this may be related?
If I issue the command
mv /var/www/html/horde/imp/ /var/www/html/horde/kev_imp/
then the main horde panel starts working correctly, but naturally it
doesn't have a clue about imp.
Thanks in advance for any help resolving this issue.
VERSION DETAILS
===============
Server is the Apache2 one that comes with Mandrake 10.2/Mandriva 2005LE,
according to rpmdrake this is 2.0.53-9mdk
Horde Version : Horde: 3.0.5
Horde Applications : Horde: 3.0.5
PHP Version: 4.3.10
PHP Version Classification: release
The tar files used were :
-rw-r--r-- 1 root root 3549687 Aug 17 14:20 horde-3.0.5.tar.gz
-rw-r--r-- 1 root root 1587465 Aug 17 14:20 imp-3.2.8.tar.gz
-rw-r--r-- 1 root root 675796 Aug 17 14:19 pear-1.3.tar.gz
All the statuses in /horde/test.php show "yes" except :
MIME Magic Support (fileinfo): No
The fileinfo PECL module or the mime_magic PHP extension (see below)
will most likely provide faster MIME Magic lookups than the built-in
Horde PHP magic code. See horde/docs/INSTALL for information on how to
install PECL/PHP extensions.
(In this case i have tried 'urpmi php-mime_magic' and get "The
package(s) are already installed")
and
memory_limit disabled: No
If PHP's internal memory limit is turned on and if not set high enough
Horde will not be able to handle large data items (e.g. large mail
attachments in IMP). If possible, you should disable the PHP memory
limit by recompiling PHP without the "--enable-memory-limit" flag. If
this is not possible, then you should set the value of memory_limit in
php.ini to a sufficiently high value (Current value of memory_limit: 8M).
(8M is a sufficient limit as we already restrict users to 3M attachments
in the current email system)**
___________________________________________________________
How much free photo storage do you get? Store your holiday
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
More information about the imp
mailing list