splitbrain / dokuwiki-plugin-sync

Sync DokuWiki namespaces with a remote wiki on request
http://www.dokuwiki.org/plugin:sync
17 stars 17 forks source link

Sync error - parse error. not well formed #30

Closed ayutheos closed 10 years ago

ayutheos commented 10 years ago

I get the error message:

Failed to talk to remote wiki. Make sure the remote wiki 
allows XMLRPC requests and that you set up the 
endpoint URL correctly. parse error. not well formed

Have tried it both with remoteuser and without, and got the same error message.

On Dokuwiki release 2014-05-05 "Ponder Stibbons"

ayutheos commented 10 years ago

Any lead on this?

I'm still getting parse error. not well formed error messages every time I try to select my sync profile. Have tried uninstalling and reinstalling the plugin on the local side.

Updated Dokuwiki to release 2014-05-05a "Ponder Stibbons".

splitbrain commented 10 years ago

Sounds like your remote wiki is spitting out some error outside the XMLRPC. If you have programming experience, try enabling the debugging function of your local Wiki's XMLRPC client (inherited from HTTPClient)

ayutheos commented 10 years ago

Thanks for the quick reply!

I'm afraid I don't know how to do that. I'm using xampp as my localhost.

Syncing worked previously in Binky. Could it be a problem with my remote webserver?

splitbrain commented 10 years ago

yes. your remote answers with something that's not valid XML. no idea what though.

ayutheos commented 10 years ago

If I try to connect to my webserver's xmlprc repeatedly my IP gets temporarily banned (2 hours), in which case I would get the long error message in my first post. Otherwise on the first try (after waiting for 2 hours) I'll get the shorter error message. I'll try to contact support from my web host to see if they're able to help.

splitbrain commented 10 years ago

I just added a debuging option to DokuWiki's HTTPclient. Try updating your local wiki to the latest devel snapshot. Then open the sync plugin and add httpdebug as parameter to the URL and reload. Then slect the sync profile. Oh and first enable the allowdebug option.

ayutheos commented 10 years ago

I get this very loooong log messages (I can't seem to messages paste here...the formatting got mangled)

Imgur

splitbrain commented 10 years ago

the very last box has your problem. your hoster banned the request. contact them.