Fatal error Filefield?

Events happening in the community are now at Drupal community events on www.drupal.org.
fchandler's picture

Once again I am out of my element, sorry. I have a D6.20 site that when I try to edit or add content of any type, except Page, I get this error:

Fatal error: Cannot redeclare filefield_widget_settings_form() (previously declared in /blah/blah/blah/blah/ipg.mellchandler/sites/all/modules/filefield/filefield_widget.inc:15) in /blah/blah/blah/blah/ipg.mellchandler/filefield_widget.inc on line 89.

This is a shared hosting site. I have contacted the tech support people there, but have not heard back from them yet. The told me I could view my error logs from a page provided by there control panel, but it was empty. Drupal's error log says, concerning trying to access those content type access, "access denied".

Would this mean I need to replace my "Filefield" module? The content types that have the problem are Product, Story, Photos, News Item (this type is a dynamic display block item).

Comments

My Bad

fchandler's picture

Once again the clue is in the error message. Somewhere along the way I some how copied part of the filefield module to the root and it was trying to call it from there. So the path was wrong. It was looking for:

/blah/blah/blah/blah/ipg.mellchandler/sites/all/modules/filefield/filefield_widget.inc:15)

but was finding this

blah/blah/blah/blah/ipg.mellchandler/filefield_widget.inc

When will I learn (as I bang my head on the floor 1,000 times). Dooohh!

My Bad

fchandler's picture

Once again the clue is in the error message. Somewhere along the way I some how copied part of the filefield module to the root and it was trying to call it from there. So the path was wrong. It was looking for:

/blah/blah/blah/blah/ipg.mellchandler/sites/all/modules/filefield/filefield_widget.inc:15)

but was finding this

blah/blah/blah/blah/ipg.mellchandler/filefield_widget.inc

When will I learn (as I bang my head on the floor 1,000 times). Dooohh!

Now I am looking like a bigger dult

fchandler's picture

Now I am looking like a bigger dult because i am repeating myself

Reinstall the module

kwinters's picture

This is a common error when you drop a new version of a module over an old one. Try deleting the module and placing a fresh copy in its place (after making a backup!) and of course running update.php if needed.

You can also check the system table, if you think there are path issues.

Ken Winters

triDUG

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week