[wp-trac] [WordPress Trac] #16565: Several E_NOTICE when using IXR_Client

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 15 09:40:53 UTC 2011


#16565: Several E_NOTICE when using IXR_Client
-------------------------------+------------------------------
 Reporter:  tillkruess         |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:  3.0.5
 Severity:  major              |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------
Changes (by greuben):

 * keywords:   => reporter-feedback


Comment:

 Can't reproduce this in trunk..
 this is the code I've used

 {{{
 include('IXR_Library.php');
 $client = new IXR_Client('http://localhost.local/xmlrpc.php');
 $client->debug = true;
 $client->query('pingback.ping' ,'http://localhost/',
 'http://localhost.local/2011/02/hello-world/');
 }}}

 response

 {{{
 POST /xmlrpc.php HTTP/1.0
 Host: localhost.local
 Content-Type: text/xml
 User-Agent: The Incutio XML-RPC PHP Library
 Content-Length: 259

 <?xml version="1.0"?>
 <methodCall>
 <methodName>pingback.ping</methodName>
 <params>
 <param><value><string>http://localhost/</string></value></param>
 <param><value><string>http://localhost.local/blog/2011/02/hello-
 world/</string></value></param>
 </params></methodCall>
 HTTP/1.1 200 OK
 Date: Tue, 15 Feb 2011 09:32:32 GMT
 Server: Apache/2.2.17
 X-Powered-By: PHP/5.3.4
 Connection: close
 Content-Length: 281
 Content-Type: text/xml

 <?xml version="1.0"?>
 <methodResponse>
   <params>
     <param>
       <value>
       <string>Pingback from http://localhost/ to
 http://localhost.local/blog/2011/02/hello-world/ registered. Keep the web
 talking! :-)</string>
       </value>
     </param>
   </params>
 </methodResponse>
 }}}
 maybe a plugin issue?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16565#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list