We recently changed the base class name from "generated" to "base" to match
all the other base directories. In propel they are all named base for forms,
filters, etc.

- Jon

On Mon, Nov 17, 2008 at 12:27 AM, bstoppel <[EMAIL PROTECTED]>wrote:

>
> I had the same problem with a different Base* class. There were two
> directories with Base* class definitions:
>
> 'project'/lib/model/doctrine/base
> 'project'/lib/model/doctrine/generated
>
> I had to delete the generated directory. Once everything built fine.
>
> Brett
>
> On Nov 4, 10:07 am, "Jonathan Wage" <[EMAIL PROTECTED]> wrote:
> > Same problem. You have 2 copies of the same class somewhere. Grep your
> code
> > and find where the 2 class definitions for BasesfGuardGroup are.
> >
> > - Jon
> >
> > On Mon, Nov 3, 2008 at 2:46 PM, Reynier Perez Mira <[EMAIL PROTECTED]>
> wrote:
> >
> >
> >
> >
> >
> > > > Hmm. Because you have 2 classes with the same name defined :)
> > > > Search your code and find out where and why.
> >
> > > OK, I find but without success and for that  I start from zero and
> delete
> > > every generated class. I try again using this task:
> >
> > > D:\Development\WWW\gestion.local>symfony doctrine-build-all-reload
> backend
> > > >> doctrine  Are you sure you wish to drop your databases? (y/n)
> > > >>> doctrine  Successfully dropped database f...n "propel" named
> > > "uci_recursos"
> > > >> doctrine  Successfully created database f...n "propel" named
> > > "uci_recursos"
> > > >> doctrine  Generated models successfully
> >
> > > And I get another error but with sfGuardDoctrine (I think)
> >
> > > Fatal error: Cannot redeclare class BasesfGuardGroup in
> > >
> D:\Development\WWW\gestion.local\lib\model\doctrine\sfDoctrineGuardPlugin\generated\BasesfGuardGroup.class.php
> > > on line 35
> >
> > > PHP Fatal error:  Cannot redeclare class BasesfGuardGroup in
> > >
> D:\Development\WWW\gestion.local\lib\model\doctrine\sfDoctrineGuardPlugin\generated\BasesfGuardGroup.class.php
> > > on line 35
> >
> > > Ing. Reynier Pérez Mira
> > > Dirección Técnica IP
> >
> > --
> > Jonathan H. Wage
> > Open Source Software Developer &
> Evangelisthttp://www.jwage.comhttp://www.doctrine-project.orghttp://
> www.symfony-project.org
>
> >
>


-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to