Closed (works as designed)
Project:
Drush
Component:
Core Commands
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Apr 2011 at 09:05 UTC
Updated:
11 Jan 2012 at 00:30 UTC
Jump to comment: Most recent
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
Comment #1
Anonymous (not verified) commentedYou use lowercase 'users' in your symbolic link, but if I understand it correctly, the folder name is uppercase 'Users'. Make sure the casing matches.
Comment #2
jnettikI'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.
Comment #3
moshe weitzman commentedSounds like case mismatch with the symlink.
Comment #4
Tammamtu commentedI 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!