[sync] Re: SyncML update

Anthony Mills amills at gascard.net
Sat Jan 31 01:12:58 PST 2004


Try:
pear install Log

from a command prompt.

You will need to run 'pear install *' for many packages.  Also, use 
http://192.168.1.254/horde-cvs/horde/test.php.  It will you setup horde.

Anthony

Johny wrote:
> Ta mate, I've just upgraded my dev server to RH9, got the latest version 
> of PEAR onto it and at last I got the framework 'install-packages.php' 
> to work :)'
> 
> Running with the very latest code from CVS for both framework and horde 
> I get the following error which I think is a tad too fundamental for me 
> to figure out, basically it seems Log.php has gone amiss?
> 
> I had a look using chora in the repository and couldn't find it, also 
> had a look in the PEAR and horde dirs but couldn't find a copy...
> 
> Any advice?
> 
> :)Johny
> 
> URL (with Firebird for testing purposes);
> http://192.168.1.254/horde-cvs/horde/rpc.php
> 
> Returns;
> Warning: Failed opening 'Log.php' for inclusion 
> (include_path='.:/usr/share/pear') in 
> /var/www/html/horde-cvs/horde/lib/Horde.php on line 3
> 
> Notice: Use of undefined constant PEAR_LOG_DEBUG - assumed 
> 'PEAR_LOG_DEBUG' in /var/www/html/horde-cvs/horde/lib/Registry.php on 
> line 637
> 
> Fatal error: Undefined class name 'log' in 
> /var/www/html/horde-cvs/horde/lib/Horde.php on line 74
> 
> 
> Anthony Mills wrote:
> 
>> I checked in all my code.  It should do two things, if you put an 
>> invalid password (the authentication uses horde now) it should send a 
>> packet back telling you so.  If you send a valid password, it should 
>> send some content back (this may not work).  Right now there is a 
>> problem with Encoder from XML_WBXML, I don't know if your phone has to 
>> have WBXML, if it does you can check out libwbxml and use it's 
>> wbxml2xml and xml2wbxml utilities to test the packets, they get stored 
>> in '/tmp/syncml' by default.  I suspect the WBXML code is messing up 
>> on the switch between URIs.  If you get stuck, email me, I'll be happy 
>> and able (that is if I'm not sleeping) to point you in the right 
>> direction.  I have too much work this week to mess with code, but 
>> email is doable.  I can even irc for short periods if that would help.
>>
>> Thanks for your help,
>>
>> Anthony
>>
>> PS I updated encode-decode.phpt in XML_WBXML/tests, unfortunately it 
>> works, but wbxml2xml does not.
>>
>> Johny wrote:
>>
>>> Anthony,
>>>
>>> I'll have time to have a look again this weekend, testing from my 
>>> phone, so if you check stuff in I'll be happy to test :)
>>>
>>> I did have some funny errors last time I tried, didn't get time to 
>>> check them out properly, but will do so this time round and report.
>>>
>>> I'm ahead of you (most likely, I'm in Oz), so if you have a chance at 
>>> checking in something which works I'm happy to check it out from CVS 
>>> and test. Just email the list and I'll get it :)
>>>
>>> Cheers!
>>>
>>> :)Johny
>>>
>>> Anthony Mills wrote:
>>>
>>>> I just wanted to let everyone know I did not fall off the face of 
>>>> the earth, I just found a bug.  It seems that my WBXML encoder does 
>>>> not work.  I am using the wbxml2xml (from libwbxml) tool to test 
>>>> with.  It fails with a cryptic message.  I got the server to accept 
>>>> the username and password, which is good, but I can't send a valid 
>>>> response back. When I finish this we should be back on track.  I'm 
>>>> going to try to check in everything I have  so some one can take a 
>>>> look at if they want.
>>>>
>>>> Thanks,
>>>>
>>>> Anthony
>>>>
>>>
>>
> 



More information about the sync mailing list