Posts

How to debug Magento

Follow each point until you finally reach a solution. 1.Enable PHP Errors This is key to most issues. For security or other reasons, PHP error display could likely be disabled by default by your PHP configuration. You can enable errors with a more permanent solution, or merely something more temporary. Permanent solution For Apache/mod_php users In your document root's  .htaccess  file - just drop this at the top. php_flag display_startup_errors on php_flag display_errors on php_flag html_errors on php_flag log_errors on php_value error_log / home / path / public_html / var / log / system . log For Nginx/FastCGI users In your Nginx virtualhost configuration, in either the final  location .php {  directive, or in the  fastcgi_params  file (if you have one specified) fastcgi_param PHP_VALUE display_startup_errors = on ; fastcgi_param PHP_VALUE display_errors = on ; fastcgi_param PHP_VALUE html_errors = on ; fastcgi_param PHP_VALUE log_errors = on ; f