Welcome Guest, Not a member yet? Register   Sign In
PHP4: Call to a member function on a non-object
#5

[eluser]gtech[/eluser]
If I was in your shoes start from basics, as what you have provided looks ok.

create a fresh controller and model
then create a method in the model that just has the line echo "hello";
then load and call the method from the controller.

you can then satisfy your self that you can load models correctly.

My suspicion is that your model has php5 specific code (maybe you are using a php4 reserved word) in it somewhere and so it is not loading, turn your log_threashold on to 4 by setting the config parameters and see if you get any clues in the log.


Messages In This Thread
PHP4: Call to a member function on a non-object - by El Forum - 05-15-2008, 01:14 PM
PHP4: Call to a member function on a non-object - by El Forum - 05-15-2008, 01:18 PM
PHP4: Call to a member function on a non-object - by El Forum - 05-15-2008, 01:31 PM
PHP4: Call to a member function on a non-object - by El Forum - 05-15-2008, 01:33 PM
PHP4: Call to a member function on a non-object - by El Forum - 05-15-2008, 04:51 PM



Theme © iAndrew 2016 - Forum software by © MyBB