XML-RPC LIBXML2 FIX: ABC123 OMG WTF AOK

Here’s how David fixed the problem I was having posting to WordPress from any source other than my normal edit window. See if you can make any sense of it; all I know is I can post to my blog from my iPhone, Flickr, Scribefire (I’m still using 3.1.3), and probably ecto/Linear again.

Geeky Ramblings » Blog Archive » Temporary LIBXML2 solution

The problem has been narrowed down to a bug in LIBXML2 that causes leading angle brackets “<” to be stripped off of posts when processed through the XMLRPC support in PHP. I logged the issue in the WordPress bug tracker, and the consensus is that the problem started manifesting after an automatic update applied by Fedora 8.

Well, to solve the problem I’ve moved Ginny’s blog to a temporary server
running in a base Fedora 8 install in a VMWare instance. Luckily WordPress stores most of its content in the MySQL database (not the images, unfortunately). A bit of NFS magic to mount the appropriate directory in the virtual system, and it’s working fine. The server itself only has Apache, PHP, MySQL client, SSH, and a few other bits & pieces to keep it running. No automatic updates, GUI, compilers, etc.

Once the bug is fixed (either WordPress, using a different XML processing mechanism, or LIBXML2) I’ll move her server back to the main server.

Okay. Got that? It’s a base Fedora 8 install in a VMWare instance. Natch.

Recent Related Posts

One thought on “XML-RPC LIBXML2 FIX: ABC123 OMG WTF AOK

Leave a Reply

Your email address will not be published. Required fields are marked *