<?php
class Tag extends AppModel { var $name = 'Tag'; }
?>
you forgot "var" tag
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2011/4/8 Dr. Loboto <[email protected]>
> <?php
> class Tag extends AppModel { $name = 'Tag'; }
> ?>
>
> On Apr 7, 9:35 pm, abhimanyu bv <[email protected]> wrote:
> > lass Tag extends AppModel { $name = 'Tag'; } Fatal error: Class 'Tag'
> > not found in /home/downtown/public_html/test_cake/cake/libs/
> > class_registry.php on line 140
> >
> > in ..\app\models\tag.php I have
> >
> > class Tag extends AppModel { $name = 'Tag'; }
> >
> > What silly blunder am I making? I have tried clearing tmp/cache and I
> > have reloaded cakePHP from scratch. I have seen this error in Google
> > searches but it was a relatively obvious syntax error.
>
> --
> 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