Re: Error when submitting form to a controller using different model name

2008-12-08 Thread Tony
Yeah I had the correct controller. What happened is that I didn't pass a variable I was using within the default.ctp into the action. This caused a bunch of errors. The second thing I didn't do is that I wasn't using the html and JavaScript helpers to include the CSS and JavaScript files correctl

Re: Error when submitting form to a controller using different model name

2008-12-07 Thread thatsgreat2345
Do you have a controller called businesses_controller.php and in that a function called thank_you? On Dec 7, 9:37 pm, Tony <[EMAIL PROTECTED]> wrote: > I'm in the process of creating a website that is for my affiliates and > their information is stored into a model called 'User' and I have a > co

Error when submitting form to a controller using different model name

2008-12-07 Thread Tony
I'm in the process of creating a website that is for my affiliates and their information is stored into a model called 'User' and I have a controller called businesses with two actions; index and thank_you. When a prospect lands onto the page they are given a sales letter and a form to fill out.