Jump to content

Zend Noob Question on Error Messages...


RIRedinPA

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/207739-zend-noob-question-on-error-messages/
Share on other sites

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.