Wow ! Thanks was it.....I knew I'd be kicking myself for how simple a solution it would be. I will definately keep it in mind.
Just as a side note : When I have DEBUG set to 2, sometimes my redirects don't work as well, so I have to reset it to 0 each time to make sure that it wasn't the DEBUG that was causing me the problem. S On Nov 1, 10:58 am, "meek" <[EMAIL PROTECTED]> wrote: > Well I'm not surely what exactly is going on but I did have a similar > problem the other day. > First of all I would recommend keeping DEBUG set to 2 until you've got > rid of the issue - at least then if there's an error message you'll see > it. > My problem was simply some extra whitespace before the <?php tag in my > controller. The redirect function uses the PHP header function which > must be called before ANYTHING is sent to the browser. Extra whitespace > outwith PHP tags in your controller, or in any other file being > included will prevent the redirect. This a common reason for redirects > not working. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
