Well I just now found one way to work with it. The problem comes in because
of conflicts in two different scripts that both try to load the
sfCoreAutoLoad class. So by editing the ProjectConfiguration.class.php file
(which should only affect this project and not symfony as a whole on my
machine) to this:

if(!class_exists('sfCoreAutoload'))
{
    include_once
dirname(__FILE__).'/../lib/symfony/autoload/sfCoreAutoload.class.php';
    sfCoreAutoload::register();
}

It prevents the message from popping and everything runs fine because the
relevant class is included somewhere along the line.

Oh and symfony's deploy feature .. fantastic work guys .. really makes life
so much easier. No way I will be going back to non-symfony development in a
hurry (or ever if I have my way).

On Wed, Jan 21, 2009 at 2:41 PM, Yevgeniy A. Viktorov
<[email protected]>wrote:

>
>
> Please, try "./symfony project:unfreeze" exactly. ;)
>
> On Wed, 2009-01-21 at 14:31 +0200, Gareth McCumskey wrote:
> > Hi all,
> >
> > I am trying to deploy a project onto a server using the project:freeze
> > and project:deploy commands. After using "symfony
> > project:freeze /usr/share/php/data/symfony" everything looks good and
> > no errors. Then running a "symfony project:deploy production" (after
> > setting the properties.ini accordingly) results in an error:
> >
> > Fatal error: Cannot redeclare class sfCoreAutoload
> > in
> /home/gareth/workspace/pinpoint2_MailOpsSOAP/lib/symfony/autoload/sfCoreAutoload.class.php
> on line 28
> >
> > I do not want to go mucking about with symfony innards because of the
> > inevitable changes that will occur after this project when we upgrade
> > to symfony 1.2. I have googled for a solution but have come up empty
> > up till now. The odd thing is that after the freeze I now cannot run
> > any symfony command. Even "symfony cc" results inthe above message. I
> > did try to unfreeze ("symfony project:unfreeze") but this also gave
> > the same error.
> >
> > Regards
> >
> > Gareth McCumskey
> >
> > >
>
>
> >
>

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