I followed @Marius answer here

it worked fine in one site, in another site below error once i go to

System > configuration > Sales > checkout ,

Fatal error: Class 'StackExchange_Checkout_Helper_Data' not found in /var/www/html/sitename/app/Mage.php on line 547


Compiler Status : Enabled
Compilation State : Compiled

config.xml - app/code/local/StackExchange/Checkout/etc

<?xml version="1.0"?>
                    <onepage>StackExchange_Checkout_Block_Onepage</onepage><!-- rewrite the onepage chackout block -->
                <default_shipping>tablerate_bestway</default_shipping><!-- set the default shipping method code -->
                        <StackExchange_Checkout before="Mage_Checkout">StackExchange_Checkout</StackExchange_Checkout>
  • post your config.xml too – Qaisar Satti Jun 9 '16 at 7:31
  • do you have compilation on or off? – Marius Jun 9 '16 at 7:32
  • @QaisarSatti updated the question. – Baby in Magento Jun 9 '16 at 7:35
  • @Marius updated the question. – Baby in Magento Jun 9 '16 at 7:35
  • Disable the compilation and try again – Marius Jun 9 '16 at 7:37

In case you have the compiler on, you need to disable it each time you add a new extension. You can enable it after that again.

  • 1
    i am an idiot, did't followed standard procedure to install. Thanks. – Baby in Magento Jun 9 '16 at 9:13

Ensure app/code/local/StackExchange/Checkout/Helper/Data.php exists in the right location.

And ensure the class name is correct StackExchange_Checkout_Helper_Data

Both file location and class name must be case sensitive

  • Thanks, cross checked it, file in right path & class name is also correct. – Baby in Magento Jun 9 '16 at 7:00
  • Does your configure XML define stackexchange as a helper alias? – Robbie Averill Jun 9 '16 at 7:05
  • @RobbieAverill can you guide me path of configure XML file – Baby in Magento Jun 9 '16 at 7:07
  • Config.xml in your modules etc folder – Robbie Averill Jun 9 '16 at 7:08
  • 1
    @RaphaelatDigitalPianism sorry for delay, it worked fine after i recompiled. – Baby in Magento Jun 9 '16 at 9:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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