in the recent update i think each field was given its own table. references still don't create tables properly,

adding reference field:

warning: Invalid argument supplied for foreach() in /var/www/drupal/modules/cck/content_admin.inc on line 705.
Created field Test reference.

and when removing one:

    * Removed field Test reference from Promotion.
    * The field Test reference no longer exists in any content type, so it was deleted.

user warning: Unknown table 'node_data_field_test_reference' query: content_alter_db_field DROP TABLE node_data_field_test_reference in /var/www/drupal/includes/database.mysql.inc on line 120.

please assign me anything i may do to help

drupal 4.7b6, cck cvs

Comments

JonBob’s picture

Interesting. Node reference doesn't declare any DB columns, so the core system should ignore it. I'll investigate.

tkgafs’s picture

not sure if its related but I am getting the following error

* user warning: Table 'drupaldb.node_data_field_description' doesn't exist query: DELETE FROM node_data_field_description WHERE vid = 70 in /drupal/includes/database.mysql.inc on line 120.
* user warning: Table 'drupaldb.node_data_field_description' doesn't exist query: INSERT INTO node_data_field_description (vid, nid, field_description_value, field_description_format) VALUES (70, 70, '

bold text
plain text

', 5) in /drupal/includes/database.mysql.inc on line 120.
* user warning: Table 'drupaldb.node_data_field_description' doesn't exist query: SELECT field_description_value AS value, field_description_format AS format FROM node_data_field_description WHERE vid = 70 in /drupal/includes/database.mysql.inc on line 120.

I have just installed latest cvs of cck and was trying to edit an existing item all the text that was in the text block is erased

tkgafs

KarenS’s picture

I got a lot of errors like that, too (...data_field_description' doesn't exist...). I unenabled the module, deleted all the files and removed all %cck% items in the system table, then re-enabled the modules and got no more errors (except the one I just reported about missing quotes around the date field default value) so it looks like it is working with a clean install, just not updating correctly.

JonBob’s picture

Status: Active » Fixed

I believe that the update is now fixed.

Anonymous’s picture

Status: Fixed » Closed (fixed)