Hi Rohit,
If it's a native 404 error page then there is something wrong with
your setup (.htaccess or whatever).
If it's a 404 error through cake (ie. the message is displayed within
your site layout) then this means that there is some kind of scripting
error.
Often in these cases it's due to tmp directory not being writable, or
not clearing your model cache, or some bug in your code, but in these
situations I set debug to 2. You can either hardcode this in your
core.php file and upload, or set dynamically based on a querystring
variable. eg. /myurl/?debug=1
if (isset($_GET['debug'])){ // maybe want to do a more secure check
here - test a string for certain value
define('DEBUG',2);
} else {
define('DEBUG',($_SERVER['SERVER_ADDR'] == '127.0.0.1') ? 2 : 0 );
}
Cheers,
Adam
On Nov 29, 10:38 am, Rohit <[EMAIL PROTECTED]> wrote:
> Hi,
> I am very new to the cake framework, so please bear with me. I was
> assigned on a php project that uses the cake framework, it works fine
> when i run it through the debug server(apache), however when i posted
> it on the apache production server it keeps returning 'page not found'
> error. I am at my wits end trying to figure the problem out, so any
> help would be greatly appreciated. i read on the web that this may
> have to do with .htaccess files and mod_write issues, however i
> couldn't find any solution. I am using Apache 2.2 on windows XP.
>
> thanks a lot
>
> Rohit
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---