RIRedinPA Posted July 14, 2010 Share Posted July 14, 2010 I'm working my way through Rob Allen's tutorial http://akrabat.com/wp-content/uploads/Getting-Started-with-Zend-Framework.pdf I'm up to the part where I should be displaying the db table contents but I keep getting the following error messages: An error occurred Application error I'm all for the 'teach a man to fish' philosophy but c'mon, I need a bit more to go on here. Is there some config thing I can do to get a less cryptic error message? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/207739-zend-noob-question-on-error-messages/ Share on other sites More sharing options...
Jaguar Posted July 19, 2010 Share Posted July 19, 2010 Do you have your the application environment defined? Assuming you're using the structure created by Zend_Tool, then a quick way and easy way to set it is to open up public/index.php and at the very top add define('APPLICATION_ENV', 'development'); Just make sure to remove that line when you are done testing. Also make sure you have error reporting turned on in the php.ini file. Quote Link to comment https://forums.phpfreaks.com/topic/207739-zend-noob-question-on-error-messages/#findComment-1088279 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.