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 :

Erreur à l'exécution d'un bundle [2.x]


Sujet :

Symfony PHP

  1. #1
    Membre régulier
    Avatar de lionceau
    Homme Profil pro
    Étudiant
    Inscrit en
    Janvier 2008
    Messages
    148
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 34
    Localisation : France

    Informations professionnelles :
    Activité : Étudiant
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Janvier 2008
    Messages : 148
    Points : 111
    Points
    111
    Par défaut Erreur à l'exécution d'un bundle
    J'ai suivi un tutoriel pour installer un bundle.

    J'ai réussi l'installation du bundle :

    Mais j'ai une erreur quand j’exécute le localhost, pourquoi ?

    Merci pour vos conseils,

    Lionceau,

  2. #2
    Membre éclairé
    Homme Profil pro
    Technicien maintenance
    Inscrit en
    Août 2011
    Messages
    477
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 54
    Localisation : France

    Informations professionnelles :
    Activité : Technicien maintenance
    Secteur : Administration - Collectivité locale

    Informations forums :
    Inscription : Août 2011
    Messages : 477
    Points : 677
    Points
    677
    Par défaut
    Bonjour
    Sûrement un problème de version.
    Il fait appel à un service, stopwatch qui n'est pas accessible en 2.1.2 je pense

  3. #3
    Membre régulier
    Avatar de lionceau
    Homme Profil pro
    Étudiant
    Inscrit en
    Janvier 2008
    Messages
    148
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 34
    Localisation : France

    Informations professionnelles :
    Activité : Étudiant
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Janvier 2008
    Messages : 148
    Points : 111
    Points
    111
    Par défaut
    le problème a été résolu en changeant le php.ini, en modifiant "max_execution_time = 0 ".

    mais pourquoi ai je toujours une page blanche pour localhost ???

    Lionceau.

  4. #4
    Membre éclairé
    Homme Profil pro
    Technicien maintenance
    Inscrit en
    Août 2011
    Messages
    477
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 54
    Localisation : France

    Informations professionnelles :
    Activité : Technicien maintenance
    Secteur : Administration - Collectivité locale

    Informations forums :
    Inscription : Août 2011
    Messages : 477
    Points : 677
    Points
    677
    Par défaut
    que dit le log apache ?

    en général si ça fonctionne en dev mais page blanche en prod. il faut vider voir supprimer le cache prod

  5. #5
    Membre régulier
    Avatar de lionceau
    Homme Profil pro
    Étudiant
    Inscrit en
    Janvier 2008
    Messages
    148
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 34
    Localisation : France

    Informations professionnelles :
    Activité : Étudiant
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Janvier 2008
    Messages : 148
    Points : 111
    Points
    111
    Par défaut
    voici le contenu du fichier error.log
    c'est daté de 2012.. je ne pense pas que ca été généré avec mon projet
    [Sun May 13 13:01:14 2012] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
    [Sun May 13 13:01:14 2012] [notice] Apache/2.2.22 (Win32) mod_ssl/2.2.22 OpenSSL/0.9.8x configured -- resuming normal operations
    [Sun May 13 13:01:14 2012] [notice] Server built: May 13 2012 12:51:11
    [Sun May 13 13:01:14 2012] [notice] Parent: Created child process 3660
    Apache server interrupted...
    arn] Init: Session Cache is not configured [hint: SSLSessionCache]
    [Sun May 13 13:01:15 2012] [notice] Child 3660: Child process is running
    [Sun May 13 13:01:15 2012] [notice] Child 3660: Acquired the start mutex.
    [Sun May 13 13:01:15 2012] [notice] Child 3660: Starting 64 worker threads.
    [Sun May 13 13:01:15 2012] [notice] Child 3660: Starting thread to listen on port 80.
    [Sun May 13 13:01:15 2012] [notice] Child 3660: Starting thread to listen on port 80.
    [Sun May 13 13:01:28 2012] [notice] Parent: Received shutdown signal -- Shutting down the server.
    [Sun May 13 13:01:28 2012] [notice] Child 3660: Exit event signaled. Child process is ending.
    [Sun May 13 13:01:29 2012] [notice] Child 3660: Released the start mutex
    [Sun May 13 13:01:30 2012] [notice] Child 3660: All worker threads have exited.
    [Sun May 13 13:01:30 2012] [notice] Child 3660: Child process is exiting
    [Sun May 13 13:01:30 2012] [notice] Parent: Child process exited successfully.

  6. #6
    Membre éclairé
    Homme Profil pro
    Technicien maintenance
    Inscrit en
    Août 2011
    Messages
    477
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 54
    Localisation : France

    Informations professionnelles :
    Activité : Technicien maintenance
    Secteur : Administration - Collectivité locale

    Informations forums :
    Inscription : Août 2011
    Messages : 477
    Points : 677
    Points
    677
    Par défaut
    As tu supprimé le cache ?

  7. #7
    Membre régulier
    Avatar de lionceau
    Homme Profil pro
    Étudiant
    Inscrit en
    Janvier 2008
    Messages
    148
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 34
    Localisation : France

    Informations professionnelles :
    Activité : Étudiant
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Janvier 2008
    Messages : 148
    Points : 111
    Points
    111
    Par défaut
    j'ai essayé d'éffacer le cache en prod , ca ne change rien , pourquoi il y a cette erreur ?

  8. #8
    Membre éclairé
    Homme Profil pro
    Technicien maintenance
    Inscrit en
    Août 2011
    Messages
    477
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 54
    Localisation : France

    Informations professionnelles :
    Activité : Technicien maintenance
    Secteur : Administration - Collectivité locale

    Informations forums :
    Inscription : Août 2011
    Messages : 477
    Points : 677
    Points
    677
    Par défaut
    Qu'as tu fait pour avoir cette erreur ?

    Cette erreur te dit qu'une option dans le config.yml, n'est pas renseigné. Cette erreur apparait quand tu passes de la 2.1<.5 -> 2.1.5 et supérieur. C'est une option qui a été rajouté suite à une faille de sécurité. Mais au fait pourquoi travaille tu avec la 2.1.2 ? Info
    Je t'invites soit à travailler avec la dernière version de Symfony soit 2.2.1 soit la dernière 2.1.9.

  9. #9
    Membre régulier
    Avatar de lionceau
    Homme Profil pro
    Étudiant
    Inscrit en
    Janvier 2008
    Messages
    148
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 34
    Localisation : France

    Informations professionnelles :
    Activité : Étudiant
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Janvier 2008
    Messages : 148
    Points : 111
    Points
    111
    Par défaut
    oui j'ai fais :

    supprimer le dossier prod du cache puis :

    >php app/console cache:clear --env=prod
    clearing the cache for the prod environment with degug false


    .. ca fonctionne à merveille , thank you man !!!!

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. [JVM][8.1.7] Erreur d'exécution de initjvm.sql
    Par Escuzze dans le forum Oracle
    Réponses: 4
    Dernier message: 01/07/2005, 15h39
  2. Message d'erreur à l'exécution d'une install
    Par titof dans le forum Autres Logiciels
    Réponses: 2
    Dernier message: 22/03/2005, 11h20
  3. [CR8][VB6] Erreur d'exécution 20533
    Par pvava dans le forum SDK
    Réponses: 1
    Dernier message: 01/02/2005, 10h27
  4. Erreurs d'exécution sous delphi 5
    Par nkd dans le forum Langage
    Réponses: 3
    Dernier message: 06/11/2004, 17h25
  5. [Apache Perl] Erreur à l'exécution de mes cgi
    Par GLDavid dans le forum Apache
    Réponses: 4
    Dernier message: 28/08/2004, 20h23

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