Closed (fixed)
Project:
Nodewords: D6 Meta Tags
Version:
6.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Oct 2009 at 10:39 UTC
Updated:
3 Oct 2011 at 22:50 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
prodosh commentedthis was a fresh install of nodewords - no previous version of nodewords was installed
Comment #2
avpadernoThe table nodewords_custom is created by the installation function.
Comment #3
avpadernoI cannot reproduce this; I installed version 6.x-1.0-beta5 from zero, but I don't get any error about a not existing table.
As shown from the screenshot, I was able to save the meta tags for two different custom page, which would not be possible if the table was not created.
Comment #4
avpadernoComment #5
avpadernoComment #6
sushilmasti commentedI had this problem too with a fresh install of nodewords6.x-1.3-beta5. I ran update.php and it updated nodewords to nodewords6100 and seemed to add the table along with a long list of db updates. (included below)
Comment #7
avpadernoWhen you install a module, the update functions are not invoked; update functions are invoked when you pass from an older version to a newer version.
I don't understand what you mean by , in that case.
Comment #8
gregglesI had the problem as well after installing the OpenPublish 1.5.1- Build 309 which contains the 6.x-1.0 release of nodewords and then upgrading tot he 6.x-1.3-beta5 release. I updated via running "drush updatedb" which completed with some errors for other modules.
Because this was a brand new site I solved the problem by doing an "uninstall" on nodewords and then re-enabling the module.
Comment #9
avpaderno@greggles: Did you notice any error messages while updating to 6.x-1.3-beta5?
The update function #6115 creates the table; I don't understand how the table could not be created, if the code to create it is executed.
Comment #10
gregglesI did see some error messages, but they didn't seem related to nodewords.
Comment #11
avpadernoI checked what is different between version 6.x-1.0, and 6.x-1.3-beta5.
Version 6.x-1.0 doesn't define any update functions; therefore, all the update functions that are available in version 6.x-1.3-beta5 should be invoked. I cannot explain why the database table is not created, and why Drupal would not report any errors for the SQL query that creates the database table.
I will simplify the update function #6115, which was created for updating between different releases of the development snapshot.
Comment #12
avpadernoRecent commits added a new update function that checks if the table nodewords_custom exists, and creates it in the case it doesn't exist.
If even with the new update function the table is not created, then I don't know what else I should do (expect that hope nobody reports that even the new update doesn't create the table :-)).
Comment #14
abingabanger commentedim getting the same problem, .. and its been doing this to all my other sites, i kept trying (uninstalling, deleting the whole thing from the server then putting it back in, reinstalling) it finally worked on one of my sites,. that was last year though
i have a new site now and nodewords still displays the same error msg its been displaying before. nodewords_custom doesn't exist, the error was something like this:
dbdrupal.nodewords_custom' doesn't exist query: SELECT * FROM nodewords_custom ORDER BY weight ASC in
Comment #15
Anonymous (not verified) commentedI need more information to understand why the code that creates the table is not creating it, as I have never had this problem.
If you install the module, then the table is created from the installation function, and that code is always executed when installing a new module.
Did you try uninstalling the module through the modules page, removing any reference to the project modules in the database, and then re-installing it?
In the case you updated the project modules, did you run update.php?
Finally, which version are you using?
Comment #16
ksmith911 commentedI am having the same error. I have uninstalled and installed again with the same results.
I am using version 6.x-1.x-dev because the site page said:
version 6.x-1.10, and later versions, have been created as official releases to make them visible on the front page, but it should be considered beta versions. Do not update to such versions, if not to help in the development of the module.
Note: this was not an upgrade, but a new installation
Comment #17
kyleoliveira commentedRan into this same issue today. Try installing a fresh copy of the 6.x-1.x-dev branch and enabling everything except "Extra meta tags". You start getting this error:
user warning: Table 'exampledb.nodewords_custom' doesn't exist query: SELECT * FROM nodewords_custom ORDER BY weight ASC in /exampledir/sites/all/modules/nodewords/nodewords.module on line 1400.
Mind taking a closer look at it? :)
Thanks,
- Kyle Oliveira
Comment #18
kndrI confirm this bug. It raises after installation of nodewords module. I don't understand what has happend in revision 1.10.2.173? The whole block of code, which is responsible for creating {nodewords_custom} table was deleted from nodewords_schema() function. Look at http://drupalcode.org/viewvc/drupal/contributions/modules/nodewords/node... I am attaching the patch.
Comment #19
Anonymous (not verified) commentedI have marked #734194: Table nodewords_custom not defined in schema as duplicate of this report.
Comment #20
dkruglyak commentedThe patch worked for me too. Can we just commit it?
Comment #21
Anonymous (not verified) commentedI have marked #737986: Cannot create new Custom Page as duplicate of this report.
Comment #22
Beernink commentedHow do I apply this patch on an ISP hosted server where I don't have access to a command line?
Comment #23
Anonymous (not verified) commentedThe code to handle the database table has been moved to a new module, which creates the table when it's initially enabled from nodewords.module.
As usual, read what reported in the project page, before to update the installed modules.
Comment #25
JB7 commentedRan into this as well, database update solved my issue.
Comment #26
skrael commentedSame here. ".nodewords_custom' doesn't exist query" error upon fresh nodewords install on new site. Running update.php fixed the problem for me - updated the DB tables.