Hey there! any question in your mind? Ask It Now!.

Popular Categories





cakephp framework

+1 vote
60 views
asked in Programming by Brinz
edited by Bhartesh
hi i need how to set 404 error page in cakephp

how to set multilanguage in cakephp

<?php echo configure::version(); ?>

1 Answer

0 votes
answered by Raja
throw an exception from your controller `throw new NotFoundException('Page Not Found');` then customize the default 4XX error page `View/Errors/error400.ctp` - read more about  Built-in Exceptions

Related Questions

+1 vote
1 answer 173 views
+2 votes
1 answer 99 views
+6 votes
2 answers 1,470 views
+2 votes
1 answer 134 views
0 votes
1 answer 365 views
+4 votes
1 answer 821 views
+1 vote
1 answer 154 views

Not a Member yet?

Ask to Folks Login

My Account
340 Folks are online
26 members and 314 guest online
Your feedback is highly appreciated