No route found for "GET /login/"
GeekGuste opened this issue · comments
Hi
I installed and configured fosUserBundle 2.1 on symfony. I access the fosUserBundle routes in developer mode without any problem. But in production mode the roads are working except the / login when I try to connect (on the road / login) I have the following error: No route found for "GET / login /". I have this error in 2 projects and since 2 weeks. I need help to solve this problem.
I am using symfony 3.4.15
Did you add the routing? Step 6: Import FOSUserBundle routing files
Yes I have added it. And fosuser other routes(/register, /profile, /logout...) are working in both the production and dev mode. Only the /login path is returning a Not Found Error in production mode but works in dev mode.
did you cleared the cache in prod?
Yes many times.
How do you clear the cache in prod?