[dev] Re: [sync] Problem with RPC

Chuck Hagenbuch chuck at horde.org
Sat Dec 13 19:31:38 PST 2003


Quoting Anthony Mills <amills at gascard.net>:

> My php version is 4.3.3.  I can work with you got, I just can't seem to
> get that far.

Urg. Alright, I have a theory on this. In lib/core.php, we do:

include_once HORDE_LIBS . 'Horde/String.php';

In XML/WBXML/Encoder.php, we rely on the charset conversion in the string lib,
so we do:

include_once 'Horde/String.php';

My guess is that PHP on your system isn't seeing those as the same file. The
problem is that as a general library without non-packaged Horde dependancies,
XML_WBXML shouldn't be using HORDE_LIBS.

So, I'm not sure how to solve this. You can test the theory by using
include_once HORDE_LIBS . 'Horde/String.php' in your copy of Encoder.php.

Thoughts/confirmation/disprovings?

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
"I'm really... I'm not too fascinated by green food." - Average Joe


More information about the dev mailing list