Clear cache

From Qubit Toolkit

Jump to: navigation, search

Many problems can be resolved by clearing symfony's cache.

There is some description of how to clear symfony's cache in the Definitive Guide to symfony book: http://www.symfony-project.org/book/1_1/02-Exploring-Symfony-s-Code#Class%20Autoloading

Basically, you need to be able to run the symfony command line application, which is located in the root directory of this project. Depending on your environment, you may be able to run:

$ ./symfony

- or:

$ php symfony

- or some variation of:

$ /usr/local/php5/bin/php symfony

When called without arguments, the symfony command line application will print a list of available tasks. To clear symfony's cache, use the clear-cache task, or its abreviation, cc:

$ ./symfony cc
Personal tools