Tables not created during installation

CosminCH - August 20, 2008 - 15:56
Project:Node Map
Version:5.x-9.1-2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:patch (to be ported)
Description

I installed 5.x-9.1-2 and I get the following error, when accessing a view:

user warning: Table 'web666_db1.drupal_nodemap' doesn't exist query: SELECT * FROM drupal_nodemap WHERE nodemap_nid=207 in /opt/www/web25/web/includes/database.mysql.inc on line 172.

It seems that the main module table is not created.

#1

spinicrus - August 20, 2008 - 20:50

strange.

please uninstall first and try again with a clean 5.x-9.1-2 package.

10x.

#2

CosminCH - August 27, 2008 - 13:34

I am sorry, I forgot to mention: the 5.x-9.1-2 package was my first contact with your module, I installed "clean".

#3

yuit - November 22, 2008 - 11:48

I ran into the same problem after having installed the 5.x-9.1-2 package on a Drupal site running 5.12.

I think I found where the problem is:

I have table prefixing configured in settings.php for all tables, and when looking at my mysql database, it appears that the 'nodemap' table was installed without the table prefix used in the table name. This is where the confusion comes from:

Table installed as 'nodemap'
Error indicates that Drupal is trying to find and use 'prefix_nodemap'.

If you look at the error message of the original poster above, you will see that he also uses table prefixing apparently.

#4

larowlan - January 19, 2009 - 09:19

You can fix this issue if you wrap the create table nodemap in curly braces so that the prefixing works in nodemap.install (this needs to be patched before you install)

#5

spinicrus - January 23, 2009 - 14:01
Status:active» patch (to be ported)

i can't believe that slipped my mind!
10x, i'll release a patch tonight.

#6

ElvinJones - November 20, 2009 - 15:18

Hi,

great module.

I am having the same problem as described above with the 6.x-1.3. Did you ever put out a patch and where can I find it ?

 
 

Drupal is a registered trademark of Dries Buytaert.