Skip to content

Any help ? #1

Closed
funinsun opened this Issue Mar 15, 2011 · 1 comment

2 participants

@funinsun

This is the issue i am having. can you think of any solution for this?

Notice (8): Undefined property: View::$FormKeeper [APP/views/users/login.ctp, line 4]

Login

<?php
echo $this->FormKeeper->create();

include - APP/views/users/login.ctp, line 4
View::_render() - CORE/cake/libs/view/view.php, line 666
View::render() - CORE/cake/libs/view/view.php, line 376
Controller::render() - CORE/cake/libs/controller/controller.php, line 803
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 230
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 88

Fatal error: Call to a member function create() on a non-object in /var/www/online/views/users/login.ctp on line 4

@voidet
Owner
voidet commented Mar 15, 2011

This looks as though you are not including the helper correctly. Make sure you include your helper & component in the controller you are using, or if you want it globally, include it in your app_controller.php:

public $components = array('FormKeeper.FormKeeper');
public $helpers = array('FormKeeper.FormKeeper');

Please notice the FormKeeper.FormKeeper convention, it includes the PluginName.ComponentName. Let me know if this helps

@voidet voidet closed this May 29, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.