Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-10-2008, 09:38 PM
Junior Member
 
Join Date: Aug 2008
Posts: 3
Default Managing 404 errors in the Zend Framework

Hi, it is my first time in this forum.

I need to manage 404 error's, How Can I do it?

I have read the manual but I have not worked, could you give me a easy tutorial?


Thank you
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 08-12-2008, 12:55 PM
bpat1434's Avatar
Member
 
Join Date: Jul 2008
Posts: 34
Default

Easiest way is to use the standard ErrorController class. Typically that's what will show up with any type of error. If you modify controllers/ErrorController.php to do what you want, and modify the view/error/error.phtml file to display what you want, that's about the easiest you can do.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:38 PM.