Closed (fixed)
Project:
Google Sitemap
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Mar 2006 at 23:25 UTC
Updated:
7 Apr 2006 at 02:00 UTC
I'm getting the following error messages to the log file when loading gsitemap under Drupal 4.6.6:
Query was empty query: in /home/.../includes/database.mysql.inc on line 66.
and
sprintf(): Too few arguments in /home/.../includes/database.inc on line 154.
I've applied a fix applied to gsitemap.module:
202c202
< db_query("INSERT INTO {gsitemap} (nid, last_changed) VALUES(%d,%d)", $node->nid, $node->changed);
---
> db_query("INSERT INTO {gsitemap} (nid, last_changed) VALUES(%d,%d,%d)", $node->nid, $node->changed);
Not sure about how to apply changes to CVS yet, but I'll submit this report and then see if I can update CVS.
Comments
Comment #1
SamAMac commentedWell, I'll be darned. I have received a lot of bug reports about this one, but hadn't had a chance to track it down. Thank you.
I have checked CVS, and it does not appear to have this error. Same thing for 4.7. A fixed 4.6 has been committed.
Comment #2
(not verified) commented