Everywhere I could find, the:
_attributes: { phpName: Article }
existed on all the schema definitions.
Listing 8-3 gives you the schema you should be using.
- Jon
On Mon, Dec 1, 2008 at 11:38 AM, PaulM <[EMAIL PROTECTED]> wrote:
>
> okay - here is the problem....in the docs - there are several
> versions for the schema.yml...sometimes with:
>
> blog_article:
> _attributes: { phpName: Article }
> id:
>
>
>
> and at other times without the phpName: Article. and so upon building
> the schema something goes wrong because the rest of the document
> assumes in its commands that the phpName:Article was not used and
> sometimes that it was used....creating inconsistency in
> nomenclature.......
>
> can someone fix this problem here:
> http://www.symfony-project.org/book/1_2/08-Inside-the-Model-Layer
>
> AND here: http://www.symfony-project.org/book/1_2/14-Generators
>
>
> It is very counter-productive...
>
> On Dec 1, 12:18 pm, Fabien Potencier <[EMAIL PROTECTED]
> project.com> wrote:
> > What do you have in the lib/model/filter/ directory?
> >
> > --
> > Fabien Potencier
> > Sensio CEO - symfony lead developer
> > sensiolabs.com | symfony-project.com | aide-de-camp.org
> > Tél: +33 1 40 99 80 80
> >
> > PaulM wrote:
> > > I did everything again the exact same way and still getting the same
> > > error:
> >
> > > Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache
> > > \backend\dev\modules\autoArticle\lib
> > > \BaseArticleGeneratorConfiguration.class.php on line 210
> >
> > > On Dec 1, 11:28 am, PaulM <[EMAIL PROTECTED]> wrote:
> > >> no...just 1 -> 1.2 version.
> >
> > >> On Dec 1, 10:50 am, "Serkan Koyuncu" <[EMAIL PROTECTED]>
> wrote:
> >
> > >>> are you using multiple versions of symfony? 1.0 w 1.2?
> > >>> 2008/12/1 PaulM <[EMAIL PROTECTED]>
> > >>>> Let me ask you this:
> > >>>> 1.1 Documents show :
> > >>>> propel:
> > >>>> blog_article:
> > >>>> _attributes: { phpName: Article }
> > >>>> id:
> > >>>> title: varchar(255)
> > >>>> content: longvarchar
> > >>>> created_at:
> > >>>> blog_comment:
> > >>>> _attributes: { phpName: Comment }
> > >>>> id:
> > >>>> article_id:
> > >>>> author: varchar(255)
> > >>>> content: longvarchar
> > >>>> created_at:
> > >>>> and 1.2 documents show:
> > >>>> propel:
> > >>>> blog_article:
> > >>>> id: ~
> > >>>> title: varchar(255)
> > >>>> content: longvarchar
> > >>>> created_at: ~
> > >>>> blog_comment:
> > >>>> id: ~
> > >>>> blog_article_id: ~
> > >>>> author: varchar(255)
> > >>>> content: longvarchar
> > >>>> created_at: ~
> > >>>> which one is workable with 1.2 admin generator?
> > >>>> On Dec 1, 10:12 am, "Nicolas Perriault" <[EMAIL PROTECTED]>
> wrote:
> > >>>>> On Mon, Dec 1, 2008 at 4:09 PM, PaulM <[EMAIL PROTECTED]> wrote:
> > >>>>>> Fatal error: Class 'ArticleFormFilter' not found in
> E:\www\symf\cache
> > >>>>>> \backend2\dev\modules\autoArticle\lib
> > >>>>>> \BaseArticleGeneratorConfiguration.class.php on line 210
> > >>>>> You need to run ./symfony propel:build-filters
> > >>>>> Then symfony cc
> > >>>>> ++
> > >>>>> --
> > >>>>> Nicolas Perriaulthttp://prendreuncafe.com-http://symfonians.net-
> > >>>>http://sensiolabs.com
> > >>>>> Phone: +33 660 92 08 67
> >
>
--
Jonathan H. Wage
Open Source Software Developer & Evangelist
http://www.jwage.com
http://www.doctrine-project.org
http://www.symfony-project.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---