Why does everyone keep beating the dead horse of a wiki? We had one
before, when I first got into Cake. Guess what? It wasn't very
effective. Outdated articles providing poor solutions to problems that
didn't need to be solved. I prefer the Bakery, these groups and the
various articles written on
I did some further testing and what was happening was that I was
redirecting to a page that had a route assigned to it.
Here's the situation:
User goes to http://apps.face.../messages/post/
//messages_controller.php
function post() {
// ... Some Stuff
// Redirect back to McGriff messag
Hmm. It probably is a FaceBook thing like David said, see here:
http://facebook-developer.net/2007/11/27/implementing-a-simple-facebook-redirect-with-cakephp/
"In Facebook, redirecting the end user cannot be performed with a
standard redirect call as in the above example. Trying to do so will
in
huh, that's really odd, it looks good to me. Maybe it's a facebook
thing. Have you tried it on a different server? Also, what happens if
you use $this->redirect("/messages/")? I think the url routing is all
handled in /webroot/index.php so maybe it doesn't like redirecting to
a shallower path?
Da
Hey,
I'm moderately new with CakePHP, but I have this issue where my
redirect leaves the old URL in the browser.
[code]
//messages_controller.php
function post() {
// ... Some Stuff
// Redirect back to McGriff messages
$this->redirect("/");
}
[/code]
Yet the browser still shows: h