Closed (duplicate)
Project:
XML sitemap
Version:
6.x-1.0-rc1
Component:
xmlsitemap.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jul 2009 at 20:42 UTC
Updated:
21 Jul 2009 at 15:11 UTC
Jump to comment: Most recent
Comments
Comment #1
avpadernoDid you also remove any reference to XML sitemap present in the system table too?
Comment #2
heirecka commentedSomething like DELETE FROM system WHERE name LIKE '%xmlsitemap%';?
Then yes.
Comment #3
avpadernoYes, it what I meant; thanks for the reply.
Comment #4
avpadernoActually, the installation file correctly call
drupal_install_schema(); if you are installing the module, the table should be created.The only problem that you could notice is when a module that depends on XML sitemap is installed before XML sitemap, and then it calls a function that executes a query on the XML sitemap table. I think that Drupal should avoid such situations, and install first XML sitemap, but I am not sure what happens when the modules have different weights.
Comment #5
Anonymous (not verified) commentedThis sounds like a duplicate of #509764: Trying to help for bug search... sitemap.xml not populating and #512660: Problem with 0.5. Please research these and let me know if it is the case with you.
Comment #6
avpadernoThis report seems a duplicate of #509764: Trying to help for bug search... sitemap.xml not populating, as the error reported in both is the same.
If this is the case, the database table is not created because of a module that changes the locale settings of PHP; that causes the 0.5 value to be translated in 0,5 (which is not accepted by the database engine).
Comment #7
heirecka commentedThanks alot!
After reading the mentioned bug reports I found the following bug of the gallery module: #389452: setlocale() calls in Gallery wrongly transform float numbers in SQL
Disabling the gallery module, installing xmlsitemap and re-enabling gallery worked for me.
Comment #8
dave reidIf you re-enable gallery, whenever it tries to insert float numbers into the database, it is still going to cause problems.
Comment #9
heirecka commentedSorry to carry on with this issue, but i have to disagree. Strangely inserting float numbers seems to work after installation. However, I'm searching for a lightweight replacement for gallery anyway.
Comment #10
Anonymous (not verified) commentedIt may by chance work for insert/update and not as the default value due to features of PHP or MySQL. This however isn't a bug for xmlsitemap and the problem needs resolve at the source; not worked around it by xmlsitemap.
Comment #11
dave reidIt will definitely come back anytime another module is installed that has the same float-type column in its database.