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 171 views
+2 votes
1 answer 98 views
+6 votes
2 answers 1,458 views
+2 votes
1 answer 133 views
0 votes
1 answer 357 views
+4 votes
1 answer 800 views
+1 vote
1 answer 152 views

Not a Member yet?

Ask to Folks Login

My Account
159 Folks are online
0 members and 159 guest online
Your feedback is highly appreciated