Re: [pLog-General] XMLRPC Plugin and WBloggar
Brought to you by:
jondaley
From: Oscar R. <os...@re...> - 2003-11-24 12:20:45
|
> error occures in articles.class.php i think, > where are two ways, a "False" can be returned .. > line 276 and line 283, > > in 276 returns false, if he cant insert, > in 283 if he cant select, This is due to my inability sometimes to read the docs... Line 276 is an insert and line 283 tries to fetch the id of the last inserted row. The second one is useless because there is a method in ADOdb to get the id of the last inserted row after an INSERT statement. Debugging XMLRPC is pain... We should find an easier way to do it. How about using ob_start() and ob_end in the xmlrpc.php script and then simply get the contents of the output buffer and dump them to a text file? This way we could still use the old and reliable print(...) method, or even the _debug method (available in the debug.php file), which will tell you the name of the script file debugging, including the line number. Just an idea :) Oscar. |