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 :

The module "sfGuardAuth" is not enabled. [1.x]


Sujet :

Symfony PHP

  1. #1
    Candidat au Club
    Profil pro
    Inscrit en
    Décembre 2009
    Messages
    2
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Décembre 2009
    Messages : 2
    Points : 2
    Points
    2
    Par défaut The module "sfGuardAuth" is not enabled.
    Bonjour,

    j'ai un soucis avec sfGuardAuth qui est normalement bien installer. Mais quand j'accèdeà mon backend j'ai cette erreur

    The module "sfGuardAuth" is not enabled
    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
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    prod:
      .settings:
        no_script_name:         off
        logging_enabled:        off
     
    dev:
      .settings:
        error_reporting:        <?php echo (E_ALL | E_STRICT)."\n" ?>
        web_debug:              on
        cache:                  off
        no_script_name:         off
        etag:                   off
     
    test:
      .settings:
        error_reporting:        <?php echo ((E_ALL | E_STRICT) ^ E_NOTICE)."\n" ?>
        cache:                  off
        web_debug:              off
        no_script_name:         off
        etag:                   off
     
    all:
      .settings:
        # Form security secret (CSRF protection)
        csrf_secret:       UniqueSecret1     # Unique secret to enable CSRF protection or false to disable
     
        # Output escaping settings
        escaping_strategy:      true            # Determines how variables are made available to templates. Accepted values: on, off.
        escaping_method:        ESC_SPECIALCHARS # Function or helper used for escaping. Accepted values: ESC_RAW, ESC_ENTITIES, ESC_JS, ESC_JS_NO_ENTITIES, and ESC_SPECIALCHARS.
     
        # Cache settings
        lazy_cache_key:         on        # Delays creation of a cache key until after checking whether an action or partial is cacheable
     
    all:
      .actions:
    #    error_404_module:       default   # To be called when a 404 error is raised
    #    error_404_action:       error404  # Or when the requested URL doesn't match any route
    #
        login_module:            sfGuardAuth   # To be called when a non-authenticated user
        login_action:            signin     # Tries to access a secure page
    #
         secure_module:          sfGuardAuth   # To be called when a user doesn't have
         secure_action:          secure    # The credentials required for an action
    #
    #    module_disabled_module: default   # To be called when a user requests 
    #    module_disabled_action: disabled  # A module disabled in the module.yml
    #
    #  .settings:
    #    # Optional features. Deactivating unused features boots performance a bit.
    #    use_database:           on        # Enable database manager. Set to off if you don't use a database.
    #    i18n:                   off       # Enable interface translation. Set to off if your application should not be translated.
    #    check_symfony_version:  off       # Enable check of symfony version for every request. Set to on to have symfony clear the cache automatically when the framework is upgraded. Set to off if you always clear the cache after an upgrade.
    #    compressed:             off       # Enable PHP response compression. Set to on to compress the outgoing HTML via the PHP handler.
    #    check_lock:             off       # Enable the application lock system triggered by the clear-cache and disable tasks. Set to on to have all requests to disabled applications redirected to the sfConfig::get('sf_symfony_lib_dir')/exception/data/unavailable.php page.
    #
    #    # Routing settings
    #    no_script_name:         off       # Enable the front controller name in generated URLs
    #
    #    # Validation settings, used for error generation by the Validation helper
    #    validation_error_prefix:    ' &darr;&nbsp;'
    #    validation_error_suffix:    ' &nbsp;&darr;'
    #    validation_error_class:     form_error
    #    validation_error_id_prefix: error_for_
    #
    #    # Cache settings
    #    cache:                  off       # Enable the template cache
    #    etag:                   on        # Enable etag handling
    #    lazy_cache_key:         off       # Delays creation of a cache key until after checking whether an action or partial is cacheable (defaults to false for backward compatibility)
    #
    #    # Logging and debugging settings
    #    web_debug:              off       # Enable the web debug toolbar
    #    error_reporting:        <?php echo (E_PARSE | E_COMPILE_ERROR | E_ERROR | E_CORE_ERROR | E_USER_ERROR)."\n" ?> # Determines which events are logged.
    #
    #    # Assets paths
    #    rich_text_js_dir:       js/tiny_mce
    #    admin_web_dir:          /sf/sf_admin
    #    web_debug_web_dir:      /sf/sf_web_debug
    #    calendar_web_dir:       /sf/calendar
    #
    #    # Helpers included in all templates by default
    #    standard_helpers:       [Partial, Cache, Form]
    #
    #    # Activated modules from plugins or from the symfony core
    #    enabled_modules:        [default, sfGuardAuth, sfGuardUser]
    #
    #    # Charset used for the response
    #    charset:                utf-8
    #
    #    # Miscellaneous
    #    strip_comments:         on         # Remove comments in core framework classes as defined in the core_compile.yml
    #    max_forwards:           5
    #
    #    # Logging
    #    logging_enabled:        on
    #
    #    # i18n
    #    default_culture:        en        # Default user culture

    et

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    default:
      is_secure: off
      credentials : admin
     
    index:
      is_secure:  off
      crementials: [A, B]
     
    all:
      is_secure:  on
      crementials: [[A, B]]
    Merci de votre aide, parceque la je suis perdu

  2. #2
    Membre averti Avatar de sacricri
    Profil pro
    Inscrit en
    Juin 2008
    Messages
    324
    Détails du profil
    Informations personnelles :
    Âge : 39
    Localisation : France

    Informations forums :
    Inscription : Juin 2008
    Messages : 324
    Points : 384
    Points
    384
    Par défaut
    Tu ne l'as pas activé :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    enabled_modules:        [default, sfGuardAuth, sfGuardUser]
    symfony power user !

  3. #3
    Candidat au Club
    Profil pro
    Inscrit en
    Décembre 2009
    Messages
    2
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Décembre 2009
    Messages : 2
    Points : 2
    Points
    2
    Par défaut
    j'ai honte...
    Merci

  4. #4
    Membre averti Avatar de sacricri
    Profil pro
    Inscrit en
    Juin 2008
    Messages
    324
    Détails du profil
    Informations personnelles :
    Âge : 39
    Localisation : France

    Informations forums :
    Inscription : Juin 2008
    Messages : 324
    Points : 384
    Points
    384
    Par défaut
    Citation Envoyé par jonathan62 Voir le message
    j'ai honte...
    Merci
    Ca nous est tous déjà arrivé au moins une fois
    symfony power user !

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

Discussions similaires

  1. [1.x] sfGuardAuth not enabled
    Par Userbn dans le forum Symfony
    Réponses: 6
    Dernier message: 02/10/2009, 16h23
  2. Problème "LoadModule ssl_module modules/mod_ssl.so"
    Par ldcarpathes dans le forum Apache
    Réponses: 9
    Dernier message: 24/01/2008, 11h07

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