Cache file generates parse error
User reported a parse error generated by .meta files. Posted on mobiForge here, the message says:
Ok, so far this plugin works great! I have it set to auto detect mobile browsers that works perfect. I can read everything just fine if I update my site from my computer admin. When I go to make a post from my mobile admin, it will display the teaser but when I click read more (on my phone) it then displays a parse error that the syntax contains an unexpected ';' in wpmp_transcoder/c/blablabla.meta on line 1. This only seems to happen when I post from the mobile admin. Any help would be greatly appreciated.
tonihamel.com
UPDATE: I did another test to check mobile admin against computer admin and now ALL posts are giving me the parse error. They didn't before. Just the posts added with mobile admin.
Ok, so far this plugin works great! I have it set to auto detect mobile browsers that works perfect. I can read everything just fine if I update my site from my computer admin. When I go to make a post from my mobile admin, it will display the teaser but when I click read more (on my phone) it then displays a parse error that the syntax contains an unexpected ';' in wpmp_transcoder/c/blablabla.meta on line 1. This only seems to happen when I post from the mobile admin. Any help would be greatly appreciated.
tonihamel.com
UPDATE: I did another test to check mobile admin against computer admin and now ALL posts are giving me the parse error. They didn't before. Just the posts added with mobile admin.
Leave a comment
This will be probably because his image library is not behaving itself and the meta file (which includes an evaluation of " width=$width; ") includes:
width=;
Thanks to the wonder of permissible dodgy PHP typing, I have wrapped it in quotes and I think it will work out OK for him with v1.1. He'll need to clear the cache in the transcoder (desktop) admin page.
width=;
Thanks to the wonder of permissible dodgy PHP typing, I have wrapped it in quotes and I think it will work out OK for him with v1.1. He'll need to clear the cache in the transcoder (desktop) admin page.
on 2009-07-12 12:24 *
By James Pearce
Milestone changed from Backlog to v1.1 - Bug fixes and WP2.8 compatibility