cancel
Showing results for 
Search instead for 
Did you mean: 

SUPEE-6788 breaks website | cannot redeclare addModule function

SUPEE-6788 breaks website | cannot redeclare addModule function

Hi all,

 

I've been applying the new security patch SUPEE-6788 successfully on local, dev and staging. 

Lets' say that all of my servers share same version and mirror the code, I've been applying it also on the live environment but it just throw out a 500 error.

 

The error log says:

client denied by server configuration: ~/app/etc/local.xml

Cannot redeclare Mage_Core_Controller_Varien_Router_Admin::addModule() in ~/app/code/core/Mage/Core/Controller/Varien/Router/Admin.php on line 164

I've tried to comment up the addModule function and the website goes fine.

 

 

 

Now I don't know what really is going on with my live enviornment and I don't want definitely comment up randomly some functions in the core, do you know what could be triggering this issue?

 

At this stage I've just reverted the patch waiting for some valid solution.

 

Thanks in advance everybody!