Skip to content

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

Category
Security
On this page

While installing magento, if you face issue like below, This the is known issue

Error:

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

Solution:

Step 1. Go to /errors/ folder in magento document root.

Step 2. Copy local.xml.sample as local.xml

# cp local.xml.sample local.xml

Step 3. Edit magento/lib/Zend/Cache/Backend/File.php file, Find and change cache_dir setting.
From:

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

To:

protected $_options = array(
'cache_dir' => 'tmp/',

Step 4. Finally create tmp folder in magento document root

# mkdir tmp/

Step 5. done

Rahul

Rahul Kumar is the founder and chief editor of TecAdmin.net. A Red Hat Certified Engineer (RHCE), he has worked in IT since 2009, with hands-on experience in Linux system administration, DevOps, web hosting, cloud platforms and automation. He started TecAdmin in 2013 to share practical, step-by-step guides, and leads its editorial work with one aim: making technical learning clear and useful for sysadmins, developers and beginners alike.

Leave a Reply

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


Back to top