I just wrote a Magento module, but it’s not being loaded and I’d like to debug it.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here are a couple of classes and the methods that are responsible for various stages of loading.
Mage_Core_Model_Config
Called for each module (returns a Mage_Core_Model_Config representing the module’s XML block in the main config directory (enabled, version, etc..)):
Called for each module, but just builds a structure still without including the individual module configs:
Loads config.xml, enterprise.xml, local.xml, etc..:
Loads the individual module configs:
Varien_Simplexml_Config (lib/Varien/Simplexml/Config.php)
What actually reads the individual module configs:
Dustin Oprea