The redirect method belongs to Controller in /cake/libs/controller.php .
That's the cake lib file, you don't want to edit that one.

You can either :
* define a new class or edit the existing class named 'AppController'
in /app/app_controller.php
* simply overwrite the 'redirect' function in your own controller
class, though I'm not sure this will be sufficient since we are in
doubt that Cake ever arrives at your own controller code

Good luck with it :)

On Mon, Aug 17, 2009 at 5:23 PM, technicaltitch<technicalti...@gmail.com> wrote:
>
> App was built Oct 2007 but it's taken the organization this long to
> find funding for someone to test and work on it, (hence I'm struggling
> to get my head round stuff again).
>
> I will have a go at creating a test subdirectory and adding that debug
> code- fantastic fantastic ideas thanks - probably blindingly obvious
> to PHPers but not to me (a decade working with C, Java and .NET but
> only ever used PHP on volunteer projects).
>
> Is it possible that a phpBB install may have had this as a side-
> effect? Ie, can filters be set up on all form input for a given space
> on a shared CPanel server?
>
> I have commented out my controller method and seen the error, so I'm
> assuming the redirect is called elsewhere, where do I put the redirect
> override code pls?
>
> As far as I can tell it isn't my code requesting the redirect but
> perhaps I'm missing something obvious? I commented out my controller
> method, route.php just has the default page specified. Tried debug
> level 1 and 2 and nothing is displayed about the error, or anything
> preceding the current page.
>
>
> Thanks SO much for your help - this is all so useful and despite my
> wandering off-subject, absolutely exactly how I hoped people would
> help me and I'm massively grateful,
> Chris
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to