Hi all. I was in the process of adding three new modules; Pathauto, Token and Markdown when I pressed the save configuration button I recieved the following error:
Fatal error: Cannot redeclare filefield_token_list() (previously declared in /home/content/s/e/a/seanette1/html/sites/all/modules/filefield/filefield_token.module:7) in /home/content/s/e/a/seanette1/html/sites/all/modules/filefield/filefield.token.inc on line 29.

Any idea how to recover from this? I can't get into the site at all. I'm totally dead in the water now.

Regards,

Robert

Comments

pobster’s picture

Doesn't sound like they're new modules as the old filefield module used a .module file and the new one uses a .inc file... Either run update.php or just delete the entire filefield_token module set (obviously leaving the .inc file).

Pobster

RobertCJohnson’s picture

Thank you , thank you, thank you....that did it. I didn't want to have re-create the entire site again.. (I hadn't downloaded the site or backed up the database yet. ) I will make sure that only current modules are used in the future.

Best regards,

Robert

pobster’s picture

No problem!

Pobster

willisjt’s picture

I had the same problem and just deleted the .module file. Thanks Robert.

rhip’s picture

Worked for me just now too. Major heart attack averted.

TonyV’s picture

Worked for me too. Thanks so much.

paulbythebay’s picture

....after a minor heart attack on seeing my entire site reduced to the above fatal error line - I redeployed the beta 3.0 tar and thank god, my site came back! Still not clear on why the later FF upgrade killed the site. I had virtually the same message as above. If I had not seen this original post I likely would not have had the guts to drop in the old file again - thanks greatly for the original post! I am beginning to realize that even when things look really really bad - if you keep cool - you can recover!