0

I have developed a magento module. It works fine for community edition and enterprise edition in my local environment. After installed it in the live site it works fine for community edition, but not for enterprise edition. It is not showing any admin configuration in enterprise edition. Am I missing anything? Please guide me as soon as possible.

asked Jul 22, 2013 at 13:19
8
  • I know this sound 'cliche', but did you clear the cache, and re-logged in the admin panel? Commented Jul 22, 2013 at 13:21
  • Yes , I have cleared my cache,log,session,report and locks. But still I can't see any admin configuration.Thanks for your instant reply. Commented Jul 22, 2013 at 13:25
  • Does your module get listed in System->Configuration->Advanced? Anyway...maybe this helps: magento.stackexchange.com/questions/428/… Happy debugging. Commented Jul 22, 2013 at 13:26
  • No , I also can't see my module at System->Configuration->Advanced. But my module's database tables has been created and in core_config_data table module's entry has also been stored. Thanks again for that debugging link. Commented Jul 22, 2013 at 13:29
  • It's Your Module Boostrap file (Module_Name.xml) present in /src/app/etc/modules ? Commented Jul 23, 2013 at 7:05

2 Answers 2

1

I don't have a copy of enterprise edition on hand, but it should load the "declared module" configuration in the same place as CE

#File: app/code/core/Mage/Core/Model/Config.php
protected function _getDeclaredModuleFiles()
{
 //...
}

It sounds like there's some customization to your production EE system that's preventing either this line

$moduleFiles = glob($etcDir . DS . 'modules' . DS . '*.xml');

or the subsequent sorting

 foreach ($moduleFiles as $v) {
 $name = explode(DIRECTORY_SEPARATOR, $v);
 $name = substr($name[count($name) - 1], 0, -4);
 if ($name == 'Mage_All') {
 $collectModuleFiles['base'][] = $v;
 } else if (substr($name, 0, 5) == 'Mage_') {
 $collectModuleFiles['mage'][] = $v;
 } else {
 $collectModuleFiles['custom'][] = $v;
 }
 }

from finding your module. I'd add some debugging code here too see why Magento can't see your module in production.

answered Aug 6, 2013 at 5:39
1

We also had problems related to missing modules and my 2 cents solution is: after trying clearing all possible caches, reset file system permissions: http://www.magentocommerce.com/wiki/groups/227/resetting_file_permissions

that solved the problem for us

Marius
199k55 gold badges431 silver badges837 bronze badges
answered Sep 10, 2013 at 8:22

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.