Closed (fixed)
Project:
Nodewords: D6 Meta Tags
Version:
6.x-1.9
Component:
Database schema
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Dec 2009 at 19:01 UTC
Updated:
15 Jan 2010 at 15:40 UTC
Not sure why, but the past two updates I have made for the nodewords module, I have lost all of my meta tags and I can't seem to restore them with a database restore. I re-entered them for my live site the first time, but I'm seeing the problem with the latest update in staging. I'm assuming this is a bug, but I could be missing something.
Comments
Comment #1
avpadernoIt can be related to #668804: Meta tags content for specific pages are wrongly saved.
Comment #2
srobert72 commentedIsn't it due to SQL patch in last DEV version ??
DELETE FROM {nodewords} WHERE type = 0It cause me also to lost some data.
Comment #3
avpaderno@srobert72: There should not be any meta tags with the field type set to zero. Those rows have been generated by an error in the code, and cannot be used. That is the reason they are being deleted.
Comment #4
srobert72 commentedSorry, data were deleted but it's aim of this patch.
But type=0 isn't used anymore I think.
I've update my metatags and it does'nt create rows with type=0.
So it's not a problem in fact.
Sorry for my mistake.
Comment #5
avpadernoThen, that update has been created after version 6.x-1.x, and it cannot be the problem; it is instead fixing a problem that was present in version 6.x-1.9.
The meta tags assigned to the front page, the tracker page, and the error pages where saved with the field type set to zero.
Comment #6
iamba commentedJust wanted to add that this problem is exclusive to the new files and doesn't seem to be database related. For two reasons, either of which I think are probably conclusive.
A database restore does not restore the meta tags
If I revert the files in the module folder back to what was there previously, I get my meta data back.
I tried this with the garland theme as well, so it's not the custom theme. Any ideas? I'm a bit new to drupal and I'm an intermediate php developer at best, but I'd be happy to poke around and report back if there are any suggestions? About all I can do is run a comparison on the two folders and take some stabs in the dark. Thanks for the discussion on this.
Also, is there any further information from me that might be helpful?
Comment #7
iamba commentedMy apologies for this, I had this problem because I didn't run the update script to patch the database. Once I ran the database update, everything was fine. All I did before was drag over the new files. I'm still "cutting my teeth" with Drupal, hopefully I'll be helping with the misguided questions in the future instead of asking them. :) Thanks to everyone who took a look at this.