Re: got error Error: Call to a member function create() on a non-object on view

2012-08-16 Thread Chetan Patel
Hello Friends, Your file should be like that : index.ctp == Form->create('User', array('action' => 'index'));?> Enter Your Name Form->input('name'); ?> Form->end('Go');?> UsersController.php == data)) { $this->autoRender = false; $t

Re: got error Error: Call to a member function create() on a non-object on view

2012-08-16 Thread Mike Griffin
On Thu, Aug 16, 2012 at 9:57 AM, anespa wrote: > Hi Friends, > > I am newbie in php , when I execute code i got error as "Error: Call to a > member function create() on a non-object > File: C:\wamp\www\cakephp06\app\View\Users\index.ctp > Line: 1" > > my view is : > > index.ctp > == > cre

got error Error: Call to a member function create() on a non-object on view

2012-08-16 Thread anespa
Hi Friends, I am newbie in php , when I execute code i got error as "*Error: * Call to a member function create() on a non-object *File: * C:\wamp\www\cakephp06\app\View\Users\index.ctp *Line: * 1" my view is : index.ctp == create(null, array('action' => 'index'));?> Enter Your Name