have you got helpers array in the controller?
you may have various helpers in the array.
check the app_controller too
var $helpers = array(
'Html'
);
- S
On 9 September 2011 15:17, Jeremy Williams <[email protected]> wrote:
> I did the blog tut on: "http://book.cakephp.org/view/1528/Blog" and i
> have an error: "Notice (8): Undefined property: View::$Html [APP\views
> \posts\index.ctp, line 4]"
>
> basically i am too new to cakephp to understand what this means or how
> to fix it. Here is some other information it gives me, hope it can
> help you help me.
>
> <h1>Blog posts</h1>
>
> <p><?php echo $this->Html->link("Add Post", array('action' =>
> 'add')); ?></p>
>
> include - APP\views\posts\index.ctp, line 4
> View::_render() - CORE\cake\libs\view\view.php, line 718
> View::render() - CORE\cake\libs\view\view.php, line 417
> Controller::render() - CORE\cake\libs\controller\controller.php, line
> 861
> Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 243
> Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 206
> require - APP\webroot\index.php, line 83
> [main] - CORE\index.php, line 55
>
> --
> 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
>
--
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