Closed (fixed)
Project:
XML sitemap
Version:
5.x-2.x-dev
Component:
xmlsitemap_user.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Jan 2009 at 16:47 UTC
Updated:
24 Jan 2009 at 16:10 UTC
After updating to the recent dev version I got the following error when running update.php
Can't DROP 'pid'; check that column/key exists query: ALTER TABLE xmlsitemap_node DROP pid in /dir/site.com/public/includes/database.mysql.inc on line 174.
This then resulted in the following error when trying to view sitemap.xml
Fatal error: Call to undefined function _xmlsitemap_user_priority() in /dir/site.com/public/modules/xmlsitemap/xmlsitemap_user/xmlsitemap_user.module on line 185
Comments
Comment #1
droople commentedI can confirm this as well
Comment #2
avpadernoThe first error doesn't cause the second error.
The first error is caused by a database field not existing, and it's not a critical error; I changed the update function to not raise an error message in such cases.
The second error is caused by a function that has been removed from the code, but it is still being called.
Both the issues have been fixed in CVS.
Thanks for the report.
Comment #3
Chad_Dupuis commentedI tried the latest dev updates and it applied without error (i.e. update.php did not cause problems). Yet, upon re-activating the xml user module, I still get the following when viewing sitemap.xml
Comment #4
avpadernoYou must wait until midnight GMT time, before Drupal creates a new archive from the last commits made for a development snapshot.
In such cases, the archive is generated at 12:00 AM, and 12:00 PM GMT.
Comment #5
Chad_Dupuis commentedYes, must have got the older version. All is well now. Thanks for the quick fix!!