hello, I just upgraded my Drupal multisite installation, all seem ok but while I'm going to add a new module I get this:

on A site:
Fatal error: Cannot redeclare story_help() (previously declared in /home/users/staffetta/drupal/modules/story.module:12) in /home/users/staffetta/drupal/modules/modules/story.module on line 12

on B site:
Fatal error: Cannot redeclare system_help() (previously declared in /home/users/staffetta/drupal/modules/system.module:14) in /home/users/staffetta/drupal/modules/modules/system.module on line 14

any idea about it?

Comments

Heine’s picture

Error messages do sometimes tell you something :)

In this case, there's a /modules/modules directory which causes the duplicate declarations, because you now have /modules/story.module and /modules/modules/story.module.

Delete the modules/modules directory. Make sure the files in modules are actually 4.7.4 files.

--
The Manual | Troubleshooting FAQ | Tips for posting | How to report a security issue.