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' also gets 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to