cancel
Showing results for 
Search instead for 
Did you mean: 

Get a 500 error when opening "Credit Memo" page

Get a 500 error when opening "Credit Memo" page

I'm having a problem with the Credit Memo pages not loading (just getting a status 500 error), on all my orders.  I have checked the server (nginx) and magento logs and I can find any record of the error, just a record of the request in the access log:

 

[my ip]- - [20/Apr/2015:12:30:03 +0100] "GET /index.php/admin/sales_order_creditmemo/new/order_id/165/invoice_id/141/key/939724b102ba392d5f3aadc0be537484/ HTTP/1.1 "500 5 "https://my domain/index.php/admin/sales_order_invoice/view/invoice_id/141/order_id/165/key/1b2866d4d... "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0" "-"[RT:0.299] [C:218913] [PHP:0.299]

 

Is there anyway to get more info why its not loading?

 

I'm on magento 1.9.0.1

 

Thanks

3 REPLIES

Re: Get a 500 error when opening "Credit Memo" page

The problem was caused by in the index.php file it was set to:

error_reporting(E_NONE);

instead of:

error_reporting(E_ALL | E_STRICT);

This was not only stopping the errors being logged but also stopping the page from being loaded at all. There were errors on the page (that we can now see in the error log), but nothing serious that would have stopped the page loading.

Re: Get a 500 error when opening "Credit Memo" page

Hi guys,

We need someone to make a few changes to our website. We are getting the 500 error. The site is www.dentamed-usa.com

Our email is dentamedusa@yahoo.com

Thanks!

Re: Get a 500 error when opening "Credit Memo" page

To resolve a 500 error ensure that PHP error logging is enabled and look at the logs. Almost all errors are the result of a PHP fatal error.

View our great Magento Extensions