Magento – Exception printing is disabled

You will get the below error when Magento error display is disabled and your site encountered some error. This good because other people will not know the internals of your site. But sometimes it’s very much easier to look at the errors directly on the site and fix it. To enable the error display on the site. Follow the below steps.

Go to errors folder and rename local.xml.sample to local.xml
[bash]
cd /home/servertechsupport/public_html/errors
mv local.xml.sample local.xml
[/bash]

Now Open /lib/Zend/Cache/Backend/File.php and change
[plain]
protected $_options = array(
‘cache_dir’ => ‘null’,
[/plain]
to
[plain]
protected $_options = array(
‘cache_dir’ => ‘/home/servertechsupport/public_html/tmp/’,
[/plain]

Don’t forget to create folder named “tmp” in your public_html folder.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *


2 × five =