0

I installed EaDesign_PdfGenerator on my Magento Version 1.9.1.0 with the Magento Connect Manager succesfully ( with no error message ). But if I entered the Backend it says:

Fatal error: Class 'EaDesign_PdfGenerator_Helper_Data' not found in /var/www/vhosts/mydomain/httpdocs/app/Mage.php on line 547

I think I am not using the new "rwd" Theme if this is important.

On my other Magento installation there is no problem by using this plugin (there I am using the rwd theme)

Code of my adminhtml.xml of the plugin.

<?xml version="1.0" ?>
<config>
    <menu>
        <pdfadmin_menu>
            <title>EaDesign PDF</title>
            <sort_order>50</sort_order>
            <children>
                <first_page>
                    <title>Templates</title>
                    <action>adminpdfgenerator/adminhtml_pdfgenerator</action>
                </first_page>
            </children>
        </pdfadmin_menu>
    </menu>
    <acl>
        <resources>
            <admin>
                <children>
                    <pdfadmin_menu>
                        <title>EaDesign PDF</title>
                        <sort_order>50</sort_order>
                        <children>
                            <!-- child items go here -->
                            <first_page>
                                <title>Templates</title>
                                <sort_order>10</sort_order>
                            </first_page>
                        </children>
                    </pdfadmin_menu>
                </children>
            </admin>
        </resources>
    </acl>
</config>
  • did you clear the cache? did you disable the compilation? – Marius Jun 10 '15 at 8:08
  • i disabled the cache and i cant clear it afterwards but the installation with magento connect cleared the cache automatically. – MCSell Jun 10 '15 at 8:12
  • Did you already contact EaDesign? – 7ochem Jun 10 '15 at 8:17
  • i did about the board magento itself and via mail. – MCSell Jun 10 '15 at 8:19
2

That means there is no data.php in your installed extension.

Check EaDesign/PdfGenerator/Helper/Data.php

If it does not exist create one with following code:

<?php
class EaDesign_PdfGenerator_Helper_Data extends Mage_Core_Helper_Abstract
{
}
  • wow, fast answer here ;) thanks. Im going to try this. – MCSell Jun 10 '15 at 8:10
  • the class already exists in /httpdocs/app/code/local/EaDesign/PdfGenerator/Helper/Data.php – MCSell Jun 10 '15 at 8:15
  • try disabling this extension from mage/etc/modules/EaDesign***.xml by setting active to false and see if this is the extension causing it. – Adarsh Khatri Jun 10 '15 at 8:19
  • if i deinstall the app via magento connect manager (by routing directly in /downloader) the error is gone. – MCSell Jun 10 '15 at 8:20
  • @MCSell If it already exists, then your issue is most likely either cache or compilation (or EaDesign have a bug in their configs). Try clearing the cache manually by emptying the var/cache/ directory of Magento. – Dan Jun 10 '15 at 8:23

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