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

Jan Schneider jan at horde.org
Wed May 7 10:59:01 UTC 2014


Zitat von Volker Schmidts <vsz at punk.oc.chemie.tu-darmstadt.de>:

> Jan Schneider <jan <at> horde.org> writes:
>
>>
>>
>> Zitat von Volker Schmidts <vsz <at> punk.oc.chemie.tu-darmstadt.de>:
>>
>> > 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.
>>
>
> I see that. But as I understand it, that line creates a new
> Horde_Http_Request_* object, which fails somewhere along the way.
>
> In Horde/Http/Request/Peclhttp2.php the authentication schemes are defined
> using single backslashes, while the error above shows double backslashes and
> miss the leading backslash, so maybe a problem with escaping these glyphs?
>
> I'll try the new Kronolith alpha and see if the problem persists.

Kronolith doesn't have anything to do with this.

The error is completely off, sounds to me like a broken PHP version.  
It's probably triggered from autoloading the class file by running the  
object constructor on that line. That still doesn't make the location  
in the error message correct. Not sure about the constant path either,  
since we don't use it that way, so again, maybe some broken PHP.
The constant that we use is actually \http\Client\Curl\AUTH_ANY which  
must exist if you have the HTTP extension 2.* installed.

-- 
Jan Schneider
The Horde Project
http://www.horde.org/
https://www.facebook.com/hordeproject



More information about the kronolith mailing list