After I uploaded to 6.x3.0 I started getting the following fatal error when I tried to create a new forum topic (it uses the imagefield): Fatal error: Call to undefined function filefield_default_value() in /home3/awaytote/public_html/sites/all/modules/imagefield/imagefield.module on line 243.

Comments

quicksketch’s picture

Component: Code » Documentation
Status: Active » Fixed

Make sure you upgrade FileField to version 3.0 at the same time. It looks like my release notes for ImageField were incorrect, only stating that upgrading at the same time was "recommended". I've changed this to be "required", since otherwise you will have the problem you're experiencing.

Release notes: http://drupal.org/node/439776

scotese’s picture

Thanks for such a quick response. That was it. One of my problems was that filefield never showed as needing an upgrade in the upgrade report.

Status: Fixed » Closed (fixed)

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

dotdotstudios’s picture

Status: Closed (fixed) » Closed (won't fix)

I just ran into this problem today. I updated filefield to 3.0 and am still receiving the same (or similar) error:

Fatal error: Call to undefined function filefield_default_value() in /var/www/www.lilolme.com/htdocs/modules/imagefield/imagefield.module on line 243.

Any help would be appreciative :)

dotdotstudios’s picture

Status: Closed (won't fix) » Active
quicksketch’s picture

dotdotstudios: like the user above, this problem means that the module wasn't upgraded properly. Delete the ENTIRE old filefield and imagefield directories then upload an entirely new copy of each 3.0 version of the modules, making sure that all the files are copied. Then run update.php.

quicksketch’s picture

Category: bug » support
dotdotstudios’s picture

Thanks quicksketch! That worked. I thought I had done it right since I just downloaded Drupal but a few days ago. I guess I was wrong. Thanks,

quicksketch’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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