I started with a fresh install of Drupal CVS HEAD as of 2009-11-17, and installed CCK 7.x-2.x-dev using Drupal 7's automatic install module feature. Upon attempting to enable the CCK modules, I get the following error:

Fatal error: Cannot redeclare nodereference_field_widget_error() (previously declared in /var/www/drupal-2009-11-17/sites/default/modules/cck/modules/node_reference/node_reference.module:428) in /var/www/drupal-2009-11-17/sites/default/modules/cck/modules/user_reference/user_reference.module on line 378

Let me know if you'd like more information or if there is any way I can help debug the problem.

Thanks.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

yched’s picture

Status: Active » Closed (works as designed)

CCK HEAD is currently not even remotely working.
Most of it is now in core. The remaining pieces (nodereference, userreference, content_copy, fieldgroup, + obviously views and panels integration) are currently not fully ported.

I just removed CCK 7.x-2.x from the list of supported releases to avoid this confusion. Marking it as supported was a mistake.

mikejoconnor’s picture

Status: Closed (works as designed) » Needs review
FileSize
578 bytes

It's a simple naming issue. Here's a patch to fix it.

yched’s picture

Status: Needs review » Fixed

This is definitely not the only broken stuff in there (still plenty of node-related code), but sure, why not.
Committed, thanks !

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.