So when calling:
/my_controller/function.

And then if in my function I would try to do something like that:
$this->MyController->DoSomething()

I would then get his error message:
cakephp Call to a member function on a non-object

If I try to print_r on $this I would see that the object MyController
object was not created.

Then I changed the model and renamed the controller name to
Mycontroller and everything is fine. I.e. the object is created.

So for the moment I conclude that CakePhP is working better under PhP5.

c.


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Cake PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to