When testing your Magento site and you get this error you can enable the exception error printing by:
- going to your Magento Root folder and look in /errors/
- copy the sample local.xml.sample file and create a “local.xml” version
By default the error reporting is switched off for security reasons. When you’ve tested your system and are going live with your site you should ensure that it’s switched off again.