This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

Clear Cache, The CLI, and New Filters

Discussion around this tutorial for symfony 1.0.x

Clear Cache, The CLI, and New Filters

by OutsideOfDreams » Wed Jun 07, 2006 4:51 pm

Ok, I'm having a few independant problems here.

1) I'm trying to add a new filter using the following code in filters.yml

Code: Select all
  class: myTagFilter
    host_exclude_regex: /^(www|askeet)/

  class: myRememberFilter

After I make the changes, I receive this error whenever I visit the dev site. Basically I need to clear the site cache, which leads into my next problem.

2) I can't clear the cache from the command line, here is my SSH session:

Code: Select all
$ cd
$ symfony clear-cache
-bash: symfony: command not found
$ clear-cache
-bash: command not found
$ ../symfony/bin/ clear-cache
No input file specified.
$ ../symfony/bin/ clear-cache frontend
No input file specified.
Junior Member
Posts: 13
Joined: Tue Apr 18, 2006 2:23 am

Re: Clear Cache, The CLI, and New Filters

by lcornea » Mon Jan 05, 2009 12:23 pm

You know you could just delete all the files and folders inside the cash/application_folder by hand, using ssh
Junior Member
Posts: 1
Joined: Mon Jan 05, 2009 12:19 pm

Re: Clear Cache, The CLI, and New Filters

by halfer » Mon Jan 05, 2009 1:28 pm

This might be due to `php` not being in the system path. Can you do `php -v` and get a version number?
Faithful Member
Posts: 10148
Joined: Mon Jan 30, 2006 1:16 pm
Location: West Midlands, UK