Thank you. That was what happened...
I dropped the Security Component from the app_controller and than imported it where I need it. Now it works as it should work. Thanks. - Warringer On 15 Sep., 10:08, wilfredo <[email protected]> wrote: > I had a similar problem this days. I found out, that this was a > problem with the security component. > > When the security component is enabled all the POST data is validated. > If there is a problem with this data, you are redirected to a blank > 404 page (black page). > > I disabled the security component, fixed the problem and enabled it > again. > > Hope this helps! > > wilfredo > > On Sep 13, 7:42 pm, Warringer <[email protected]> wrote: > > > > > I have run into a very strange error today. > > > After baking model, view and controller for one table, I set of to > > modify the 'add' action to work with a adding chain of adding data to > > several tables. > > > It worked well until I ran into the problem... > > > All I added to get additional data into the view for hidden fields... > > > function add($a = 0, $b = 0) > > { > > ... > > $this->set('a',$a); > > $this->set('b',$b); > > > } > > > ... And going through the other adds of the chain, I got a 404 error > > from cake. > > > But its not the prebuild Cake 404 error you get on a missing > > controller or action, but simply a blank page with just the SQL query > > table on it. And that was it. > > > The header of the HTML form is normal. > > > <form if="ControllerAddForm" action="/directory/controller/add" > > method="post"> > > > From the chain the form is requested with 'http://localhost/directory/ > > controller/add/1/2'. But it can't be the missing number in the end as > > 'http://localhost/directory/controller/add'alsogets me the form. > > > I hope someone can help me out here.... > > > - Warringer --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
