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

  • SEARCH
  • Home
  • 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 9259075
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T12:34:07+00:00 2026-06-18T12:34:07+00:00

I am developing an application in Symfony2 and I have a problem with redirecting

  • 0

I am developing an application in Symfony2 and I have a problem with redirecting to login page when user isn’t logged in. Instead of redirecting, appears a blank page. This happens in my production environment and when the application is not on debug mode. In my development environment, the redirection works on debug and non-debug mode, and in the production environment it works in debug mode.

Any idea why this is happening?

This is the security.yml file:

jms_security_extra:
    secure_all_services: false
    expressions: true

security:
    encoders:
        W_Encuestas\EncuestasBundle\Entity\Usuario: 
            algorithm: sha512
            encode-as-base64: true
            iterations: 10

    role_hierarchy:
        ROLE_SUPER_ADMIN: [ROLE_ADMIN]
        ROLE_ADMIN: [ROLE_USER]

    providers:
        main:
            entity:
                class: W_Encuestas\EncuestasBundle\Entity\Usuario
                property: mail

    firewalls:
        secured_area:
            pattern: /.*
            form_login:
                login_path: /siteIntranet/login
                check_path: /check
                remember_me: true
                default_target_path: /siteIntranet/home
            logout:
                path: /logout
                target: /siteIntranet/login
            remember_me:
                key: "%secret%"
                lifetime: 1800
                path: /.*
                domain: ~
            security: true
            anonymous: true

    access_control:
        - { path: ^/siteIntranet/login, roles: IS_AUTHENTICATED_ANONYMOUSLY }
        - { path: ^/siteIntranet/home , roles: ROLE_USER }
    # ....
  • 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-18T12:34:08+00:00Added an answer on June 18, 2026 at 12:34 pm

    It just was the cache. And in case anyone has the same problem I had to delete it:

    On UNIX systems, the cache and logs are created with permissions that prevent removal. To prevent this from happening, add an instruction “umask” in “app/console”, “web/app.php” and “web/app_dev.php,” as paragraph “Setting up Permissions” in the following link:

    http://symfony.com/doc/current/book/installation.html

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

Sidebar

Related Questions

I am developing an web application in symfony2. I have implemented login and logout
I am developing an application using symfony2 and twig for templates. The problem comes
I'm developing application using VC++ 6. I have a 3rd party DLL. This library
I am developing an application using Symfony2. The problem comes when creating a registration
I developing application which using geo-location. Should i ask user right for this when
I'm developing an application with Symfony2 and FOSUserbundle. When a user logs in on
Currently developing an application using the newest version of symfony, obtained through PEAR. This
I am developing application which is having Gujarati font in text-view but my problem
I'm developing application using backbone.js & jquery. I have following code in model: runReport:
I'm developing application that would communicate with a mobile app. My problem is as

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.