I encountered following error:

PHP Fatal error:  Cannot redeclare system_help() (previously declared in /Users/cloud/Sites/drupal6/modules/system/system.module:47) in /users/cloud/Sites/drupal6/modules/system/system.module on line 106
Drush command terminated abnormally due to an unrecoverable error.

I have read the issue which is "drush loads duplicate command files", and finally I still can't get rid of this fatal error.
I tried to resolve this problem by cd to a folder using lowercase, but it doesn't work for my environment (OSX 10.6.7 PHP cli version 5.3.4).

One important thing:
I use symbolic link to connect a destination which is a multisite folder, just look like below:

drupal6/sites/mysite.local@ -> /users/cloud/Sites/mysite

The fatal error only occurs while there was a symbolic link created, otherwise, it works fine.

Can you help me to resolve this problem?
I really need the multisite feature and must link destination folder by soft symbolic link.
Thanks.

Comments

Anonymous’s picture

You use lowercase 'users' in your symbolic link, but if I understand it correctly, the folder name is uppercase 'Users'. Make sure the casing matches.

jnettik’s picture

I'm seeing the same error on my system after installing Drush with Homebrew. I'm only getting the error in a Drupal 6 install. Everything seems to work fine in in D7.

moshe weitzman’s picture

Priority: Critical » Normal
Status: Active » Closed (works as designed)

Sounds like case mismatch with the symlink.

Tammamtu’s picture

I had this problem, I solved this by renaming the "sites" dir in your site root, the dir that usually contains "default" and "all" directories, from "sites" to "Sites"!

looks like drush is confusing the "Sites" under your home dir with the the other "sites" in your drupal installation...

good luck!