Ok, this is weird. I found this tutorial on doing searches. http://mrphp.com.au/code/search-forms-cakephp
That's good. Now, this is my Model: http://bin.cakephp.org/view/1495255597 View: http://bin.cakephp.org/view/814828491 Controller: http://bin.cakephp.org/view/1212386780 Now, when I run the search based on someone, I get something like this: Missing Controller *Error: **ProvidersController* could not be found. *Error: *Create the class *ProvidersController* below in file: app\controllers\providers_controller.php <?php class ProvidersController extends AppController { var $name = 'Providers'; } ?> *Notice: *If you want to customize this error message, create app\views\errors\missing_controller.ctp Now, I don't have Providers, I have Provider (singular only), so where is it getting the plural from? On Fri, Oct 21, 2011 at 12:30 PM, Yves S. Garret <yoursurrogate...@gmail.com > wrote: > My question in that case would be, why am I getting that error? > > > On Thu, Oct 20, 2011 at 5:12 PM, Yves S. Garret < > yoursurrogate...@gmail.com> wrote: > >> I have a decent understanding of what the tutorial is trying to do. >> However, trying it to move it into my project is my present issue. >> >> Here is my model: >> http://bin.cakephp.org/view/792515073 >> Here is my controller: >> http://bin.cakephp.org/view/514764310 >> Here is my view: >> http://bin.cakephp.org/view/1923279272 >> >> The issue that I get when I run Search: >> >> Missing Controller >> >> *Error: **ProvidersController* could not be found. >> >> *Error: *Create the class *ProvidersController* below in file: >> app\controllers\providers_controller.php >> >> <?php >> class ProvidersController extends AppController { >> >> var $name = 'Providers'; >> } >> ?> >> >> *Notice: *If you want to customize this error message, create >> app\views\errors\missing_controller.ctp >> >> provider_controller.php has a var $name = 'Providers'; as the name... >> >> >> On Tue, Oct 18, 2011 at 3:27 PM, Dee Johnson <devario...@gmail.com>wrote: >> >>> my apologies, I saw where you said you wanted to make the tutorial >>> simpler and i assumed that you already knew how to make calls etc. >>> >>> The tutorial is using a search behavior (which probably does the calls - >>> i haven't looked to verify) >>> >>> but to answer your question from above, I would recommend doing the >>> tutorial OUTSIDE of your current project just to familiarize yourself with >>> what it is asking you to do. >>> >>> Once you get that up and running you would have a much better >>> understanding of what direction you would rather go in as a developer. >>> >>> so...yes...follow all steps in the tut. >>> >>> Now, if you are going away from the tutorial, you can just the data that >>> comes back in the $this->data collection from your search box in the view >>> and use that model call I used above. If you dont understand this last bit, >>> it is best you try the tutorial out first with a fresh install etc...so as >>> not to disrupt your project or in the very least back it up. >>> >>> -- >>> Our newest site for the community: CakePHP Video Tutorials >>> http://tv.cakephp.org >>> Check out the new CakePHP Questions site http://ask.cakephp.org and help >>> others with their CakePHP related questions. >>> >>> >>> To unsubscribe from this group, send email to >>> cake-php+unsubscr...@googlegroups.com For more options, visit this group >>> at http://groups.google.com/group/cake-php >>> >> >> > -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php