Magento Disabled Product shows 500 internal server error -


i facing weird issue out here.

for product, if disable admin end, , run product url in browser, shows me 500 internal server error.

for eg: http://domain.com/product.html

now if add random param url , again run it, gives me 404 error page expected.

eg: http://domain.com/product1.html

this thing happening whenever disable product live site while staging site working if disable product.

what issue server error if product disabled admin ?

i checked .htaccess , has no issues.

thanks in advance.

try disable compilation , see if error persists. bug, described here: http://www.magentocommerce.com/boards/viewthread/310970/

the suggested solution is: in lib/varien/autoload.php :: registerscope, change include include_once :

 static public function registerscope($code)   {     self::$_scope = $code;     if (defined('compiler_include_path')) {       // change include_once prevent including multiple times !!!       //@include compiler_include_path . directory_separator .    self::scope_file_prefix.$code.'.php';       @include_once compiler_include_path . directory_separator . self::scope_file_prefix.$code.'.php';     } }  

Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -