If i click System -> Permission -> Roles if i click any of roles return following error,

Fatal error: Class 'Mage_Cmsmquickview_Helper_Data' not found in /home/abc/public_html/app/Mage.php on line 547

How to solve thi Issue?

  • First, you need to check whether you have defined your custom helper in app/code/[Package]/[Module]/etc/config.xml Dec 17, 2019 at 11:13
  • @MohitKumarArora I have too many custom modules, may i know what is the correct way to declare helper in app/code/[Package]/[Module]/etc/config.xml Thank You.
    – zus
    Dec 17, 2019 at 11:40

1 Answer 1


Assumptions for answer:

  • Your module's package name is Stack and your module name is Cmsmquickview.
  • Your module resides in the local codepool.

Now the definition of your helper class (in app/code/local/Stack/Cmsmquickview/etc/config.xml file) should look like:


and the helper class file (app/code/local/Stack/Cmsmquickview/Helper/Data.php) should be like:

class Stack_Cmsmquickview_Helper_Data extends Mage_Core_Helper_Abstract {
  // your code here

now you should call the helper like this:


Update (after looking into the attached module by @zus):


    <quickview translate="title" module="cmsmquickview">
        <title>Quick View Settings</title>


    <quickview translate="title" module="ajaxcart">
        <title>Quick View Settings</title>

in app/code/local/Cmsmart/AjaxCart/etc/adminhtml.xml file. Notice module="ajaxcart".

This is because you have defined helper as ajaxcart in config.xml file.

  • Here is my module : github.com/ZusZus/Cmsmquickview and file -> app\code\local\Cmsmart\AjaxCart\etc\adminhtml.xml line -> 21, error : Fatal error: Class 'Mage_Cmsmquickview_Helper_Data' not found in /home/abc/public_html/app/Mage.php on line 547 @Mohit Kumar Arora
    – zus
    Dec 18, 2019 at 9:19
  • @zus, I have updated my answer. Dec 18, 2019 at 9:41
  • 1
    Working, thank you.
    – zus
    Dec 18, 2019 at 10:02
  • Small doubt how to solve following error -> snipboard.io/I2FrSH.jpg @Mohit Kumar Arora
    – zus
    Dec 30, 2019 at 8:56

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.