symfony 1.4 action does not exist in prod not in dev
I'm completely lost here... Everything works fine in my 开发者_C百科dev environnement, but, for some reason I have a 404 error "Action "xxx" does not exist when I'm trying to access a module in my prod env.
I don't even know where to search...
Everything is up to date on my server, in the corresponding actions.class file, the corresponding action does exist along with the template...
I've cleared the cache many times...
If someone has an idea, it will be much appreciated !!!
Thanks all
If it works fine with development environment than only one issue that is cache please remove cache folder manually and than try it.
Try to put this code in de settings.yml on your application:
prod:
.settings:
no_script_name: false
and then clear the cache...
I had the same issue, route exists, everything works in dev environment, cache cleared, etc.
What I've not realized is that I had no .htaccess file so obviously the routing system didn't work with Apache.
I requested the help of a colleague and he immediately spotted the missing .htaccess file :-)
精彩评论