I am using PHP 5.3.5 and Apache 2.2.17 bundled in wampserver, running on Windows 7. CakePHP 1.3.7
And no I don't declare any $html variable in the view. I was just following suit the Blog tutorial on CakePHP Book. On Thu, Feb 3, 2011 at 11:10 AM, Jeremy Burns | Class Outfit < [email protected]> wrote: > You are right - I stand corrected. > > Jeremy Burns > Class Outfit > > [email protected] > http://www.classoutfit.com > > On 3 Feb 2011, at 01:04, euromark 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 <[email protected]> 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 <[email protected]> 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 > > [email protected]<cake-php%[email protected]>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 > [email protected]<cake-php%[email protected]>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 [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
