2

I encountered a "Fatal error: Class 'Mage_Framework_Helper_Data' not found in /var/www/latest/app/Mage.php on line 547" when I clicked on create user roles.

Please I need your help on how to solve this issue.

Thanks.

asked Apr 29, 2014 at 12:53

2 Answers 2

3

I found out the solution to my problem. I renamed the file in app/code/local/Megnor/Framework/etc/adminhtml.xml to admin.xml and it works now. This thread on magentocommerce helped me out http://www.magentocommerce.com/boards/viewthread/354259/.

Thanks.

answered Apr 29, 2014 at 22:54
0

adminhtml.xml or system.xml could contain such line(s)

<xmlnode translate="title" module="module">
... 
</xmlnode>

Magento passes the module argument to the Mage::helper() factory method.

Mage::helper('module');

Factory method looking for the class prefix to use in the node global/helpers/module/class. If helper part of config is missing, magento tries to load one from core codepool by prefixing the class id with mage_ and appending _helper. As a result class prefix = mage_module_helper and it resolves to mage_module_helper_data. And autoloader tries to load Mage/Module/Helper/Data.php

Marius
199k55 gold badges431 silver badges837 bronze badges
answered Dec 7, 2014 at 11:38
1
  • Please don't use rude language. If you find other links that you think are spam, just flag them and a moderator will handle them. Commented Jul 29, 2020 at 13:14

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.