Welcome Guest, Not a member yet? Register   Sign In
Model working in one controller, but not in another.
#4

[eluser]mdrisser[/eluser]
D'OH!

I found the problem, I was trying to load the Model in a function that I wasn't calling at that point.

I was calling: http://localhost/myapp/index/php/addplace and the Model was being loaded in the process_form function, which means it wasn't being loaded until I called http://localhost/myapp/index.php/add_place/process_form


Messages In This Thread
Model working in one controller, but not in another. - by El Forum - 12-29-2008, 01:56 PM
Model working in one controller, but not in another. - by El Forum - 12-29-2008, 03:14 PM
Model working in one controller, but not in another. - by El Forum - 12-29-2008, 04:33 PM
Model working in one controller, but not in another. - by El Forum - 12-29-2008, 05:48 PM



Theme © iAndrew 2016 - Forum software by © MyBB