Since I enabled the Osmobi client module on one of my sites this morning, I'm suddenly getting a lot of PHP errors in dblog of the form,
LOCATION: http://www.smartphonemag.com/?osmobi=true
REFERRER: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<div id='homepage'><div class="node"><div class="moretype"><a href="/cms/blogs">' at line 1 query: UPDATE <div id='homepage'><div class="node"><div class="moretype"><a href="/cms/blogs">' [etc. etc.] </div></div> SET data = 'cache', created = 1268256562, expire = 1268256862, headers = '', serialized = 0 WHERE cid = 'homepage' in /home/smartphonemag.com/public_html/cms/includes/cache.inc on line 109.
where the HTML in the query is the entire home page. In other words, some code somewhere is trying to cache the home page, but for some reason it's putting the page's HTML in place of the table name in the query. Since this error only started after I installed Osmobi Client, and it only appears to be triggered by URLs with ?osmobi=true in them, I'm assuming Osmobi Client is somehow responsible. Any ideas?
Comments
Comment #1
benstallings commented