Magento install error - Exception printing is disabled.
there has been an error processing your request magento
Here is a known error which can occur when installing Magento:
There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: XXXXXXXXXXXXXXX
Here is the solution:Exception printing is disabled by default for security reasons.
Error log record number: XXXXXXXXXXXXXXX
- Navigate to the "errors" folder.
- Change local.xml.sample to local.xml
- You should now see a new list of crazy errors all over the Magento page - this is okay.
- Open magento/lib/Zend/Cache/Backend/File.php and look for:protected $_options = array(
'cache_dir' => 'null', - Change it to:protected $_options = array(
'cache_dir' => 'tmp/', - Save it.
- Now the final step is to go create a tmp folder in the root Magento folder.
- That's it.
Sau khi các bạn làm xong các bước trên thì chúng ta sẽ vào chạy lại magento ví dụ : www.localhost/magento/.
ReplyDeletelúc đó nó sẽ hiện ra bảng thông báo giúp chúng ta sửa được lỗi.