Thanks adding the var $helpers only seem to generate more errors
though :(

Notice: Undefined index: models in E:\xampp\htdocs\portfolio\cake\libs
\view\helpers\form.php on line 84

Notice: Undefined index: controller in E:\xampp\htdocs\portfolio\cake
\libs\view\helpers\form.php on line 117

Notice: Trying to get property of non-object in E:\xampp\htdocs
\portfolio\cake\libs\view\helpers\form.php on line 158

Fatal error: Call to a member function parseHtmlOptions() on a non-
object in E:\xampp\htdocs\portfolio\cake\libs\view\helpers\form.php on
line 158


On Feb 17, 1:07 am, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> Make sure that your var $helpers includes the value for form helper
>
> in your controller you need to have
>
> var $helpers = array('Html','Ajax','Form');
>
> say if you want to be able to use the formHelper from your views. It
> seems pretty stable to me and it is totally addictive ;)  But it is
> still in development and is subject to change and could change out
> from under you.  But the choice to use the 'release' is yours and is
> probably a wise one as the majority of the documentation is targeted
> at 1.1 as are most of the related information scattered all over the
> web.
>
> Sam D
>
> On 2/16/07, Mech7 <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Thanks the link explained it pretty well but i think it is still very
> > buggy so i probably think ill go back to the stable 1.1
> > with :
> > <?=$form->create(array('default' => false)); ?>
>
> >  it tells me that $form is not defined, so when i put on the top:
>
> >  $form = new FormHelper();
>
> > Then it gives me :
>
> > Fatal error: Class 'FormHelper' not found in E:\xampp\htdocs\portfolio
> > \app\views\users\register.thtml on line 2
>
> > On Feb 16, 11:03 pm, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> > > Given that 1.2 is still marked as development I wouldn't expect
> > > official documentation on it yet.  You can find some information on
> > > the form helper for 1.2 
> > > athttp://cake.insertdesignhere.com/posts/view/15also the api can be
> > > reached at api.cakephp.org/1.2/ though that is probably subject to
> > > change and I do not know with what regularity it has been updated
>
> > > Sam D
>
> > > On 2/16/07, Mech7 <[EMAIL PROTECTED]> wrote:
>
> > > > Ok i am following the IBM tutorial for Tor but now i get this error
> > > > with the registration form:
>
> > > > (HtmlHelper::formTag) Deprecated: Use FormHelper::create instead
>
> > > > To what should i change this? and how do i find what is changed in
> > > > 1.2?
> > > > <?php echo $html->formTag('/users/register') ?>
>
> > > --
> > > ==
> > > S. DeVore
> > > (the old fart) the advice is free, the lack of crankiness will cost you
>
> > > - its a fine line between a real question and an idiot
>
> --
> ==
> S. DeVore
> (the old fart) the advice is free, the lack of crankiness will cost you
>
> - its a fine line between a real question and an idiot


--~--~---------~--~----~------------~-------~--~----~
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