Model Problem - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Model Problem (/showthread.php?tid=6700) |
Model Problem - El Forum - 03-08-2008 [eluser]MMCCQQ[/eluser] i got a problem Quote:Fatal error: Call to undefined method Core::Spot_info() in C:\AppServ\www\ts\application\controllers\main.php on line 26 Line 26 : $info['data'] = $this->Core->Spot_info(); Core Model Code: function Spot_info() Model Problem - El Forum - 03-08-2008 [eluser]Fougner[/eluser] Is the Core modded, or is it an expansion from your side? I'm a newbie, but as far as I can tell, you need to load the model from your controller. Dunno if you did or not. Good luck! // Alex |