KO3_FirePHP icon indicating copy to clipboard operation
KO3_FirePHP copied to clipboard

Kohana Redirects

Open Webthink opened this issue 14 years ago • 3 comments

Messages that occur before a redirect are never displayed and messages that occur on pages after a redirect are displayed twice.

so if we have //controller 1 fire::log("redirecting"); Request::instance()->redirect('controller2');

//controller 2

fire:log("now we're here");

you'll see "now we're here" twice.

Maybe this an inherent problem with the way firePHP is tied to request headers? I thought I would bring it to your attention anyway.

Webthink avatar May 29 '10 15:05 Webthink

Seems it may be a firePHP problem. Here is a forum firePHP discussion not sure if it ever resulted in an tracked-issue or fix. http://firephp.842658.n2.nabble.com/Redirects-and-Messages-tp4597176.html

Webthink avatar May 29 '10 16:05 Webthink

Another update :) I created a ticket http://code.google.com/p/firephp/issues/detail?id=146 to track the issue. If/when it gets fixed it'll obviously result in you needing to replace your vendor code with the new version.

I'll keep an eye on it and let you know.

Webthink avatar May 29 '10 17:05 Webthink

Thanks for the update!

jerfowler avatar Jun 01 '10 14:06 jerfowler