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
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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.