Mouna Mouna - 1 year ago 143
PHP Question

Symfony 2 cache clearing error

My Symfony 2 website has recently been giving me problems when I try to clear the cache. I type the following command in the terminal:

php app/console cache:clear

And get the following error:

No authentication listener registered for firewall "dev".

Any help is appreciated!

Answer Source

Try disabling the sicurity for the specified firewall, so try this line:

    pattern:  ^/(css|images|js)/
    security: false

Hope this help

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download