Closed (fixed)
Project:
ImageField
Version:
5.x-2.3
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Feb 2009 at 10:23 UTC
Updated:
25 Feb 2009 at 19:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
iancawthorne commentedI followed the same steps above and also get the same problem.
Comment #2
zooney commentedI also get the same problem.
Comment #3
bobdalob commentedMe too.
Comment #4
buzzdecafe commentedI also have the same problem. Here's some background:
CCK 5.x-1.10 contains this function in content_admin.inc:
So changing line 81 in imagefield.install:
foreach (_content_admin_display_contexts() as $context) {to:
foreach (array('teaser' => t('Teaser'), 'full' => t('Full')) as $context) {and running the update works flawlessly. So the question is, why isn't the CCK function getting called?
Comment #5
claudiu.cristeaHere's the patch
Comment #6
threexk commentedPatch works for me.
Comment #7
threexk commentedComment #8
jackalope commentedHad the same problem, patch worked for me. Thanks!
Comment #9
drewish commentedthanks, committed to HEAD and DRUPAL-5--2
Comment #10
drewish commentedthis was a duplicate of #371784: update.php script for imagefield returns undefined function error
Comment #11
wylbur commentedUploaded version 5x-2.3 and still get the same error. Has this been committed to the production version of the module, or do we have to install the patch? Do I have to uninstall and reinstall? Will there be a new version of the module?
Comment #12
jantoine commentedwylbur,
The patch has been committed to Head, meaning it is in the repository and will be available in the next dev release that the system auto-generates, but there has not been a release since the patch was applied. You don't need to uninstall and re-install. All you need to do is apply the patch and run the update.php script and you should be good to go.
Cheers,
Jon Antoine
dev.antoinesolutions.com
Open Source Development Tutorials & Documentation
Comment #13
jantoine commentedSetting to fixed.
Cheers,
Jon Antoine
dev.antoinesolutions.com
Open Source Development Tutorials & Documentation