drupal version 472

after enabling the date field module, clicking "administer" > "views" errors -

Fatal error: Call to undefined function: content_fields() in /var/www/html/modules/date/date.module on line 438

known ? encountered by anyone ?
btw when disabling the date field module, views gets back into working

Comments

RayZ’s picture

Status: Active » Fixed

Sounds to me like you need to update your version of CCK. I believe that function was added (renamed actually) in this commit http://drupal.org/cvs?commit=32384 back in May. Feel free to re-open if this isn't the issue.

baec’s picture

hey RayZ and thx so much for pointing me in the right dir :) sorry for the late gratitude it took me some time to investigate the matter and get to a deeper level into drupal then i ever got to before. the first time i tried upgradig my rev of cck my drupal data strucutres all went berzerk and im in the process of reconstructing
you are completely right and the function was renamed at rev 1.56.24
i have one OT question, if possible - having not much experience with OS projects and CVS i was wondering one thing about the rev system, if i upgrade one project file to a certain rev how do i know which other files in that same proj need to be upgraded as well to work with the changes in that new rev of that first file [or do you assume an upgrade in rev has to be across to all the latestest revs across all project files] ? im asking this since the version numbers only reflect each files version relative to itself ? does that make any sense ?

RayZ’s picture

Unfortunately, there is currently no easy way ensure by looking at version numbers that your modules will be compatible. I do it by attempting to follow the issue queues and CVS commits on the modules I use (yes, that takes up a lot more time than I'd like). I find that typically when one module breaks another, someone fixes it pretty quickly. So I think your best bet is to always use a set of modules that were current on the same date. If you update one module (like date) make sure you also also update to the latest related modules (cck, views, etc). CVS is your friend (http://drupal.org/node/1002).

Anonymous’s picture

Status: Fixed » Closed (fixed)