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

fago’s picture

Component: Rules Core » Rules Engine
Category: bug » support

Hm, 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.

chipway’s picture

Hi,

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

fago’s picture

Search your whole drupal directory for another rules installation, or if available use "grep" to recursively grep over your hole installation for "function rule_load".

chipway’s picture

Status: Active » Fixed

Ok,

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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.