I have installed this module on a very small D6 test site. When I go to node/add/customcontenttype with this module, I am greeted by this:

Fatal error: Call to undefined function imagefield_widget_value() in C:\Program Files\Apache2.2\htdocs\drupal6\sites\all\modules\linkimagefield\linkimagefield_widget.inc on line 109

Any ideas?

mrweaver

Comments

mattrweaver’s picture

still here, waiting, patiently

johnfyoung’s picture

Sorry - I sent you an email that bounced and forgot to come back here (busy busy busy). Which version of imagefield do you have installed?

mattrweaver’s picture

imagefield: 6.x-3.0-alpha2
LinkImage: 6.x.-1.0-beta2

thanks for getting back to me.

johnfyoung’s picture

I don't have a copy of imagefield 6.x-3.0-alpha2 so I can't test against it. I developed this based on imagefield 6.x-3.0 (it's now at 6.x-3.2). Can you update imagefield to the most recent version and see if that fixes the problem?

To explain: the error you're getting is because linkimagefield is trying to call a function supplied by the imagefield module, but can't find it for some reason. My guess is that the imagefield_widget_value function didn't exist in imagefield 6.x-3.0-alpha2, but does now.

If updating imagefield doesn't fix the problem, I'd be very surprised.

mattrweaver’s picture

Status: Active » Fixed

Yep, that did the trick. Thanks!

Status: Fixed » Closed (fixed)

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