Occasionally there is a need to debug some Magento problem you may be experiencing.
- Enable error reporting
In Magento’s index.php uncomment the following:#ini_set('display_errors', 1);
- Turn on Magento Developer logging.
In Magento admin System -> Configuration -> Advanced -> Developer -> Log Settings set Enabled = Yes
This allows you to look in the magento/var/log/* log files for any errors - Look at server error logs.
On Red Hat /var/log/httpd/error_log
If problems persist try:
- Turn off Magento cache from admin
System -> Cache Management then Select All then Select Action – Disable followed by Submit - Re-Index Magento
System -> Index Management then Select All and then Submit - Unmerge Javascript and CSS files
In Magento admin System -> Configuration -> Advanced -> Developer -> Javascript Settings set Merge Javascript Files = No
In Magento admin System -> Configuration -> Advanced -> Developer -> CSS Settings set Merge CSS Files = No - Use php’s var_export() function within your code. Combine it with php’s error_log() function to display errors in your server error_log.