Noah's Randomness

Photographer, Traveler, Geek, Pentester, Information Security Consultant, Firefighter/EMT, etc…
  • rss
  • Home
  • My Resume
  • My Photos

iPhone WordPress App Error: NSXMLParserErrorDomain error 5 [Fixed]

Noah | December 5, 2009

When I first tried to add my blog to the iPhone WordPress app, it kept coming up with this error: NSXMLParserErrorDomain error 5. I did a bit of research on the WordPress for iPhone Forums but everything I tried did not help.

Finally, I used this XMLRPC Debugger to connect to my WordPress site’s XMLRPC daemon to see what the issue was. The first time I tried it, I was presented with this error: ---GOT--- HTTP/1.1 200 OK Date: Sat, 05 Dec 2009 16:57:38 GMT Server: Apache X-Powered-By: PHP/5.2.11-pl1-gentoo Content-Length: 169 Connection: close Content-Type: text/html Fatal error: Call to undefined function xmlparsercreate() in /var/www/noahjaehnert.com/htdocs/wp-includes/class-IXR.php on line 165 ---END--- HEADER: date: Sat, 05 Dec 2009 16:57:38 GMT HEADER: server: Apache HEADER: x-powered-by: PHP/5.2.11-pl1-gentoo HEADER: content-length: 169 HEADER: connection: close HEADER: content-type: text/html XML error: junk after document element at line 2, column 0

After reviewing the error message, I guessed that this had something to do with PHP not being installed with XML Support. Upon running phpinfo(), I was able to determine that this was indeed the case. In my case, the fix for this was to add the XML use flag to my Gentoo /etc/make.conf. For others who are not using Gentoo, your best bet will be to recompile PHP with XML enabled (Google is probably your friend here).

Once the recompile of PHP completed, I restarted Apache (the webserver) and used the XMLRPC Debugger again. This time it came back with a valid response. So I then attempted to connect to my WordPress blog using the iPhone application and… you guessed it… it worked!

So, now I can edit and update my blog from my iPhone. How cool!

For more information on my struggle with this error, see my posting on the WordPress for iPhone Forums

Categories
How To
Comments rss
Comments rss
Trackback
Trackback

« This seems familiar… Out with the old, in with the new… »

Leave a Reply

Click here to cancel reply.

Categories

  • Bloomington Twp Fire Dept
  • Fire/EMS
  • How To
  • InfoSec
  • iPhone
  • Review
  • Uncategorized

What I'm Doing/My Tweets...

  • RT @DEVOPS_BORAT Walk before run. C before C++ before Java before Scala. (RT'ed  for your entertainment, @lucasjmorris) 1 week ago
  • I am highly considering commenting the Perl code/script I'm writing tonight with the one liners, quotes, etc from the Republican debates #FB 1 week ago
  • Checked the first item off my to-do list for tonight, now onto the second one: Perl coding. Last few times Perl won. Not this time! #FB 1 week ago
  • Wow... just wow... http://t.co/wIgHFrO1 #AuditorFail 1 week ago
  • @MDel78 I love New Glarus brewery! :-) 2 weeks ago
  • More updates...

Posting tweet...

Powered by Twitter Tools

Google Voice

Ads:

Calendar

December 2009
M T W T F S S
« Nov   Mar »
 123456
78910111213
14151617181920
21222324252627
28293031  

Recent Comments

  • Noah Jaehnert (@njaehner) on Nest Learning Thermostat Unboxing/Install
  • Noah on Facebook Old Password vs Incorrect Password
  • Ariana on Facebook Old Password vs Incorrect Password
  • Noah on NeXpose and BackTrack 4: “Could not start the nxpgsql daemon” [Fixed]
  • TeNeX on NeXpose and BackTrack 4: “Could not start the nxpgsql daemon” [Fixed]

Akismet

4,860 spam comments blocked by
Akismet

Tags

awesome BackTrack Blackberry Blackberry Torch BTFD EMS Eye-Fi Fire Fire/EMS Fire Department fix funny gentoo How To Howto infosec iPhone NeXpose Passwords PixelPipe reddit Security Site Update Starbucks wordpress
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox