[horde] New Install - Cannot autoload Horde Core libraries

L. D. James ljames at apollo3.com
Sun Jun 28 13:39:33 UTC 2015



On 06/28/2015 09:09 AM, Michael J Rubinsky wrote:
>
> Quoting L. D. James <ljames at apollo3.com>:
>
>> I performed a fresh install (numbers of times) using the link 
>> http://www.horde.org/apps/horde/docs/INSTALL under the section, 3.1 
>> Installing with PEAR.
>>
>> Each time I try to access the site I get this error message:
>>
>> Cannot autoload Horde Core libraries. Please reinstall Horde and/or 
>> correctly configure the install paths. If you are using an autoloader 
>> cache, try to clear it.
>>
>> I performed a number of fresh installs using the following options:
>>
>> pear install -a -B horde/horde
>>
>> pear install horde/horde
>>
>> pear install -a horde/horde
>>
>> I can't find in the docs where I'm to go to set the install paths.
>>
>> Thanks in advance for anyone who has insight on how to resolve this 
>> error.
>>
>> The server is Ubuntu 14.04.
>
> Things to check:
>
> Have you installed the Horde/Horde_Role package and run the role script?
>
> Check that your php include_path includes the path that the horde 
> libraries were installed to (you can check what this path is if you 
> don't know by using pear config-show

Thanks, Michael.  I ran the pear prerequisites from the documentation 
(channel-discover pear.horde.org; install horde/horde_role; run-scripts 
horde/horde_role).  I see the problem from your "config-show" 
suggestion.  I'm sure the main culprit is the missing path for the php.ini.

This is my current output from the command:
--------------------------------------------------------------------
config-show
CONFIGURATION (CHANNEL PEAR.PHP.NET):
=====================================
Auto-discover new Channels     auto_discover    <not set>
Default Channel                default_channel  pear.php.net
HTTP Proxy Server Address      http_proxy       <not set>
PEAR server [DEPRECATED]       master_server    pear.php.net
Default Channel Mirror         preferred_mirror pear.php.net
Remote Configuration File      remote_config    <not set>
PEAR executables directory     bin_dir          /opt/pear/local/pear
PEAR documentation directory   doc_dir /opt/pear/local/pear/docs
PHP extension directory        ext_dir /opt/pear/local/pear/ext
Base Horde directory           horde_dir        /var/www/horde
PEAR directory                 php_dir /opt/pear/local/pear/php
PEAR Installer cache directory cache_dir /opt/pear/local/pear/cache
PEAR configuration file        cfg_dir /opt/pear/local/pear/cfg
directory
PEAR data directory            data_dir /opt/pear/local/pear/data
PEAR Installer download        download_dir /opt/pear/local/pear/download
directory
PHP CLI/CGI binary             php_bin          /usr/bin/php
php.ini location               php_ini /etc/php5/apache2/php.ini
--program-prefix passed to     php_prefix       <not set>
PHP's ./configure
--program-suffix passed to     php_suffix       <not set>
PHP's ./configure
PEAR Installer temp directory  temp_dir /opt/pear/local/pear/temp
PEAR test directory            test_dir /opt/pear/local/pear/tests
PEAR www files directory       www_dir /opt/pear/local/pear/www
Cache TimeToLive               cache_ttl        3600
Preferred Package State        preferred_state  stable
Unix file mask                 umask            2
Debug Log Level                verbose          1
PEAR password (for             password         <not set>
maintainers)
Signature Handling Program     sig_bin          /usr/bin/gpg
Signature Key Directory        sig_keydir       /etc/pearkeys
Signature Key Id               sig_keyid        <not set>
Package Signature Type         sig_type         gpg
PEAR username (for             username         <not set>
maintainers)
User Configuration File        Filename /opt/pear/local/pear.conf
System Configuration File      Filename         /etc/pear.conf
--------------------------------------------------------------------

I change:

php_ini from <not set> to  /etc/php5/apache2/php.ini
horde_dir from /usr/share/php/www/horde to /var/www/horde

Do you see anything else that is obvious misconfigured?

I used the (section 3.2) Installing into separte PEAR option, because I 
couldn't get past the pear run-scripts horde/horde_role with the default 
pear install.

-- L. James

-- 
L. D. James
ljames at apollo3.com
www.apollo3.com/~ljames


More information about the horde mailing list