Tuesday, November 2, 2010

Re: empty respose after formular was sent

Edit:
When I submit the form, I get an empty page, but with status code 200.
Further, I added debug messages to beforeFilter, afterFilter and
beforeRender of which only the beforeFilter debbug-msg appeared in the
output.

Regards,
rethab

On Nov 2, 9:43 pm, rethab <rethab...@gmail.com> wrote:
> Hello
>
> I have a form for my model 'Student'. So I have this page with the url
> 'students/add' to add new ones. It all works unless I submit the form.
> I checked the params via $this->params in beforeRender and the URL
> seemed to be the same when I submitted the form as well as when just
> displaying the form.
>
> So I debugged in the Security Component inside the method 'blackHole',
> the parameter $error is 'auth' at this point. Therefore I set up all
> the Auth stuff once again, but it had no affect.
>
> I once worked.. but I have no clue, at which point it "died".
>
> I'd appreciate it if anybody could give me a hint..
>
> Regards,
> rethab

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: