There has been an error processing your request, Error log record number
There has been an error processing your request, Error log record number
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?
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/.
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’,
– sanjiMar 18 '13 at 10:13
Thanks. Now it works. The question would be is something went wrong for not creating default tmp folder? Or it should be like that?
– AndriusMar 18 '13 at 11:08
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. Cheers
– sanjiMar 18 '13 at 11:14
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.
– AndriusMar 18 '13 at 10:07
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.