Reputation: 29
I'm new to magento. I have been developing a site for the last few months. The site is almost completed. I planned to launch it within a couple of days but now the problem is it's showing some error like
"There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: 783283926636"
The error log number is changing accordingly. I searched a lot of communities but I didn't find the solution. I came to know that the file is coming from var/reports/783283926636. While I keep on refreshing the site does come back. Please tell me the solution for this problem.
Upvotes: 0
Views: 1954
Reputation: 1073
Here is the solution:
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.
Upvotes: 0
Reputation:
Check permissions for var folder, they should be 777 to enable correct work of your store.
Upvotes: 2
Reputation: 301
in your public_html dir you got folder error
rename local.xml.sample to local.xml
then your error will be visible on frontend and you'll be able to see what's going on
thanks
Upvotes: 0
Reputation: 2864
Anthony, you need to check that file, it contains a more detailed explanation of the error. Magento does not show it on the web page, to prevent exposing vital information.
Upvotes: 1