Hi, I have the same problems with my 'cc' so what i do is 'sudo chmod -R 777 cache; symfony cc' and usualy does the job ...
Kr, Lawrence Krubner wrote: > I want to use this plugin: > > http://www.symfony-project.org/plugins/sfErrorHandlerPlugin/1_0_7 > > The installation seemed to work correctly. I used this command: > > symfony plugin:install sfErrorHandlerPlugin > > Then I edited my settings.yml. I now have this in the file: > > all: > .settings: > enabled_modules: [sfMediaLibrary, default, sfErrorHandler] > > I then tried to rebuild the cache: > > php symfony cc > > I got this error: > > Failed to write cache file "/home/lawrence/public_html/bocahoops/cache/ > frontend/dev/config/config_settings.yml.php" generated from > configuration file "config/settings.yml". > > I looked in that directory. Symfony has written several other files to > that directory, but for some reason it is unable to write this file. > At first I thought this was a permissions issue, but Symfony wouldn't > be able to write any of these files if it lacked permission to write > to the directory (all the same, just to be sure, the directory is now > chmod to 777 -- doesn't fix the problem). Some of these files were > written just a few hours ago, the last time I ran the cc command: > > -rw-r--r-- 1 www-data www-data 954 2009-03-02 00:15 > modules_newgame_config_filters.yml.php > -rw-r--r-- 1 www-data www-data 0 2009-02-27 19:13 > config_app.yml.php > -rw-r--r-- 1 www-data www-data 44403 2009-02-27 19:13 > config_autoload.yml.php > -rw-r--r-- 1 www-data www-data 236 2009-02-27 19:13 > config_databases.yml.php > -rw-r--r-- 1 www-data www-data 4934 2009-02-27 19:13 > config_factories.yml.php > -rw-r--r-- 1 www-data www-data 440 2009-02-27 19:13 > config_routing.yml.php > -rw-r--r-- 1 www-data www-data 1182 2009-02-27 19:13 > config_config_handlers.yml.php > > > If it isn't a permissions problem, what else could it be? Could I have > a syntax error in my yaml file? If so, does anyone see a syntax error > here: > > all: > .settings: > enabled_modules: [sfMediaLibrary, default, sfErrorHandler] > > > When I go to look at the website right now, I get a mostly blank > screen, with just this error message on it: > > Fatal error: Class 'sfHardenedRenderingFilter' not found in /home/ > lawrence/public_html/bocahoops/cache/frontend/dev/config/ > modules_newgamewriteup_config_filters.yml.php on line 8 > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---