I designing an programming a website using Symfony2. I completed some parts and checked the client side in both dev and prod environment. In the first time everything was fine and I saw same result in both environments, But after sum changes in views (I’m using Twig with Three-level Inheritance) such as adding sum other stylesheets in “stylesheets” block, dev environment works fine but in prod environment no stylesheets added and its using old data. I cleared cache and log manually from both path “app/cache/dev” and “app/cache/prod” … but nothing changed. I removed all stylesheets in block and cleared chache again old data is still there!
Any suggestion?
The problem was about removing cache files. I had been removing cache files via cPanel filemanager. It gave “all files removed successfully” but they didn’t. So I found another way to clear cache. I used shell_exec: