[wp-hackers] 1.5.1.3 XMLRPC problems

Ryan Boren ryan at boren.nu
Thu Jun 30 18:47:33 GMT 2005


> I get the same error as Peter. I was using an old version of ecto
> (Mac), so I upgraded thinking it would change things. It didn't.
>
>
> On 6/30/05, Peter Westwood <peter.westwood at ftwr.co.uk> wrote:
>>
>> On Thu, June 30, 2005 5:11 pm, Peter Westwood said:
>>
>> >
>> > I'm downloading ecto as I type this. Feedback soon
>> >
>>
>> Image Upload seems to works OK!
>>
>> However Posting didn't!
>> Results:
>> <div id='error'>
>> ...<p class='wpdberror'><strong>WordPress database error:</strong> [You
>> have an error in your SQL syntax.  Check the
>> manual that corresponds to your MySQL server version for the right
>> syntax to use near ')' at line 2]<br />
>> ...<code>
>> ....INSERT INTO wp_post2cat (post_id, category_id)
>> ....VALUES (64, )</code></p>
>> ...</div><?xml version="1.0"?>
>> <methodResponse>
>>   <params>
>>     <param>
>>       <value>
>>         <string>64</string>
>>       </value>
>>     </param>
>>   </params>
>> </methodResponse>
>>
>> Hope this helps
>>
>> westi

Excellent.  That's what I needed.

This version of functions-post.php "should" fix ecto.  Give it a twirl.

http://trac.wordpress.org/file/branches/1.5/wp-includes/functions-post.php?rev=2681&format=txt

Ryan




More information about the wp-hackers mailing list