Disabled Products are Showing 500 Error in Magento

If you disable a product and then try to access it on the front end of the site, this leads to a white page with 500 Server Error in the page title. Alternatively you may see the full 500 Internal Server Error page instead of a white page. This is a bug in Magento and can be fixed by editing this file: lib/Varien/Autoload.php

Search for this text:

staticpublicfunction registerScope($code)

and change this text

@include COMPILER_INCLUDE_PATH

to this

@include_once COMPILER_INCLUDE_PATH

Source: https://stackoverflow.com/questions/18595658/magento-disabled-product-shows-500-internal-server-error

Tags:
Nina Young About the author

I studied mathematics at university, taught myself software development, honed my skills with multinational companies such as IBM and have set up and sold my own businesses. My perspective covers the all important period when a business moves from small and successful to substantial and market-leading, and my personal experience allows me to provide online solutions that give business leaders mastery of their online presence and control over business development.

No Comments

Post a Comment