Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8186513
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T02:13:53+00:00 2026-06-07T02:13:53+00:00

Im getting this error: FileLoaderLoadException: Cannot import resource app/config/security.yml from /app/config/config.yml. The file security.yml

  • 0

Im getting this error:

FileLoaderLoadException: Cannot import resource
“app/config/security.yml” from “/app/config/config.yml”.

The file security.yml is on the right path. This is my security.yml file:

jms_sapp/confiapp/config/security.yml
    secure_all_services: false
    exprapp/confiapp/config/security.yml

security:
    encoders:
        Symfony\Component\Security\Core\User\User: plaintext

    role_hierarchy:
        ROLE_ADMIN:       ROLE_USER
        ROLE_SUPER_ADMIN: [ROLE_USER, ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH]

    providers:
        in_memory:
            memory:
                users:
                    user:  { password: userpass, roles: [ 'ROLE_USER' ] } 
                    admin: { password: adminpass, roles: [ 'ROLE_ADMIN' ] } 

    firewalls:
        dev:
            pattern:  ^/(_(profiler|wdt)|css|images|js)/
            security: false

        login:
            pattern:  ^/demo/secured/login$
            security: false

        secured_area:
            pattern:    ^/demo/secured/
            form_login:
                check_path: /demo/secured/login_check
                login_path: /demo/secured/login
            logout:
                path:   /demo/secured/logout
                target: /demo/
            #anonymous: ~
            #http_basic:
            #    realm: "Secured Demo Area"

    access_control:
        #- { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY, requires_channel: https }
        #- { path: ^/_internal/secure, roles: IS_AUTHENTICATED_ANONYMOUSLY, ip: 127.0.0.1 }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T02:13:56+00:00Added an answer on June 7, 2026 at 2:13 am

    These three first lines, as @Sgoettschkes pointed out, are obviously problematic here. They do not conform to the YAML syntax standards. I second the question: what were you trying to achieve with them? Try to remove them and I’m 100% percent sure this error will disappear.

    I heavily recommend that you use a good IDE which will highlight the YAML code for you, in case you don’t use an IDE already (personally I use NetBeans and it handles YAML files pretty well). Syntax errors like this are very common and easy to spot, then.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Getting this error when I submit my form to savetext.aspx action file: Compiler Error
I'm getting this error on my production environnent: (from prod.log) [2012-01-30 17:00:51] request.CRITICAL: Doctrine\ORM\Mapping\MappingException:
Getting this error when I follow the simple code example from jsoncpp, that basically
Im getting this error. ReferenceError: Can't find variable: cordova at file:///android_asset/www/childbrowser.js:87 I have done
I keep getting this error saying that it cannot find my javascript function checkpw().
I getting this error when retrieve xml request from http://www.cbr.ru/scripts/XML_daily.asp XML code like this:
Im getting this error: Unsafe JavaScript attempt to access frame with URL URL1 from
Im Getting this error: error: /Users/*****/Dropbox/*******/iPad:iPhone/******/*****/PNGs/../******.png: No such file or directory when I try
Anyone getting this error when using the new free chart controls MS bought from
getting this error while linking an app, some one an idea? ld: duplicate symbol

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.