Recent Topics

1 Feb 20, 2007 18:58    

My b2evolution Version: 1.9.x

Hi everyone,

I've been using the BlogDesk client to post to my b2evo-1.8 blog via the MetaWeblog API. Everything is ok.

I have another web-site, where I installed b2evo-1.9.2. I configured BlogDesk for use with this blog, but there are some problems with how it works.

This is what I have:
[list]

  • The post is created

  • The category is correct

  • The post title is correct

  • The body of the post is blank

  • I tried switching to the MovableType API, the result is the same.

  • I use BlogDesk's logging mode to check out which data are sent to the server (in both cases, i.e. the old blog and the new blog) the requests are of the same form

  • I replaced xmlrpc.php of 1.9.x with that of 1.8.x - the problem persists

  • Finally, I posted to the blog using w.Bloggar (another offline blog client) and the post showed up fine

  • [/list:u]

    At this point I have no clue what to do. On one hand I can conclude it is BlogDesk's problem, because w.Bloggar works fine. On the other, there is something wrong with the XMLRPC mechanism, because BlogDesk's logs show that in each case the requests are formed in the same way. And on the third hand :-) It may be something in b2evo itself, since using the old xmlrpc.php did not help.

    Can someone provide any tips regarding the resolution of this problem?

    2 Nov 09, 2007 12:00

    There are no responses for a long time, so I'm going to post some new stuff I managed to find out in the meantime.

    I have updated to 1.10.2; this is what the XMLRPC client sends to the server

    
    >> POST /xmlsrv/xmlrpc.php HTTP/1.1
    >> Content-Type: text/xml
    >> User-Agent: BlogDesk
    >> Host: railean.net
    >> Content-Length: 1555
    >> Cache-Control: no-cache
    >> Cookie: cookieb2evosession=77161_sfRghODNd67UoJsKTC9u5tozWdQjxqhr
    >> 

    
    >> <?xml version="1.0" encoding="ISO-8859-1"?>
    >> <methodCall>
    >>   <methodName>metaWeblog.newPost</methodName>
    >>   <params>
    >>     <param>
    >>       <value>
    >>         <string>2</string>
    >>       </value>
    >>     </param>
    >>     <param>
    >>       <value>
    >>         <string>gr8dude</string>
    >>       </value>
    >>     </param>
    >>     <param>
    >>       <value>
    >>         <string>my-password</string>
    >>       </value>
    >>     </param>
    >>     <param>
    >>       <value>
    >>         <struct>
    >>           <member>
    >>             <name>title</name>
    >>             <value>
    >>               <string>test-title</string>
    >>             </value>
    >>           </member>
    >>           <member>
    >>             <name>description</name>
    >>             <value>
    >>               <string>test-body ISO-8859-1</string>
    >>             </value>
    >>           </member>
    >>           <member>
    >>             <name>mt_allow_comments</name>
    >>             <value>
    >>               <i4>1</i4>
    >>             </value>
    >>           </member>
    >>           <member>
    >>             <name>mt_allow_pings</name>
    >>             <value>
    >>               <i4>1</i4>
    >>             </value>
    >>           </member>
    >>           <member>
    >>             <name>categories</name>
    >>             <value>
    >>               <array>
    >>                 <data>
    >>                   <value>
    >>                     <string>Jokes</string>
    >>                   </value>
    >>                 </data>
    >>               </array>
    >>             </value>
    >>           </member>
    >>         </struct>
    >>       </value>
    >>     </param>
    >>     <param>
    >>       <value>
    >>         <boolean>0</boolean>
    >>       </value>
    >>     </param>
    >>   </params>
    >> </methodCall>
    

    This is the response from the server

    
    << HTTP/1.1 200 OK
    << Date: Fri, 09 Nov 2007 10:46:20 GMT
    << Server: Apache/1.3.37 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7e-p1 PHP-CGI/0.1b
    << X-Powered-By: PHP/5.0.5
    << Connection: close
    << Transfer-Encoding: chunked
    << Content-Type: text/html
    << 
    << 96 
    << <br />
    << <b>Notice</b>:  Object of class xmlrpcval to string conversion in <b>/home/railean/public_html/xmlsrv/xmlrpc.php</b> on line <b>1328</b><br />
    << 
    << f0 
    << <br />
    << <b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /home/railean/public_html/xmlsrv/xmlrpc.php:1328) in <b>/home/railean/public_html/inc/_misc/ext/_xmlrpcs.php</b> on line <b>335</b><br />
    << 
    << 171
    << <br />
    << <b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /home/railean/public_html/xmlsrv/xmlrpc.php:1328) in <b>/home/railean/public_html/inc/_misc/ext/_xmlrpcs.php</b> on line <b>336</b><br />
    << <?xml version="1.0" ?>
    << <methodResponse>
    << <params>
    << <param>
    << <value><string>144</string></value>
    << </param>
    << </params>
    << </methodResponse>
    << 0
    << 
    

    The client seems to be sending the right stuff to the server, but the response contains some warnings, which could be the culprit.

    I also have no idea what 'f0' and '171' are.

    Does this ring any bells to anyone?


    Form is loading...