logo

We’re like the in-house digital marketing and web development team you always dreamed of, able to tell your story like nobody else, and focus on your bottom line along with you..

Birmingham office:
+44 (0)121 288 3449

 

Amsterdam office:
+31 (0)20 8932923

 

nina@elancreative.studio

Disabled Products are Showing 500 Error in Magento - Elan Creative
3265
post-template,post-template-page-sidebar,post-template-page-sidebar-php,single,single-post,postid-3265,single-format-standard,qode-core-1.3,ctcc-exclude-AN,ajax_fade,page_not_loaded,,pitch child-child-ver-1.0.0,pitch-ver-2.3, vertical_menu_with_scroll,smooth_scroll,side_menu_slide_from_right,grid_1300,blog_installed,wpb-js-composer js-comp-ver-6.3.0,vc_responsive

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

Leave a Comment: