• I’m trying to get the ecto3 application setup with my recently upgraded WP2.5 blog and having some trouble. The ecto developer mentioned this is a WP bug… has anyone else seen this?

    The problem is ” Call to undefined function printr() ” in the xmlrpc.php file.

    Thanks for the help!!

    `Request with URL:
    http://www.communityguy.com/xmlrpc.php
    and data:
    <?xml version=”1.0″ encoding=”UTF-8″?>
    <methodCall>
    <methodName>metaWeblog.newPost</methodName>
    <params>
    <param>
    <value><string>1</string></value>
    </param>
    <param>
    <value><string>sink</string></value>
    </param>
    <param>
    <value><string>******</string></value>
    </param>
    <param>
    <value><struct>
    <member>
    <name>mt_allow_pings</name>
    <value><i4>1</i4></value>
    </member>
    <member>
    <name>mt_allow_comments</name>
    <value><i4>1</i4></value>
    </member>
    <member>
    <name>mt_keywords</name>
    <value><string></string></value>
    </member>
    <member>
    <name>dateCreated</name>
    <value><dateTime.iso8601>20080401T22:12:16Z</dateTime.iso8601></value>
    </member>
    <member>
    <name>title</name>
    <value><string>Test Post – Draft</string></value>
    </member>
    <member>
    <name>mt_excerpt</name>
    <value><string></string></value>
    </member>
    <member>
    <name>description</name>
    <value><string></string></value>
    </member>
    <member>
    <name>mt_convert_breaks</name>
    <value><string></string></value>
    </member>
    <member>
    <name>categories</name>
    <value><array><data>
    <value><string>Blogging/Podcasting</string></value>
    </data></array></value>
    </member>
    <member>
    <name>mt_text_more</name>
    <value><string></string></value>
    </member>
    </struct></value>
    </param>
    <param>
    <value><boolean>0</boolean></value>
    </param>
    </params>
    </methodCall>

    Response:
    Status : 200
    X-Powered-By : PHP/5.2.5
    Expires : Thu, 19 Nov 1981 08:52:00 GMT
    Cache-Control : no-store, no-cache, must-revalidate, post-check=0, pre-check=0
    Keep-Alive : timeout=15, max=100
    Transfer-Encoding : Identity
    Pragma : no-cache
    Server : Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.8g DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
    Content-Type : text/html
    Date : Tue, 01 Apr 2008 22:13:13 GMT
    Connection : Keep-Alive
    Set-Cookie : PHPSESSID=a1328434a163e909f5075c9aade24e23; path=/, visited=1; expires=Wed, 01-Apr-2009 22:13:18 GMT

    <b>Fatal error</b>: Call to undefined function printr() in <b>/home/antseyev/public_html/communityguy.com/xmlrpc.php</b> on line <b>1142</b>

    `

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    ww.wp.xz.cn Admin

    The xmlrpc.php file does not have “printr” anywhere in it. I think your site may have been hacked, replace the xmlrpc.php file with a fresh one from the download. And check everything else too.

    Thread Starter communityguy

    (@communityguy)

    Sure enough! I may not have upgraded the XMLRPC file with the latest release. Nice catch!

    Jake

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘printr() function error with ecto and WP2.5’ is closed to new replies.