[horde] Separated PEAR installation

Michael J Rubinsky mrubinsk at horde.org
Sun May 8 17:50:02 UTC 2011


Robert Lemoine <advil4004 at gmail.com> wrote:

>Hi,
>
>I've done 2 PEAR installation of Horde:
>
>
>   1. normal PEAR installation
>2. separate PEAR installation (pear is a sub-directory of my «horde»
>root
>   directory)
>
>With the first one, all works perfectely.
>With the second one I face a database handling problem once the horde
>installation is ended. When I click to the button «Generate Horde
>Configuration» in the Database tab I get an error message like that:
>
>QUERY FAILED: Table 'horde.horde_alarms' doesn't exist SELECT.....
>Moreover when I select Administration -> Configuration only this is
>displayed:
>
>======================================
>Application   Database   Statut
>Horde (horde) 4.0.2 L'application est prête.
>
>======================================
>
>Instead of:
>
>======================================
>Application   Database   Statut
>Horde (horde) 4.0.2 L'application est prête.
>Horde_Activesync DB schema is ready.
>Horde_Alarm DB schema is ready.
>Horde_Auth DB schema is ready.
>Horde_Cache DB schema is ready.
>Horde_Core DB schema is ready.
>Horde_Group DB schema is ready.
>Horde_History DB schema is ready.
>Horde_Lock DB schema is ready.
>Horde_Perms DB schema is ready.
>Horde_Prefs DB schema is ready.
>Horde_Sessionhandler DB schema is ready.
>Horde_Syncml DB schema is ready.
>Horde_Token DB schema is ready.
>Horde_Vfs DB schema is ready.
>
>
>
>
>
>======================================
>
>
>
>The value of include_path is «include_path =
>".:/usr/share/php:/usr/local/www/linuxorable/horde/pear/php"» in
>/etc/php5/apache2/php.ini (Debian squeeze)
>
>Any help is welcome.
>
>Pascal
>-- 
>Horde mailing list
>Frequently Asked Questions: http://horde.org/faq/
>To unsubscribe, mail: horde-unsubscribe at lists.horde.org

I can think of two things:

1. You didn't set the env variable PHP_PEAR_SYSCONF_DIR as described in the INSTALL file

2. I had a similar issue while we were first moving to PEAR. In certain webserver configs (such as when you restart the lighttpd server) the webserver runs as the correct user, but when using PEAR looks for a .pear config file in the user's home directory who initiated the server restart. This will potentially cause problems by overwriting various paths.  I had to remove this file to resolve the issue.

HTH
--
Mike
Sent from mobile


More information about the horde mailing list