[horde] Installing Horde 4 from Pear results in "Autoloader.php not found" error.
Ernie Dunbar
maillist at lightspeed.ca
Fri Apr 29 18:19:53 UTC 2011
>
> Zitat von Ernie Dunbar <maillist at lightspeed.ca>:
>
>> I followed the instructions at
>> http://www.horde.org/apps/horde/docs/INSTALL#installing-with-pear, and
when I get to the part about completing the configuration, ("You can
now log into Horde without a password") I simply get a page with the
following
>> error:
>>
>> Warning: require_once(Horde/Autoloader/Default.php)
>> [function.require-once]: failed to open stream: No such file or directory
>> in /home/webmail/public_html/horde/lib/core.php on line 44
>>
>> Fatal error: require_once() [function.require]: Failed opening required
'Horde/Autoloader/Default.php'
>> (include_path='/home/webmail/public_html/horde/lib:/home/webmail/public_html/horde/pear/php')
in /home/webmail/public_html/horde/lib/core.php on line 44
>>
>> I figured that the Autoloader module isn't installed, but it is.
Running `pear install horde/horde_autoloader` just tells me that
>> horde_autoloader
>> is already installed. Searching the drive with 'locate' tells me that it's
>> in the following paths:
>>
>> /home/horde/backup/pear/PEAR/Autoloader.php
>> /home/horde/public_html/pear/PEAR/Autoloader.php
>> /home/webmail/public_html/horde-1.2.7/pear/php/PEAR/Autoloader.php
/home/webmail/public_html/horde/js/syntaxhighlighter/scripts/shAutoloader.js
/home/webmail/public_html/horde/js/syntaxhighlighter/src/shAutoloader.js
/home/webmail/public_html/horde-old/pear/php/PEAR/Autoloader.php
/home/webmail/public_html/horde/pear/php/PEAR/Autoloader.php
>> /home/webmail/public_html/horde-webmail-1.1.3/pear/PEAR/Autoloader.php
/home/webmail/public_html/horde-webmail-1.2.7/pear/php/PEAR/Autoloader.php
/home/webmail/public_html/horde-webmail-1.2.9/pear/php/PEAR/Autoloader.php
>
> Those are all PEAR's Autoloader, not Horde's. Try "pear list-files
horde/horde_autoloader".
[snip]
Yes, Horde's Autoloader libs appear to be installed too. Just not in the
include_path stated above:
Installed Files For horde/horde_autoloader
==========================================
Type Install Path
php /usr/share/php/Horde/Autoloader/ClassPathMapper/Application.php php
/usr/share/php/Horde/Autoloader/ClassPathMapper/Default.php
php /usr/share/php/Horde/Autoloader/ClassPathMapper/Prefix.php
php /usr/share/php/Horde/Autoloader/ClassPathMapper.php
php /usr/share/php/Horde/Autoloader/Default.php
php /usr/share/php/Horde/Autoloader.php
test
/usr/share/php/tests/Horde_Autoloader/Horde/Autoloader/ClassPathMapper/ApplicationTest.php
test
/usr/share/php/tests/Horde_Autoloader/Horde/Autoloader/ClassPathMapper/DefaultTest.php
test
/usr/share/php/tests/Horde_Autoloader/Horde/Autoloader/ClassPathMapper/PrefixTest.php
test /usr/share/php/tests/Horde_Autoloader/Horde/Autoloader/AllTests.php
test
/usr/share/php/tests/Horde_Autoloader/Horde/Autoloader/AutoloaderTest.php
I believe I asked how to change the include_path? (Gracefully)
More information about the horde
mailing list