[horde] Horde_ErrorHandler errors

Jan Schneider jan at horde.org
Mon Nov 5 11:41:26 UTC 2012


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

> Any other ideas? I don't see anything helpful in INSTALL, as I didn't
> install into a separate pear.  Is there anything in horde that assumes your
> webroot is /var/www? I grep-ed /var/www, and found it in
> horde/lib/tests/webroot.phpt and in several scripts in
> /usr/share/php/data/horde/scripts, but I don't know if those are the
> culprit.  My webroot is on /srv.
>
>
> On Wed, Oct 31, 2012 at 4:07 PM, Stuart C. Naifeh  
> <scnaifeh at hotmail.com>wrote:
>
>> I didn't use a separate pear (at least not intentionally).
>>
>>
>> On Wed, Oct 31, 2012 at 3:57 PM, Jan Schneider <jan at horde.org> wrote:
>>
>>>
>>> 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<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/
>>>
>>>
>>> --
>>> Horde mailing list
>>> Frequently Asked Questions: http://horde.org/faq/
>>> To unsubscribe, mail:  
>>> horde-unsubscribe at lists.horde.**org<horde-unsubscribe at lists.horde.org>
>>>
>>>
>>

You have an old Horde version in your PHP's include_path.
-- 
Jan Schneider
The Horde Project
http://www.horde.org/



More information about the horde mailing list