I downloaded the latest version of cck from cvs and installed it. After doing the database update and adding a new content type, I attempted to add a field to my new content type.
[Sun Jun 18 09:41:54 2006] [error] PHP Fatal error: Call to undefined function content_fields() in /Library/WebServer/Documents/mysites/roachmusic/modules/cck/weburl.module on line 196
I rolled back to version 4.7 and everything seems to work fine.
Comments
Comment #1
robert.redl@easytouch.cc commentedsomeone threw it out from CCK 4.7up to CVS.
I also use somepatches that need _content_fields. Should be in the cvs version shortly I hope...
In the meantime, add the following function to the end of
modules/cck/content.module
Comment #2
karens commentedThe function _content_fields was renamed content_fields in cvs, so 4.7 version of the content module uses _content_fields and the cvs version uses content_fields. This just changed and there was no mention of it anywhere, so most of the modules and patches flying around are still using _content_fields. The better patch would be to change cvs modules and patches to use the new function name.
Comment #3
David Lesieur commentedThe current weburl.module uses the new function name content_fields(), so apparently this is fixed.
Comment #4
(not verified) commented