Postponed (maintainer needs more info)
Project:
XML sitemap
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Sep 2010 at 02:34 UTC
Updated:
16 Feb 2011 at 15:12 UTC
Just upgraded to the new 2.x dev from an older 2.x dev and receiving this--
User warning: 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 'type for db_type_placeholder AND id = unsupported type for db_type_placeholder' at line 1 query: SELECT * FROM xmlsitemap WHERE type = unsupported type for db_type_placeholder AND id = unsupported type for db_type_placeholder in _db_query() (line 141 of /var/www/............/includes/database.mysqli.inc).
Comments
Comment #1
dave reidDid you run update.php?
Comment #2
dave reidComment #3
WhenInRome commentedupdate.php was run. yes.
Comment #4
bkonia commentedGetting a similar error here. This is happening after a fresh install of the module and it's basically unusable. I believe this may be related to the fact that I'm running PHP 5.3.3. I did some debugging and the actual query being sent to MySQL on line 343 is:
SELECT * FROM {xmlsitemap_sitemap} WHERE smid IN (unsupported type for db_type_placeholder) - Array
Obviously, this is an invalid query.