Thank you folks.

You are right, the problem is exactly because of phpcake 1.3.

When I download the 1.2 and replace the "cake" folder, everything works...

I don't know how, but I hope maybe someone could fix this, it's a great
framework though.

Thanks again.

-David

On Wed, Feb 2, 2011 at 8:04 PM, euromark <dereurom...@googlemail.com> wrote:

> i am guessing its the cake1.3 bug
> do you use ANY variable in the view called $html?
> it destroys both $html and $this->Html helper objects
>
> @Jeremy
> "If so, they override the defaults, which means that the Html helper
> is not loaded"
>
> what version are you referring to? cake usually joins both app and
> custom controller helpers together
> at least for the custom controllers. you probably meant the app
> controller
>
> anyway, use
> var $helpers = array('Html', ...);
> in you own app_controller.php
> and don't use $html as variable and it should work
>
>
> On 2 Feb., 17:50, ibejohn818 <john.c.ha...@gmail.com> wrote:
> > What version of PHP/Server/Operating system are you running on?
> >
> > This very well could be the issue.
> >
> > On Feb 2, 4:38 am, Huy Nguyen <nvquang...@gmail.com> wrote:
> >
> >
> >
> >
> >
> >
> >
> > > I'm totally new to CakePHP so I followed the Blog example up to this
> point
> > > and get error because $this->Html not found in View.
> http://book.cakephp.org/view/1536/Creating-Post-Views
> >
> > > I believe the right way is $html instead of $this->Html (as pointed out
> by
> > > another person on Stackoverflow)
> >
> > >http://stackoverflow.com/questions/4873781/htmlhelper-not-loaded-in-t.
> ..
> >
> > > So I think someone with authority should edit the example in the Book?
> >
> > > Huy
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>For
>  more options, visit this group at
> http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to