DB table prefixes

silurius - March 24, 2008 - 17:02
Project:Search and Replace Scanner
Version:5.x-1.0-alpha2
Component:Code
Category:bug report
Priority:normal
Assigned:starbow
Status:closed
Description

(PHP 5.2.4, MySQL 5.0.45, Drupal 5.7.1)

I get this error when I navigate to module's admin page (where "DBNAME" = name of my database and PATH = some directory path on my server):

    * user warning: Table 'DBNAME.drupal_node_field_instance' doesn't exist query: SELECT nfi.field_name, nfi.type_name, nf.db_storage FROM drupal_node_field_instance nfi INNER JOIN drupal_node_field nf USING (field_name) WHERE nfi.widget_type='text' in /PATH/includes/database.mysql.inc on line 172.
    * user warning: Table 'DBNAME.drupal_node_field_instance' doesn't exist query: SELECT nfi.field_name, nfi.type_name, nf.db_storage FROM drupal_node_field_instance nfi INNER JOIN drupal_node_field nf USING (field_name) WHERE nfi.widget_type='text' in /PATH/includes/database.mysql.inc on line 172.

I peeked into the module file and didn't see anything that would create the table in question. Is there another module (perhaps CCK?) that this one depends on?

#1

starbow - March 24, 2008 - 19:08
Assigned to:Anonymous» starbow

Good point. The current version does assume CCK is installed. I should fix that.

#2

starbow - July 21, 2009 - 21:21
Status:active» closed
 
 

Drupal is a registered trademark of Dries Buytaert.