Any help ? #1

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

Comments

Projects
None yet
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

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

This comment has been minimized.

Show comment
Hide comment
@voidet

voidet Mar 15, 2011

Owner

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

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