There has been an error processing your request, Error log record number
Asked Answered
I

11

37

I installed Magento, logged in admin panel. But if I press on any link to open let say CMS pages or users configuration, I get error like this:

There has been an error processing your request Exception printing is disabled by default for security reasons.

Error log record number: 673618173351

That error log record number looks like a link, but pressing it nothing happens. I tried to look for some log file in magento files, but didn't find any.

So actually I can only connect to admin panel, but can't do anything here.

What could be wrong? I installed the newest Magento version (magento-1.7.0.2). Default frontend opens and works.

P.S.

.If any additional information is needed, just say it

Update:

So in logs every error is the same (just accessed resource is different).

a:5:{i:0;s:71:"Could not determine temp directory, please specify a cache_dir manually";i:1;s:4546:"#0 /home/geniusinsi/domains/example.com/public_html/lib/Zend/Cache/Backend.php(197): Zend_Cache::throwException('Could not deter...')

As I understand I need to specify cash directory somewhere?

Ilyse answered 18/3, 2013 at 9:45 Comment(1)
pls start or restart your apache and MySql in xaamp or WAMP.Modernity
D
92

Go to magento/var/report and open the file with the Error log record number name i.e 673618173351 in your case. In that file you can find the complete description of the error.

For log files like system.log and exception.log, go to magento/var/log/.

Done answered 18/3, 2013 at 9:48 Comment(4)
1) Open Magento root directory and create tmp folder. 2) Set directory permissions to 777 or 755 2) Open “lib/Zend/Cache/Backend/File.php“, and locate the following code protected $_options = array( ‘cache_dir’ => null, replace with protected $_options = array( ‘cache_dir’ => ‘tmp’,Done
Thanks. Now it works. The question would be is something went wrong for not creating default tmp folder? Or it should be like that?Ilyse
may be permission issue or magento version issue. You can magento log enable. go to System-> Configuration->ADVANCED->Developer->Log Settings , Enabled set as yes and give permission 755 for var/log/ folder. then its writes every logs to two file. CheersDone
there's no report folder in varThimerosal
G
6

You can see the error information from:

Magento/var/report

Most of the time it is cause by broken database connection especially at local server, when one forget to start XAMPP or WAMPP server.

Grace answered 9/11, 2015 at 9:48 Comment(1)
I don't see a folder var. NerFlake
G
1

Do you have a "tmp" folder in your Magento installation directory? If not, make one and see if that helps!

EDIT: Failing that, check your upload_tmp_dir in php.ini - make sure it's set.

Gasparo answered 18/3, 2013 at 10:1 Comment(1)
I added tmp folder, but that didn't solve it. Also I don't see php.ini file. Where it should be located? I see only this one php.ini.sample.Ilyse
C
1

In my case this problem appears when magento updated automatically. I restored my back up and bingo it starts working properly.

Capsule answered 13/8, 2015 at 19:36 Comment(0)
V
1

From your log file description, I see that you need to specify cache folder for your Magento site.

Navigate to /lib/Zend/Cache/Backend/File.php, find

'cache_dir' => null,

and change it to

'cache_dir' => tmp/,

Remember to create tmp folder in your root folder of Magento to make it work.

Reference source: https://magentoexplorer.com/how-to-fix-magento-500-internal-server-errors-in-magento-and-magento-2

Verenaverene answered 15/9, 2016 at 17:17 Comment(0)
E
1

Rename pub/local.xml.sample into local.xml . then i will show you exactly error.

Elenoraelenore answered 2/4, 2017 at 8:30 Comment(0)
R
0

Clear your cache and your website will be work well.

Reorganization answered 17/7, 2017 at 12:1 Comment(0)
G
0

Most of the time it is cause by broken database connection especially at local server, when one forget to start XAMPP or WAMPP server,

solution -1 :- Rename pub/local.xml.sample into local.xml or pub/local.xml into local.xml.sample if this is not work try solution 2

solution 2 :- go to php.ini file and increase max_execution time and fresh install magento confirm issue resolved

Gona answered 24/1, 2018 at 19:9 Comment(0)
G
0

A common solution is to upgrade magento setup by running this command

php bin/magento setup:upgrade && php bin/magento setup:di:compile

Otherwise just check var/report/{error number}

Gymnast answered 17/5, 2018 at 8:27 Comment(0)
W
0

I encountered a problem like this and it turns out that I accidentally changed the permission of the var/cache folder. Just delete the cache folder so magento could automatically create the folder with the right permissions.

rm -rf root/var/cache
Wilberwilberforce answered 17/9, 2018 at 7:5 Comment(0)
S
-2

When magento mode is default it showws such error Change magento mode to developer with

php bin/magento deploy:mode:set developer

then check your error on your browser and resolve that

Sound answered 14/3, 2019 at 13:40 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.