Home Magento Guide

Internal Server Error 500 in Magento

22 October 2009 One Comment

Internal Server Error 500 in Magento

Many of us who started experimenting with this interface and tried to place various values for Base URL, came to a dead end where Magento breaks.  Usually, we get Internal Server Error 500 with each page load. The problem lies in the fact that we can no longer open the Magento administration to correct the error. What needs to be done in such a scenario?

One of our clients wrote me a message today:

I have put www.mydomain.com in a bad spot. I changed the base URL to {{base_URL}} and now im getting a 500 server error on both the front end and the admin panel. I have looked through the database and cannot find the right field to change this value

back. Can you point me in the right direction?

The client went to System> Configuration> Web> Unsecure and placed an invalid value for Base URL field. Beware of this field. Unfortunately, Magento just updates it without any pre-warnings, but change of this specific value can cause Magento to crash.

Usually, we get order viagra online an error that looks like this:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@mysite.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

The client was on right path to find a solution. We need to open MySQL (usually via php MyAdmin) and find core_config_data table. Once there, manually update 2 rows:

  1. config_id:3 web/unsecure/base_url => http://www.mydomain.com/
  2. config_id:4 web/secure/base_url => https://www.mydomain.com/

Everything should work now. Hope this will help someone.

By Tomislav Bilic from Inchoo.net

levitra cost of sales

Related posts:

  1. Configuration error on new Magento installation
  2. PHP extension error while installing Magento
  3. How to transfer large Magento database from live to development server and other way round
  4. Advanced search in Magento and how to use it in your own way
  5. How to Install Sample Data for Magento?

One Comment »

  • John Henry said:

    comments via e-mail Notify me of followup