[horde] Horde_ErrorHandler errors

Jan Schneider jan at horde.org
Wed Oct 31 19:57:56 UTC 2012


Zitat von "Stuart C. Naifeh" <scnaifeh at hotmail.com>:

> When I log in to a freshly installed Horde 5 system, I'm get a lot of the
> following errors in my apache error log:
>
>
> PHP Warning:  Invalid callback Horde_ErrorHandler::errorHandler, class
> 'Horde_ErrorHandler' not found in /usr/share/php/PEAR/Config.php on line
> 2038, referer: https://mail.myserver.com/login.php
>
> I get about 12 of these when I first login, and then they stop. They
> originate from various points in /usr/share/php/PEAR/Config.php or
> /usr/share/php/PEAR/Registry.php, but although the source of the error
> changes, the stack trace always looks like this:
>
> 1. {main}() /srv/horde/imp/index.php:0
> 2. Horde_Registry::appInit() /srv/horde/imp/index.php:18
> 3. Horde_Registry->pushApp() /usr/share/php/Horde/Registry.php:249
> 4. Horde_Core_LoginTasks->runTasks() /usr/share/php/Horde/Registry.php:1558
> 5. Horde_Core_LoginTasks->runTasks()
> /usr/share/php/Horde/Core/LoginTasks.php:45
> 6. Horde_LoginTasks->runTasks() /usr/share/php/Horde/Core/LoginTasks.php:48
> 7. Horde_LoginTasks_Task_AdminCheck->execute()
> /usr/share/php/Horde/LoginTasks.php:211
> 8. Horde_Core_Db_Migration->__construct()
> /srv/horde/lib/LoginTasks/Task/AdminCheck.php:61
> 9. Horde_Autoloader->loadClass() /usr/share/php/Horde/Autoloader.php:0
> 10. Horde_Autoloader->_include() /usr/share/php/Horde/Autoloader.php:21
>
> and sometimes:
>
> 11. include() /usr/share/php/Horde/Autoloader.php:76
>
> Obviously from the stack trace, this is when logging in as an admin user.
> If I login as a normal user, I only get the error only once, and the origin
> is /usr/share/php/Services/Weather.php, with the following stack trace:
>
> 1. {main}() /srv/horde/services/portal/index.php:0
> 2. Horde_Core_Factory_BlockCollection->create()
> /srv/horde/services/portal/index.php:31
> 3. Horde_Core_Block_Collection->__construct()
> /usr/share/php/Horde/Core/Factory/BlockCollection.php:61
> 4. Horde_Block_Metar->__construct()
> /usr/share/php/Horde/Core/Block/Collection.php:45
> 5. class_exists() /srv/horde/lib/Block/Metar.php:21
> 6. Horde_Autoloader->loadClass() /usr/share/php/Horde/Autoloader.php:0
> 7. Horde_Autoloader->_include() /usr/share/php/Horde/Autoloader.php:21
>
> Did I do something wrong in configuring the system?

Yes. Though during installation, not configuration. Read INSTALL  
again. And don't use a separate PEAR unless you know you need to.
-- 
Jan Schneider
The Horde Project
http://www.horde.org/



More information about the horde mailing list