How are you defining you layout for the methods?

Do you have ?

$this->layout = 'ajax';

Regards,

Alfredo

On Fri, Apr 3, 2009 at 8:30 PM, Aurelius <aurel...@temporaryinbox.com> wrote:
>
> I already tried making the Blogs/edit/ Output static (in the edit.ctp-
> file is only "I'm working"), the BlogsController Method is as well
> empty, but still there's nothing coming from the Server other than an
> empty Document with an working header and StatusCode 200. When opening
> that link in the brwoser I get redirected to a login form :-/
> The AJAX url looks like that:
> http://myhost.com/Blogs/edit/Content.json?_dc=1238803628586&languages=deu%2Ceng
>
> I've the same problem with another Controller which gets called
> through AJAX, so it can't be because of an endless loop or something
> like that ...
>
> Any more Ideas?
>
> thx
> Aurelius
>
>
> On 3 Apr., 22:40, Miles J <mileswjohn...@gmail.com> wrote:
>> Im doing the same thing but have not run into this problem. A few
>> questions:
>>
>> 1 - Are the controllers in the same folder, or different apps?
>>
>> 2 - Are you calling parent::beforeFilter() in both controllers?
>>
>> 3 - What lever is your security setting at? Try medium.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to