Ok, so this post has nothing to do with shaggy and his 90’s hit, and yes its spelt wrong anyway. The point here is that certain web files for this site were saved using regular notepad on a windows machine, this wasn’t a problem until the latest update to the wordpress app for iphone, the problem in question is the BOM BOM BOM BOM. When the app tried to log into a self hosted wordpress blog an error would pop up saying “blog returned invalid data”. This was due to windows notepad adding the BOM byte code at the beginning of php and javascript files. There is also a warning on this when trying to validate using http://validator.w3.org or at least there is when validating html 5.
***Update****
Thanks to Brandon in the comments for pointing out there are also some plugins that have the same problem, the fix below should still work, but to cut some time and stress, he suggests to deactivate all plugins and add them back one at a time to locate which one(s) maybe causing the problem. Thanks Brandon.
The solution….
Continue Reading (expand)
Thanks for posting this. It worked perfectly for me. I almost never use Windows to code, but I guess somewhere along the line I must have for a file or two.
Glad to help, and thanks for commenting, really nice to know it did some good out there.
Great information! However, for me it was actually a number of plugins, mainly WP-DB-Backup, WP-Backup by BTE and All in One Adsense and YPN. I would first try turning all plugins off then turning them back on one by one before doing all this reformatting work. Thanks!
Thanks for this. It was one of my plugins causing the problem. As soon as I deactivated it the problem was solved. Thanks also to Brandon for that comment. Saved me a few hours!
Thanks guys for your contribution, updated the post for any new comers with proper thanks to Brandon for his tip, cheers
Pingback: WordPress für iOS Update: Blog returned invalid data | Niklas Rother – XNA, Computer & mehr
Okay, so I think I found the 3 plug-ins that were causing my problem. (It works fine with these 3 off.) How do I go about fixing them? The plugins (wp-count, wp-db-backup, and wp-super-cache) are all very important to maintaing my blog and I don’t like having them off.
Am I suppose to convert all the plugin files to utf-8? I tried that with wp-db-backup, and I’m still getting the error. (The .mo language files always revert back to ANSI after I convert them and save them.) I don’t think I’m doing it right.
The problem is the same on the iPad so any ideas out there how to resolve it