On Sep 4, 2:17 pm, Jérôme <[EMAIL PROTECTED]> wrote:
> Hi,
>
> When I try to launch "symfony cc" command, I get the following error :
>
> Parse error: syntax error, unexpected T_STRING, expecting
> T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}'
> ProjectConfiguration.class.php
>
> This is my ProjectConfiguration.Class.php file :
>
> <?php
>
> require_once '/usr/local/linkbynet/php-5.2.6/lib/php/symfony/autoload/
> sfCoreAutoload.class.php';
> sfCoreAutoload::register();
>
> class ProjectConfiguration extends sfProjectConfiguration
> {
>   public function setup()
>   {
>   }
>
> }
>
> Thanksfor your help.

This is almost certainly due to your default command-line PHP being
version 4. Change your executable paths or symlinks so that 5.x is
called, and this should work.
--~--~---------~--~----~------------~-------~--~----~
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