Wednesday 18 June 2014

Exception printing is disabled by default for security reasons

Error :
Exception printing is disabled by default for security reasons.
Error log record number: XXXXXXXXXXXXXXX
Solution :

After installation of magento then some of pages shows this error.
Exception printing is disabled by default for security reasons.
Error log record number: XXXXXXXXXXXXXXX

In this case you need to check following steps.
1) Go to folder /home/username/public_html/errors/
2) cp -p local.xml.sample  local.xml
3) vi /home/username/public_html/lib/Zend/Cache/Backend/File.php
and search

protected $_options = array(
'cache_dir' => 'null',


and Change it to:

protected $_options = array(
'cache_dir' => 'tmp/',
Save the changes.


Create “tmp” folder under “/home/username/public_html/” folder.

Thats all! done

No comments:

Post a Comment