By RobertCJohnson on
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
Doesn't sound like they're
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
That fixed it...
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
No problem! Pobster
No problem!
Pobster
Thanks
I had the same problem and just deleted the .module file. Thanks Robert.
Thank you!
Worked for me just now too. Major heart attack averted.
Worked for me too. Thanks so
Worked for me too. Thanks so much.
Same error on updating FF 6.x 3.0-beta3 to 6.x 3.0
....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!
might have found the solution for new installs
http://drupal.org/node/787334