[horde] [kronolith] Errors after upgrade to pecl_http 2 / Horde_Http 2.1.1

simon at simonandkate.net simon at simonandkate.net
Fri May 23 15:01:17 UTC 2014


> On 21 May 2014, at 7:55 pm, Simon Wilson <simon at simonandkate.net> wrote:
> 
> 
> Title / email copied from osdir email exchange...
> 
> Original email exchange:
> 
> After the recent upgrades to Horde_Http and pecl_http our users can not add
> attendees to an event in Kronolith. In basic view an empty page is shown
> where the f/b info should be displayed, while dynamic view gives an "Error
> when communicating with the server."
> 
> The Apache (Debian Apache/2.2.22, PHP/5.4.4) log file shows:
> 
> "PHP Fatal error: Undefined constant 'http\\Client\\Curl\\AUTH_ANY' in
> /usr/share/php/Horde/Http/Request/Factory.php on line 29"
> 
> There is no such constant on this line.
> 
> Is this a bug or is my PEAR or pecl installation somehow messed up? Any
> other hints on diagnosing this behaviour?
> 
> Thanks,
> 
> Volker
> 
> --
> Jan Schneider
> 
> My issue:
> Horde 5.1.6, ContOS 6.5, Apache 2.2.15, PHP 5.3.28
> 
> I did a bunch of upgrades yesterday, included the pecl_http upgrade. First of
> all pecl_http would not run at all as it tried to load it before
> json.so, so was failing.
> 
> I fixed that this evening by moving json.so to before http.so in php.ini so that the extensions all load nicely.
> 
> Then my httpd log floods constantly with:
> 
> [Wed May 21 19:36:15 2014] [error] [client 49.181.68.85] PHP Fatal error:  Undefined constant 'http\\Client\\Curl\\AUTH_ANY' in /usr/share/pear/Horde/Http/Request/Factory.php on line 29
> 
> About one per second, constantly. And a bunch of things no longer work
> in Horde (e.g. I tried to go to Configuration / PHPShell page, and
> just got a white page).
> 
> I tried uninstalling / reinstalling pecl_http propro and raphf as
> fixed the issue for Volker, but made no difference here.
> 
> For now the only way I can get functional is to comment out
> extension=http.so in php.ini, which I assume pushes Horde back to Curl...
> 
> Any ideas what is happening?
> 
> Simon
> 
> ***************
> 
> Basic backtrace (line number is plus 1 :
> 
> 2014-05-21T19:44:36+10:00 DEBUG: Backtrace:
> 1. Horde_Rpc_ActiveSync->getResponse() /var/www/horde/rpc.php:156
> 2. Horde_ActiveSync->handleRequest() /usr/share/pear/Horde/Rpc/ActiveSync.php:143
> 3. Horde_ActiveSync_Request_Base->handle() /usr/share/pear/Horde/ActiveSync.php:880
> 4. Horde_ActiveSync_Request_Ping->_handle() /usr/share/pear/Horde/ActiveSync/Request/Base.php:250
> 5. Horde_ActiveSync_Collections->pollForChanges() /usr/share/pear/Horde/ActiveSync/Request/Ping.php:222
> 6. Horde_ActiveSync_Collections->getCollectionChangeCount() /usr/share/pear/Horde/ActiveSync/Collections.php:1074
> 7. Horde_ActiveSync_Collections->getCollectionChanges() /usr/share/pear/Horde/ActiveSync/Collections.php:1259
> 8. Horde_ActiveSync_State_Base->getChanges() /usr/share/pear/Horde/ActiveSync/Collections.php:1223
> 9. Horde_Core_ActiveSync_Driver->getSyncStamp() /usr/share/pear/Horde/ActiveSync/State/Base.php:420
> 10. Horde_Core_ActiveSync_Connector->getHighestModSeq() /usr/share/pear/Horde/Core/ActiveSync/Driver.php:2382
> 11. Horde_Registry_Caller->getHighestModSeq() /usr/share/pear/Horde/Core/ActiveSync/Connector.php:596
> 12. Horde_Registry_Caller->__call() /usr/share/pear/Horde/Core/ActiveSync/Connector.php:596
> 13. Horde_Registry->call() /usr/share/pear/Horde/Registry/Caller.php:41
> 14. Horde_Registry->callByPackage() /usr/share/pear/Horde/Registry.php:1105
> 15. Horde_Registry->pushApp() /usr/share/pear/Horde/Registry.php:1145
> 16. Horde_Registry->callAppMethod() /usr/share/pear/Horde/Registry.php:1601
> 17. call_user_func_array() /usr/share/pear/Horde/Registry.php:1213
> 18. Horde_Registry_Application->init()
> 19. Kronolith_Application->_init() /usr/share/pear/Horde/Registry/Application.php:105
> 20. Kronolith::initialize() /var/www/horde/kronolith/lib/Application.php:86
> 21. Horde_Registry->call() /var/www/horde/kronolith/lib/Kronolith.php:917
> 22. Horde_Registry->callByPackage() /usr/share/pear/Horde/Registry.php:1105
> 23. Horde_Registry->pushApp() /usr/share/pear/Horde/Registry.php:1145
> 24. Horde_Registry->callAppMethod() /usr/share/pear/Horde/Registry.php:1601
> 25. call_user_func_array() /usr/share/pear/Horde/Registry.php:1213
> 26. Horde_Registry_Application->init()
> 27. Turba_Application->_init() /usr/share/pear/Horde/Registry/Application.php:105
> 28. Turba::availableSources() /var/www/horde/turba/lib/Application.php:80
> 29. Horde::loadConfiguration() /var/www/horde/turba/lib/Turba.php:45
> 30. include() /usr/share/pear/Horde.php:356
> 31. Horde_Injector->getInstance() /var/www/horde/turba/config/backends.php:800
> 32. Horde_Injector->createInstance() /usr/share/pear/Horde/Injector.php:258
> 33. Horde_Injector_Binder_Factory->create() /usr/share/pear/Horde/Injector.php:224
> 34. Horde_Core_Factory_Facebook->create() /usr/share/pear/Horde/Injector/Binder/Factory.php:111
> 35. Horde_Core_Factory_HttpClient->create() /usr/share/pear/Horde/Core/Factory/Facebook.php:24
> 36. Horde_Http_Client->__construct() /usr/share/pear/Horde/Core/Factory/HttpClient.php:32
> 37. Horde_Http_Request_Factory->create() /usr/share/pear/Horde/Http/Client.php:98
> 38. Horde::debug() /usr/share/pear/Horde/Http/Request/Factory.php:29
> 
> 
> 
> --
> Simon Wilson
> M: 0400 12 11 16
> <mime-attachment>
> -- 
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org

Any ideas? Should I log a bug report?

Simon


More information about the horde mailing list