got invalid Controller specified

For programming and general questions on Zend Framework

got invalid Controller specified

Postby anes_pa on Wed Mar 21, 2012 2:32 am

Hi friends,
I create a basic crud sample program for study zend framework basics, but when I mistype url for eg:http://localhost/crud/public/posts is a working on but
http://localhost/crud/public/post give an error page with description "Invalid Controller Specified", I know that point is correct , how we can avoid that
error page and give some 404 page .... Waiting your reply ... I attach my sample code here ....

Thanks
Anes
Attachments
Crud_Zend.zip
my sample program CRUD
(12.7 KiB) Downloaded 21 times
anes_pa
 
Posts: 7
Joined: Mon Mar 19, 2012 3:14 pm

Re: got invalid Controller specified

Postby rahulreghu on Wed Mar 21, 2012 1:09 pm

Hi, You can create customized message in error.phtml file in the location "crud\application\views\scripts\error"
rahulreghu
 
Posts: 2
Joined: Wed Mar 14, 2012 5:58 am


Return to Zend Framework

Who is online

Users browsing this forum: No registered users and 3 guests