Monday, October 4, 2010

blog tutorial Html->link problem

Hello. I am following along on the blog tutorial and I can't get my
first view to work.

I set up the database just fine and created my model and controller. I
copy/pasted in the view code but I get this error:

Notice (8): Undefined property: View::$Html
Fatal error: Call to a member function link() on a non-object

I tried dumping out $this and saw that in fact there is no Html
property.

Suggestions?

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: