I was getting an error “Exception printing is disabled by default for security reasons” .
On searching the magento forum, it told to delete all the files from /var/cache folder.
After doing so, I got this error message “An error has happened during application run. See exception log for details.”
How should I fix this?
Please help??
Hi @belal_ahmad,
I guess you're using Magento 1, am I right?
Take a look into the var/report directory.
There you'll find files named by numbers. Those are the detailed reports of your possible error.
Thanks @Damian Culotta
I searched for the log file and the first line stated,
a:4:{i:0;s:48:"SQLSTATE[HY000] [2002] No such file or directory";i:1;s:5248:"
on seaching the forum, I got few solutions stating to change the localhost to my server host name in local.xml file in the app/etc folder.
But I can't any such file in that folder.
How should I overcome this?
Hi @belal_ahmad,
That message is a Mysql error (pure from Mysql).
The local.xml file should be at /app/etc/local.xml
If you don't have the file then the applicacion isn't installed.
Hello @belal_ahmad,
Check local.xml file reflects username and password created in MySQL admin.
If you have trouble then let us know.
Thank you.
--
if issue is solved, Click "Kudos" & "Accept as Solution"