[symfony-users] Can't get Symfony project to work after moving it.

2010-03-26 Thread DarrenMr
Here is the error I am getting: Warning: copy(/var/www/vhosts/blackhawkcigarettes.com/symfony/cache/ backend/prod/config/config_config_handlers.yml.php) [function.copy]: failed to open stream: Permission denied in /home/symfony/1.4/lib/ config/sfConfigCache.class.php on line 359 symfony is set

[symfony-users] Re: Can't get Symfony project to work after moving it.

2010-03-26 Thread DarrenMr
: On Fri, 26 Mar 2010, DarrenMr wrote: Here is the error I am getting: Warning: copy(/var/www/vhosts/blackhawkcigarettes.com/symfony/cache/ backend/prod/config/config_config_handlers.yml.php) [function.copy]: failed to open stream: Permission denied in /home/symfony/1.4/lib/ config

[symfony-users] htaccess file breaks symfony routing

2010-03-26 Thread DarrenMr
Hi guys I have added an htaccess file with this simple rewrite: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} So the site will always be under SSL. However the problem is that it breaks the symfony routing. I have looked into all the SSL filters

[symfony-users] Custom Error Page Settings Not Working

2010-03-22 Thread DarrenMr
I have this in my config.yml file: all: .actions: error_404_module: dashboard error_404_action: notFound However, even after I have cleared my cache it does not use that file. How long does it take to adjust? Thanks, Darren -- If you want to report a vulnerability issue on symfony,

[symfony-users] Help with Symfony routing problem.

2010-03-18 Thread DarrenMr
Hi guys here is my route YAML: product: url: /product_:brand_:name param: { module: products, action: view } requirements: { brand: \d+, name: ([a-z0-9-])+ } However I get this error when I try to access the page: Unable to parse /product_:brand_:name route near :name. When my url is like:

[symfony-users] Symfony routing and _

2010-03-16 Thread DarrenMr
Does symfony routing allow _? My routing config is below, it works with / but not _ product_view: url: /product_:brand/:name param: { module: products, action: view } requirements: { brand: \d+, name: .+ } name when I call it does not have any _ Does anyone know how to fix this? Thanks,

[symfony-users] Re: Symfony routing and _

2010-03-16 Thread DarrenMr
    param:       generate_shortest_url: true       extra_parameters_as_query_string: true       segment_separators: ['.','/','_'] Hope this help. DarrenMr wrote: Does symfony routing allow _? My routing config is below, it works with / but not _ product_view:   url: /product_:brand/:name