SyncML: No DTD found for -//SYNCML//DTD

View: New views
7 Messages — Rating Filter:   Alert me  

SyncML: No DTD found for -//SYNCML//DTD

by Simon Brereton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

I have Horde installed, with Imp, Kronolith, etc. (and a fuller list below).  I also have Funambol installed (and working).  My version of Horde is relatively recent (installed about 3 weeks ago via apt-get on Debian) but it's not CVS, which I don't have setup.  I have a /tmp/sync that is writeable as evidenced by the fact that it fills up with files when I'm trying to debug.  PHP error logging (error_log) is on - but no errors are recorded (the file is not even created).

When I attempt to access http://myhordeinstall.myserver.com/rpc.php the following (and only the following) is generated in my horde.log

Oct 28 14:38:39 HORDE [error] [horde] SyncML: No DTD found for -//SYNCML//DTD SyncML 1.2//EN/0 [on line 62 of "/usr/share/horde3/lib/Horde/RPC/syncml_wbxml.php"]

My phone says the session was broken, the server response was not valid.

--
I followed the howto pretty closely but had some issues.  Some I could resolve, some I couldn't - so the issue could be there.

For example - from the wiki..

How to setup a simple SyncML server
::
::Setting up a simple SyncML server using the SyncML package and the Sql backend is as simple as this:
::
::1. Install pear packages for MDB2 and MDB2 database drivers:
::
::pear install MDB2_Driver_mysql MDB2_Driver_mysql

worked

::
::2. Install the SyncML package and the XML_WBXML package from http://pear.horde.org:
::
::pear channel-discover pear.horde.org; pear install --force -c pear.horde.org SyncML XML_WBXML

Didn't work.  I added horde as a channel and re-ran as
        pear install horde/SyncML horde/XML_WBXML
That worked.

::3. If you want to use the Funambol clients, you also need iCalendar, String and NLS:
::
::pear install --force -c pear.horde.org iCalendar String NLS

Same issue.  Reran as
        pear install horde/iCalendar horde/String horde/NLS
iCalendar worked
No releases available for package "pear.horde.org/String"
No releases available for package "pear.horde.org/NLS"
install failed

I tried adding -beta and -alpha to the packages, but no joy.
--


If I try to hit http://myhordeinstall.myserver.com/rpc.php with my phone (a SE C905), nothing appears in /tmp/sync but if I use my browser, then I get the following:

donald:~# ls /tmp/sync/
total 36K
drwxrwxrwx 2 root     www-data 4.0K 2009-10-28 14:38 ./
drwxrwxrwt 8 root     root      20K 2009-10-28 14:56 ../
-rw------- 1 www-data www-data 3.1K 2009-10-28 14:33 syncml_client_0.wbxml
-rw------- 1 www-data www-data 3.1K 2009-10-28 14:38 syncml_client_1.wbxml
-rw------- 1 www-data www-data    1 2009-10-28 14:38 syncml.packetnum
-rw------- 1 www-data www-data    0 2009-10-28 14:33 syncml_server_0.wbxml
-rw------- 1 www-data www-data    0 2009-10-28 14:38 syncml_server_1.wbxml
donald:~#

The browser shows:
<disco:discovery>
<scl:contractRef ref="http://myhordeinstall.myserver.com/rpc.php?wsdl"/>
</disco:discovery>

http://thread.gmane.org/gmane.comp.horde.sync/953/focus=955 seems to report this issue - but it's over 3 years old and so I assume that the issues have been resolved.  (Might not be the best assumption in the world).

Packages installed:
donald:~# dpkg -l | grep -i horde
ii  gollem                    1.0.2-1                              file manager component for horde framework
ii  horde-sam                 0.1-1                                spam module for Horde Framework
ii  horde3                    3.1.3-4etch4                         horde web application framework
ii  imp4                      4.1.3-4                              webmail component for horde framework
ii  ingo1                     1.1.2-1                              email filter component for Horde Framework
ii  kronolith2                2.1.4-1etch1                         calendar component for Horde Framework
ii  mnemo2                    2.1.1-1                              notes/memos component for Horde Framework
ii  nag2                      2.1.2-1                              task list component for Horde Framework
ii  sork-forwards-h3          3.0-1                                autoforward module for Horde Framework
ii  sork-passwd-h3            3.0-2                                Horde3 module for users to change their pass
ii  sork-vacation-h3          3.0-1                                autovacation module for Horde Framework
ii  turba2                    2.1.3-1etch1                         contact management component for horde frame
donald:~#

Please tell me if you need anything else.

Thanks

SPB



 
--
sync mailing list - Join the hunt: http://horde.org/bounties/#sync
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: sync-unsubscribe@...

Re: SyncML: No DTD found for -//SYNCML//DTD

by Jan Schneider :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Zitat von Simon Brereton <simon.brereton@...>:

> I have Horde installed, with Imp, Kronolith, etc. (and a fuller list  
> below).  I also have Funambol installed (and working).  My version  
> of Horde is relatively recent (installed about 3 weeks ago via  
> apt-get on Debian) but it's not CVS, which I don't have setup.

Any versions installed via Debian packages is not recent. Those are  
*badly* outdated, especially regarding SyncML support.
You don't need to install Horde from CVS, just a really recent release  
would do.

Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/

--
sync mailing list - Join the hunt: http://horde.org/bounties/#sync
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: sync-unsubscribe@...

Re: SyncML: No DTD found for -//SYNCML//DTD

by Simon Brereton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> -----Original Message-----
> From: sync-bounces@... [mailto:sync-bounces@...]
> On Behalf Of Jan Schneider
> Sent: Wednesday, October 28, 2009 12:27 PM


> Zitat von Simon Brereton <simon.brereton@...>:
>
> > I have Horde installed, with Imp, Kronolith, etc. (and a fuller list
> > below).  I also have Funambol installed (and working).  My version
> > of Horde is relatively recent (installed about 3 weeks ago via
> > apt-get on Debian) but it's not CVS, which I don't have setup.
>
> Any versions installed via Debian packages is not recent. Those are
> *badly* outdated, especially regarding SyncML support.
> You don't need to install Horde from CVS, just a really recent release
> would do.

Assuming that's the case, why not update the Wiki to indicate that.  I went down the apt-get route for 2 reasons.

:: When I last tried to install Horde, .deb packages didn't exist.
:: My apache/php/pear/mysql installs are all .deb packages for this reason and getting a manual install to play with .deb installs is hellishly complex in my experience.  I gave up because it was several levels above my ability to get it to work.

Perhaps, given the effort I went to to provide a full problem description (and for the benefit of others who may find this thread), you could a) give a short - even really short - description of how I can bring my current install up to date or b) reassurances that manual install to /usr/share/horde3 will function with the .deb installs of php/apache/mysql

I've loved horde as a user for almost 6 years.  Having gotten this installation working - for the most part - I've been fulfilled as an admin.  I appreciate your effort on the code and the quick response, but google hasn't been able to help - it would be nice if you could offer a few more pointers.

Thanks.

SPB


--
sync mailing list - Join the hunt: http://horde.org/bounties/#sync
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: sync-unsubscribe@...

Re: SyncML: No DTD found for -//SYNCML//DTD

by Jan Schneider :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Zitat von Simon Brereton <simon.brereton@...>:

>> -----Original Message-----
>> From: sync-bounces@... [mailto:sync-bounces@...]
>> On Behalf Of Jan Schneider
>> Sent: Wednesday, October 28, 2009 12:27 PM
>
>
>> Zitat von Simon Brereton <simon.brereton@...>:
>>
>> > I have Horde installed, with Imp, Kronolith, etc. (and a fuller list
>> > below).  I also have Funambol installed (and working).  My version
>> > of Horde is relatively recent (installed about 3 weeks ago via
>> > apt-get on Debian) but it's not CVS, which I don't have setup.
>>
>> Any versions installed via Debian packages is not recent. Those are
>> *badly* outdated, especially regarding SyncML support.
>> You don't need to install Horde from CVS, just a really recent release
>> would do.
>
> Assuming that's the case, why not update the Wiki to indicate that.

Which page in the wiki? The one that says "Make sure you have a recent  
(stable or CVS) version of the framework"?

> I went down the apt-get route for 2 reasons.
>
> :: When I last tried to install Horde, .deb packages didn't exist.

We don't provide distribution packages. The distribution maintainers do.n

> :: My apache/php/pear/mysql installs are all .deb packages for this  
> reason and getting a manual install to play with .deb installs is  
> hellishly complex in my experience.  I gave up because it was  
> several levels above my ability to get it to work.

That of course your choice. But then you will have to live with the  
features and bugs of the version that the distribution provides, and  
with the support they can give you for such an old version.
Both reasons are perfectly valid, it's your call what's more important to you.

> Perhaps, given the effort I went to to provide a full problem  
> description (and for the benefit of others who may find this  
> thread), you could a) give a short - even really short - description  
> of how I can bring my current install up to date or b) reassurances  
> that manual install to /usr/share/horde3 will function with the .deb  
> installs of php/apache/mysql

Sure it does, and I don't see a reason why it shouldn't, now or in the  
past. Read docs/UPGRADING for upgrading instructions.

> I've loved horde as a user for almost 6 years.  Having gotten this  
> installation working - for the most part - I've been fulfilled as an  
> admin.  I appreciate your effort on the code and the quick response,  
> but google hasn't been able to help - it would be nice if you could  
> offer a few more pointers.
>
> Thanks.
>
> SPB
>
>
> --
> sync mailing list - Join the hunt: http://horde.org/bounties/#sync
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: sync-unsubscribe@...
>



Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/

--
sync mailing list - Join the hunt: http://horde.org/bounties/#sync
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: sync-unsubscribe@...

Re: SyncML: No DTD found for -//SYNCML//DTD

by Simon Brereton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> -----Original Message-----
> From: sync-bounces@... [mailto:sync-bounces@...]
> On Behalf Of Jan Schneider

> >> Any versions installed via Debian packages is not recent. Those are
> >> *badly* outdated, especially regarding SyncML support.
> >> You don't need to install Horde from CVS, just a really recent
> release
> >> would do.
> >
> > Assuming that's the case, why not update the Wiki to indicate that.
>
> Which page in the wiki? The one that says "Make sure you have a recent
> (stable or CVS) version of the framework"?

Frankly, it wouldn't hurt to point out in that remark that the Debian packages are out-dated and that posters with issues shouldn't expect support for them.  You know they are out of date.  We users don't necessarily.

> > I went down the apt-get route for 2 reasons.
> >
> > :: When I last tried to install Horde, .deb packages didn't exist.
>
> We don't provide distribution packages. The distribution maintainers
> do.n

I'm aware of that.  But having them provide outdated packages can't help you.  So it's in your interests to point this out.


> > Perhaps, given the effort I went to to provide a full problem
> > description (and for the benefit of others who may find this
> > thread), you could a) give a short - even really short - description
> > of how I can bring my current install up to date or b) reassurances
> > that manual install to /usr/share/horde3 will function with the .deb
> > installs of php/apache/mysql
>
> Sure it does, and I don't see a reason why it shouldn't, now or in the
> past. Read docs/UPGRADING for upgrading instructions.

Regardless of my progress on this, I still can't find the NLS and String pear packages in the pear.horde.org channel that you assert are required for Funambol clients to work.  Your assistance on that at least would be appreciated.


3. If you want to use the Funambol clients, you also need iCalendar, String and NLS:

pear install --force -c pear.horde.org iCalendar String NLS

Thanks.

SPB
 
--
sync mailing list - Join the hunt: http://horde.org/bounties/#sync
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: sync-unsubscribe@...

Re: SyncML: No DTD found for -//SYNCML//DTD

by Jan Schneider :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Zitat von Simon Brereton <simon.brereton@...>:

>> > Perhaps, given the effort I went to to provide a full problem
>> > description (and for the benefit of others who may find this
>> > thread), you could a) give a short - even really short - description
>> > of how I can bring my current install up to date or b) reassurances
>> > that manual install to /usr/share/horde3 will function with the .deb
>> > installs of php/apache/mysql
>>
>> Sure it does, and I don't see a reason why it shouldn't, now or in the
>> past. Read docs/UPGRADING for upgrading instructions.
>
> Regardless of my progress on this, I still can't find the NLS and  
> String pear packages in the pear.horde.org channel that you assert  
> are required for Funambol clients to work.  Your assistance on that  
> at least would be appreciated.
>
>
> 3. If you want to use the Funambol clients, you also need iCalendar,  
> String and NLS:
>
> pear install --force -c pear.horde.org iCalendar String NLS

This is not necessary. That entry was a misleading user contribution  
to the wiki. I cleaned up the SyncHowTo page a bit, so it should be  
more clearer now.

Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/

--
sync mailing list - Join the hunt: http://horde.org/bounties/#sync
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: sync-unsubscribe@...

Re: SyncML: No DTD found for -//SYNCML//DTD

by Simon Brereton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> -----Original Message-----
> From: sync-bounces@... [mailto:sync-bounces@...]
> On Behalf Of Jan Schneider
> Sent: Friday, October 30, 2009 5:16 AM


> > Regardless of my progress on this, I still can't find the NLS and
> > String pear packages in the pear.horde.org channel that you assert
> > are required for Funambol clients to work.  Your assistance on that
> > at least would be appreciated.
> >
> >
> > 3. If you want to use the Funambol clients, you also need iCalendar,
> > String and NLS:
> >
> > pear install --force -c pear.horde.org iCalendar String NLS
>
> This is not necessary. That entry was a misleading user contribution
> to the wiki. I cleaned up the SyncHowTo page a bit, so it should be
> more clearer now.

Okay.  Thanks!

I've reinstalled from source (though my horde version is still showing 3.1.4 disconcertingly and when hitting rpc.php nothing shows up in the logs at all but I'll work on it and start a new thread with other issues).

SPB.
--
sync mailing list - Join the hunt: http://horde.org/bounties/#sync
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: sync-unsubscribe@...