When I enable the rules module I get the WSOD. I'm not sure why. I'm running a dev environment on MAMP with php 5.3.2 and Drupal 7. I have the following contrib modules installed. Everything works fine until I enable Rules.
CTools 7.x-1.0-alpha2
Entity API 7.x-1.0-beta7
Libraries API 7.x-1.0
Token 7.x-1.0-beta1
Registration Codes 7.x-1.x-dev (only reg code module enabled)
CKEditor 7.x-1.0
Views 7.x-3.0-alpha1
Webform 7.x-3.8
Webform Validation 7.x-1.0-rc1
These are the 2 error messages that I found in my error log when I enable Rules.
[02-Mar-2011 01:55:36] PHP Fatal error: Cannot redeclare regcode_rules_event_info() (previously declared in /Users/Darin/Sites/Drupal 7/sites/all/modules/regcode/regcode.rules.inc:19) in .../Sites/Drupal 7/sites/all/modules/regcode/Regcode.rules.inc on line 33
[02-Mar-2011 01:59:16] PHP Fatal error: require_once() [function.require]: Failed opening required '/Users/Darin/Sites/Drupal 7/sites/all/modules/rules/includes/rules.core.inc' (include_path='.:/Applications/MAMP/bin/php5.3/lib/php') in .../Sites/Drupal 7/includes/bootstrap.inc on line 2811
Comments
Comment #1
bmcmurray commentedBumping this issue. I'm trying to enable both the Revisioning module and Rules and I get a Fatal Error: Cannot redeclare...
Full drush console log with errors is here: https://gist.github.com/2711ee5f746e84989e7a (using Rules 7.x-2.x-dev)
This is on a Mac, OS 10.6.7 with an OS X Extended (Journaled) hdd partition. I mention this because I suspect this has to do with case sensitivity of the files, somehow.
Comment #2
fagoThese errors are stemming from the regcode/revisioning module, please file an issue there.
Comment #3
znerol commentedFixed in #1608940-18: Cannot redeclare regcode_rules_event_info() (On Mac OS X)