Closed (fixed)
Project:
Rules
Version:
6.x-1.x-dev
Component:
Rules Engine
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Jun 2009 at 08:29 UTC
Updated:
14 Jul 2009 at 14:50 UTC
Hi,
I get this error on my Dev server and I can not login on my Dev server !!
Fatal error: Cannot redeclare rule_load() (previously declared in xxx/sites/all/modules/rules/rules_admin/rules_admin.module:233) in xxx/sites/all/modules/modules/rules/rules/rules.module on line 237
i use the same dev config as Prod server, i don't get the error on prod server. i tried 6.1 and dev version and get same error.
Very annoying. i tried several things but din't get rid of it.
Any idea please about what could be wrong ?
Thank you
Comments
Comment #1
fagoHm, I think you mixed up code of two different module versions. Remove the whole module directory and makure sure you have only the code from e.g. 1.0.
Comment #2
chipway commentedHi,
Thank you for your idea.
I was already all in 1.0.
I retried to delete the rules module directory and upload once more, but i get same error.
Still searching what could be wrong.
Thanks
Comment #3
fagoSearch your whole drupal directory for another rules installation, or if available use "grep" to recursively grep over your hole installation for "function rule_load".
Comment #4
chipway commentedOk,
I discovered a second modules folder ie /sites/all/modules/modules.
The fact that it works with the same configuration and files on the prod server made a mistake in my mind.
Thank you very much.