what exactly do you mean by display 404 error? 404 is reserved for someone
trying to access something that does not exist. You can edit your 404 error
page in /app/view/errors/error404.thtml(1.1) or error404.ctp(1.2).

if you just want a way to call the 404 error page from within a controller,
take a look at this previous posting in the google group:
http://www.nabble.com/calling-an-Error-404-page-from-within-the-Controller-td14270359.html


On Jan 8, 2008 8:50 AM, dezpo <[EMAIL PROTECTED]> wrote:

>
> What is the simplest sollution to display 404 page error?
>
> >
>


-- 
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d- s+: a19 C++++ UL++ P L++
!E W++ N(-) o? K? w(+) O? M-- V?
PS+ PE Y- PGP- t+ 5? X- R tv--
b++ Di D+ G+ e h! r y-
------END GEEK CODE BLOCK------

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to