In case anyone really cares, it was failing because the debugger was 
outputting warnings about changing the salt and cipherSeed configs. So that 
was the output that was being printed before the redirect which was giving 
me issues. Obviously I should have just taken care to do that sooner, but I 
was being lazy and assuming that problem was with my code and not the 
CakePHP library. Live 'n' learn.

On Sunday, March 18, 2012 10:28:02 PM UTC-4, glevine wrote:
>
> I have the following code:
>
> class TestsController extends AppController
> {
>   public function index()
>   {
>     print 'in the index';
>   }
>
>   public function change()
>   {
>     print 'before redirect';
>     $this->redirect(array('controller' => 'test', 'action' => 'index'));
>     print 'after redirect';
>   }
> }
>  
>
> When I visit www.mysite.com/test/change/ I get a page with "before 
> redirect" and the URL is still 
> www.mysite.com/test/change/.<http://www.mysite.com/test/change/>I don't get 
> "after redirect" or "in the index". What am I doing wrong?
>
> Thanks
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to