Could you please write some of your code for your form?
That will help to know where your problem can be.

Regards.

2010/11/2 rethab <[email protected]>

> I sorry for my one man conversation, but I hope this is gonna be my
> last post and will probably help you.
>
> I noticed some similar behavior like this bug:
> https://trac.cakephp.org/ticket/5489
> Actually, the bug described there happens when submitting a file,
> which I did not do. But as for the similarities: I managed to get the
> form working after I had disabled the Security component. Secondly, as
> I went through the apache logs, I discovered the 404 errors unlike my
> web browser which showed code: 200.
>
> My form did not only contain data for the model Student but also some
> other things which were related to it.
> works:
> - security enabled, form with student data only
> - security disabled, form with all data
>
> When submitting additional data in combination with an activated
> security component, it failed. As for cake, I'm really not a pro, but
> I suppose there might be an issue in the generation of _Token (key,
> fields) in combination with additional (more than just the ordinary
> model) form data.
>
> Regards,
> rethab
>
> On Nov 2, 9:46 pm, rethab <[email protected]> wrote:
> > 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 <[email protected]> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]<cake-php%[email protected]>For
>  more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>

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 [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to