Models not being located |
[eluser]jedd[/eluser]
If controllers are working, then models tend to just work - I can't think of anything obvious, along the lines of pathing, that would give you this problem. You've said your config settings are accurate - though the code you showed in your first post: Quote:I have correctly setup $config[‘base_url’] = http://webserver.com/~myuseraccount .. is perhaps sanguine, given the advice given in the config.php file immediately above that setting, viz: Code: | URL to your CodeIgniter root. Typically this will be your base URL, You can see why my 'trust your accuracy' cup does not runneth overeth. [quote author="jedd" date="1259873945"] [quote author="moopa" date="1259862181"] Any page that references my models does not work (i get Unable to locate the model you have specified: videodatasource). [/quote] You've declined to show the class instantiation line of your model, or how you're calling them from your controller, or what the filename is of the model itself. [/quote] Humour me - show me the filename, the 'class ... extends' line from a failing Model, and a line in your Controller that calls the Model. You may want to read up on the Model naming standards in the user guide first, though in a sense that would be cheating. |
Messages In This Thread |
Models not being located - by El Forum - 12-03-2009, 05:43 AM
Models not being located - by El Forum - 12-03-2009, 08:59 AM
Models not being located - by El Forum - 12-03-2009, 09:26 AM
Models not being located - by El Forum - 12-03-2009, 10:05 AM
Models not being located - by El Forum - 12-03-2009, 10:17 AM
Models not being located - by El Forum - 12-03-2009, 10:46 AM
Models not being located - by El Forum - 12-03-2009, 02:20 PM
Models not being located - by El Forum - 12-03-2009, 03:21 PM
Models not being located - by El Forum - 12-03-2009, 04:21 PM
Models not being located - by El Forum - 12-03-2009, 04:27 PM
Models not being located - by El Forum - 04-28-2014, 10:43 AM
Models not being located - by El Forum - 04-29-2014, 08:02 AM
Models not being located - by El Forum - 04-29-2014, 08:09 AM
|