On the plus side, you won't make that mistake again ;-)

On Dec 15, 8:59 pm, stefuNz <[EMAIL PROTECTED]> wrote:
> awww FORGET IT !
> just found that i wrote var $helpers = array('Form'); in the model and
> not the controller ...
>
> nevermind :(
>
> On 15 Dez., 21:56, stefuNz <[EMAIL PROTECTED]> wrote:
>
> > Hey ...
> > Sorry for my second question this evening ;)
>
> > But I just found this error:
>
> > Notice (8): Undefined variable: form [CORE\app\views\users
> > \register.thtml, line 66]
>
> > Context | Code
>
> > $this   =       array("name" => "Users", "here" => "/cakeproject/users/
> > register", "parent" => null, "action" => "register", "model" => null,
> > "association" => null, "field" => null, "fieldSuffix" => null,
> > "modelId" => null, "uses" => false, "helpers" => array, "viewPath" =>
> > "users", "layoutPath" => null, "viewVars" => array, "__scripts" =>
> > array, "pageTitle" => false, "models" => array, "base" => "/
> > cakeproject", "layout" => "default", "autoRender" => true,
> > "autoLayout" => true, "params" => array, "hasRendered" => false,
> > "loaded" => array, "ext" => ".ctp", "subDir" => null, "themeWeb" =>
> > null, "plugin" => null, "pluginPath" => null, "pluginPaths" => array,
> > "passedArgs" => array, "__passedVars" => array, "uuids" => array,
> > "_log" => null, "webroot" => "/cakeproject/", "modelNames" => array,
> > "data" => null, "webservices" => null, "cacheAction" => false)
> > $___viewFn      =       "D:\xampp\xampp\htdocs\cakeproject\app\views\users
> > \register.thtml"
> > $___dataForView =       array("ip" => "127.0.0.1", "host" => "localhost")
> > $loadHelpers    =       true
> > $cached =       false
> > $loadedHelpers  =       array("Html" => array, "Session" => array)
> > $helper =       array("helpers" => null, "__active" => true, "valid" =>
> > false, "error" => false, "_userAgent" =>
> > "97d3931cf333eb6077958dca0114c3f6", "path" => false, "lastError" =>
> > null, "security" => null, "time" => 1197751853, "sessionTime" =>
> > false, "watchKeys" => array, "_log" => null, "base" => "/cakeproject",
> > "webroot" => "/cakeproject/", "here" => "/cakeproject/users/register",
> > "params" => array, "action" => "register", "data" => null, "themeWeb"
> > => null, "plugin" => null)
> > $replace        =       "s"
> > $camelBackedHelper      =       "session"
> > $html   =       array("tags" => array, "base" => "/cakeproject", "here" => 
> > "/
> > cakeproject/users/register", "params" => array, "action" =>
> > "register", "data" => null, "_crumbs" => array, "__docTypes" => array,
> > "helpers" => null, "webroot" => "/cakeproject/", "themeWeb" => null,
> > "plugin" => null, "namedArgs" => null, "argSeparator" => null,
> > "validationErrors" => null, "__tainted" => null, "__cleaned" => null,
> > "_log" => null)
> > $session        =       array("helpers" => null, "__active" => true, 
> > "valid" =>
> > false, "error" => false, "_userAgent" =>
> > "97d3931cf333eb6077958dca0114c3f6", "path" => false, "lastError" =>
> > null, "security" => null, "time" => 1197751853, "sessionTime" =>
> > false, "watchKeys" => array, "_log" => null, "base" => "/cakeproject",
> > "webroot" => "/cakeproject/", "here" => "/cakeproject/users/register",
> > "params" => array, "action" => "register", "data" => null, "themeWeb"
> > => null, "plugin" => null)
> > $ip     =       "127.0.0.1"
> > $host   =       "localhost"
> > $BASE   =       "/cakeproject"
> > $params =       array("pass" => array, "controller" => "users", "action" =>
> > "register", "plugin" => null, "form" => array, "url" => array, "bare"
> > => 0, "webservices" => null, "models" => array)
> > $page_title     =       false
>
> >                     <? echo $form->create('User'); ?>
>
> > include - CORE\app\views\users\register.thtml, line 66
> > View::_render() - CORE\cake\libs\view\view.php, line 765
> > View::render() - CORE\cake\libs\view\view.php, line 320
> > Controller::render() - CORE\cake\libs\controller\controller.php, line
> > 664
> > Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 280
> > Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 248
> > [main] - CORE\app\webroot\index.php, line 84
>
> > Fatal error: Call to a member function create() on a non-object in
>
> > Now ... whats this? I even explicitically included the helper via var
> > $helpers = array('Form'); but doesn't work ...
--~--~---------~--~----~------------~-------~--~----~
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