Controller: <?php class UsersController extends AppController { var $name = 'Users';
function index() { } function login() { } } ?> View: <h1>Please Login</h1> <?=$form->create('User', array('action' => 'login')); ?> <p> Email:<br /> <?=$form->input('email');?> </p> <p> Password:<br /> <?=$form->password('password');?> </p> <p> <?= $form->end('Login');?> </p> Error: Fatal error: Call to a member function on a non-object in /var/www/ vhosts/365mediaservices.com/subdomains/clients/httpdocs/app/views/ users/login.thtml on line 3 Any help? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---