Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

magento Showing Error:500 Internal server Error

Tags:

php

magento

I upgraded My magento store form 1.6.2 to 1.7.0.2 but it is showing the Error:500 Internal server Error . I changed the File permissions also but it doesn't get solved. Cleaned the cache and sessions but it is not working. Can any body tell me how to Solve the problem?

Thanks...

like image 727
user1713694 Avatar asked Jun 20 '26 08:06

user1713694


1 Answers

By default Mageto switches errors output off. If your php is configured not to log php errors web server will send 500 error in case any fatal error occurs.

You can check errors in /var/log/exception.log and /var/log/system.log or enable output of all errors in your magento installation:

edit your index.php :

error_reporting(E_ALL | E_STRICT);
ini_set('display_errors', 1);

and .htaccess:

SetEnv MAGE_IS_DEVELOPER_MODE "true"
like image 167
Pavel Novitsky Avatar answered Jun 22 '26 23:06

Pavel Novitsky