Hello.
Just some hours ago, I've spent my time migrating from CakePHP 1.2
beta to RC2.
Now, I'm having troubles with de Controller::redirect() method. All
methods from all controlers using $this->redirect are returning blank
pages (except for the debugs messages, but none about why the blank
pages).
A single example:
function template($id) {
$_SESSION["Blog"]["template"] = "template" . $id;
$this->redirect("/");
}
If I comment the redirect call, Cake tries to render the template.ctp
view. I think that prooves that's a redirect() fail.
Can somebody helps?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---