IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Symfony PHP Discussion :

Problème installation : PHP fatal error


Sujet :

Symfony PHP

  1. #1
    Membre régulier
    Profil pro
    Inscrit en
    Juillet 2007
    Messages
    159
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juillet 2007
    Messages : 159
    Points : 88
    Points
    88
    Par défaut Problème installation : PHP fatal error
    Hi,

    Voila je viens d'installer wamp2.2 avec PHP5.4.3 j'ai télécharger sur le site pear.php.net le fichier go-pear.phar. Tout est installé sur ma machine la commande php -v me retourne :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
     
    C:\wamp\www\Symfony>php -v
    PHP 5.4.3 (cli) (built: May 15 2012 01:01:59)
    Copyright (c) 1997-2012 The PHP Group
    Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
        with Xdebug v2.2.0, Copyright (c) 2002-2012, by Derick Rethans
    Par contre la commande suivante : php app/console me retourne :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
     
    C:\wamp\www\Symfony>php app/console
    PHP Fatal error:  Class 'Symfony\Component\DependencyInjection\Compiler\ResolveD
    efinitionTemplatesPass' not found in C:\wamp\www\Symfony\vendor\symfony\src\Symf
    ony\Component\DependencyInjection\Compiler\PassConfig.php on line 50
    PHP Stack trace:
    PHP   1. {main}() C:\wamp\www\Symfony\app\console:0
    PHP   2. Symfony\Component\Console\Application->run() C:\wamp\www\Symfony\app\co
    nsole:22
    PHP   3. Symfony\Bundle\FrameworkBundle\Console\Application->doRun() C:\wamp\www
    \Symfony\vendor\symfony\src\Symfony\Component\Console\Application.php:118
    PHP   4. Symfony\Bundle\FrameworkBundle\Console\Application->registerCommands()
    C:\wamp\www\Symfony\vendor\symfony\src\Symfony\Bundle\FrameworkBundle\Console\Ap
    plication.php:66
    PHP   5. Symfony\Component\HttpKernel\Kernel->boot() C:\wamp\www\Symfony\vendor\
    symfony\src\Symfony\Bundle\FrameworkBundle\Console\Application.php:80
    PHP   6. Symfony\Component\HttpKernel\Kernel->initializeContainer() C:\wamp\www\
    Symfony\app\bootstrap.php.cache:517
    PHP   7. Symfony\Component\HttpKernel\Kernel->buildContainer() C:\wamp\www\Symfo
    ny\app\bootstrap.php.cache:783
    PHP   8. Symfony\Bundle\FrameworkBundle\FrameworkBundle->build() C:\wamp\www\Sym
    fony\app\bootstrap.php.cache:852
    PHP   9. Symfony\Component\DependencyInjection\ContainerBuilder->addCompilerPass
    () C:\wamp\www\Symfony\vendor\symfony\src\Symfony\Bundle\FrameworkBundle\Framewo
    rkBundle.php:51
    PHP  10. Symfony\Component\DependencyInjection\Compiler\Compiler->__construct()
    C:\wamp\www\Symfony\vendor\symfony\src\Symfony\Component\DependencyInjection\Con
    tainerBuilder.php:180
    PHP  11. Symfony\Component\DependencyInjection\Compiler\PassConfig->__construct(
    ) C:\wamp\www\Symfony\vendor\symfony\src\Symfony\Component\DependencyInjection\C
    ompiler\Compiler.php:36
     
    Fatal error: Class 'Symfony\Component\DependencyInjection\Compiler\ResolveDefini
    tionTemplatesPass' not found in C:\wamp\www\Symfony\vendor\symfony\src\Symfony\C
    omponent\DependencyInjection\Compiler\PassConfig.php on line 50
     
    Call Stack:
        0.0006     232712   1. {main}() C:\wamp\www\Symfony\app\console:0
        0.0218    1765896   2. Symfony\Component\Console\Application->run() C:\wamp\
    www\Symfony\app\console:22
        0.0260    1938680   3. Symfony\Bundle\FrameworkBundle\Console\Application->d
    oRun() C:\wamp\www\Symfony\vendor\symfony\src\Symfony\Component\Console\Applicat
    ion.php:118
        0.0260    1938776   4. Symfony\Bundle\FrameworkBundle\Console\Application->r
    egisterCommands() C:\wamp\www\Symfony\vendor\symfony\src\Symfony\Bundle\Framewor
    kBundle\Console\Application.php:66
        0.0261    1938872   5. Symfony\Component\HttpKernel\Kernel->boot() C:\wamp\w
    ww\Symfony\vendor\symfony\src\Symfony\Bundle\FrameworkBundle\Console\Application
    .php:80
        0.0322    2103752   6. Symfony\Component\HttpKernel\Kernel->initializeContai
    ner() C:\wamp\www\Symfony\app\bootstrap.php.cache:517
        0.0324    2104864   7. Symfony\Component\HttpKernel\Kernel->buildContainer()
     C:\wamp\www\Symfony\app\bootstrap.php.cache:783
        0.0395    2358024   8. Symfony\Bundle\FrameworkBundle\FrameworkBundle->build
    () C:\wamp\www\Symfony\app\bootstrap.php.cache:852
        0.0431    2376568   9. Symfony\Component\DependencyInjection\ContainerBuilde
    r->addCompilerPass() C:\wamp\www\Symfony\vendor\symfony\src\Symfony\Bundle\Frame
    workBundle\FrameworkBundle.php:51
        0.0453    2428640  10. Symfony\Component\DependencyInjection\Compiler\Compil
    er->__construct() C:\wamp\www\Symfony\vendor\symfony\src\Symfony\Component\Depen
    dencyInjection\ContainerBuilder.php:180
        0.0453    2429208  11. Symfony\Component\DependencyInjection\Compiler\PassCo
    nfig->__construct() C:\wamp\www\Symfony\vendor\symfony\src\Symfony\Component\Dep
    endencyInjection\Compiler\Compiler.php:36
    et voila le je suis bloqué malheureusement ...

    Une idée ?? moi je n'arrive à rien

    Merki

  2. #2
    Membre habitué
    Profil pro
    Développeur Web
    Inscrit en
    Avril 2010
    Messages
    141
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations professionnelles :
    Activité : Développeur Web

    Informations forums :
    Inscription : Avril 2010
    Messages : 141
    Points : 157
    Points
    157
    Par défaut
    Tu as installé quelle version de symfony? Via composer?

Discussions similaires

  1. [PEAR] Installation pear avec go-pear.php : Fatal error: Class 'PEAR' not found
    Par kaboume dans le forum Bibliothèques et frameworks
    Réponses: 0
    Dernier message: 23/07/2010, 11h54
  2. Problème installation php gd2
    Par oligig dans le forum Apache
    Réponses: 4
    Dernier message: 06/07/2006, 12h32
  3. [Librairies] zip.lib.php Fatal error: Allowed memory size of 8388608 bytes exhausted
    Par manaboko dans le forum Bibliothèques et frameworks
    Réponses: 9
    Dernier message: 22/05/2006, 10h42
  4. [SNMP] PHP fatal error snmpget()
    Par fara morgana dans le forum Bibliothèques et frameworks
    Réponses: 3
    Dernier message: 19/05/2006, 16h33
  5. [MySQL] PHP Fatal error
    Par nah_wah dans le forum PHP & Base de données
    Réponses: 7
    Dernier message: 11/11/2005, 13h53

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo