Re: [symfony-devs] Cache Component

2012-11-26 Thread Lukas Kahwe Smith
On Nov 26, 2012, at 15:32 , Jérôme Vieilledent wrote: > Le lundi 26 novembre 2012 à 15:06, Lukas Kahwe Smith a écrit : >> >> On Nov 26, 2012, at 15:05 , Jérôme Vieilledent wrote: >> >>> However the idea here is more to have at least an interface we can rely on. > So I would like to

Re: [symfony-devs] Cache Component

2012-11-26 Thread Jérôme Vieilledent
Le lundi 26 novembre 2012 à 15:06, Lukas Kahwe Smith a écrit : > > On Nov 26, 2012, at 15:05 , Jérôme Vieilledent (mailto:lolautru...@gmail.com)> wrote: > > > However the idea here is more to have at least an interface we can rely on. > > > > > > > > > So I would like to begin a discussio

Re: [symfony-devs] Cache Component

2012-11-26 Thread Lukas Kahwe Smith
On Nov 26, 2012, at 15:05 , Jérôme Vieilledent wrote: > However the idea here is more to have at least an interface we can rely on. >> >>> So I would like to begin a discussion on how we could introduce a real >>> cache component, ideally for Symfony 2.2. >>> >>> My 2 cents : >>> • Provide

Re: [symfony-devs] Cache Component

2012-11-26 Thread Jérôme Vieilledent
Le lundi 26 novembre 2012 à 14:18, Lukas Kahwe Smith a écrit : > > On Nov 26, 2012, at 14:14 , Jérôme Vieilledent (mailto:lolautru...@gmail.com)> wrote: > > > Hello > > > > On the road back from Symfony Live Berlin, I discussed a bit with Hugo > > Hamon about the need of a Cache component i

Re: [symfony-devs] Cache Component

2012-11-26 Thread Lukas Kahwe Smith
On Nov 26, 2012, at 14:14 , Jérôme Vieilledent wrote: > Hello > > On the road back from Symfony Live Berlin, I discussed a bit with Hugo Hamon > about the need of a Cache component in the Symfony stack. This is indeed > something regularly needed and no solution is provided out of the box. >

[symfony-devs] Cache Component

2012-11-26 Thread Jérôme Vieilledent
Hello On the road back from Symfony Live Berlin, I discussed a bit with Hugo Hamon about the need of a Cache component in the Symfony stack. This is indeed something regularly needed and no solution is provided out of the box. I know there is Doctrine Commons which is nicely integrated with L

[symfony-devs] Cache : Optimisation de haut niveau

2012-03-21 Thread Bousselham
Bonsoir, j'ai besoin d'aide sur le choix d'un système de cache, symfony à déja son propre système de cache cependant je veux un système plus performant ! dans le site officiel, j'ai trouver varnish et dans d'autre pistes y a Squid et d'autres ... le probléme c'est que les deux première ma

Re: [symfony-devs] Cache isn't warmed when running PHPUnit test

2011-06-07 Thread Fabien Potencier
fixed now. Fabien -- Fabien Potencier Sensio CEO - Symfony lead developer sensiolabs.com | symfony.com | fabien.potencier.org Tél: +33 1 40 99 80 80 On 6/6/11 8:06 PM, Bart van den Burg wrote: I was getting the following error when I tried to run a test involving Doctrine Entity Manager: 1) M

[symfony-devs] Cache isn't warmed when running PHPUnit test

2011-06-06 Thread Bart van den Burg
I was getting the following error when I tried to run a test involving Doctrine Entity Manager: 1) MN\ImportBundle\Tests\Entity \ttPageTest::testFetchRecordFromDatabase ErrorException: Warning: file_put_contents(/home/bart/websites/[...]/ app/cache/test/doctrine/orm/Proxies/ MNImportBundleEntitytt

Re: [symfony-devs] Cache Problems: Shell vs Webserver Rights

2011-05-30 Thread Carlos Sánchez
After installing acl package and setting acl attribute in the partition (edit fstab) permissions are set as following: setfacl -m u:www-data:rwx -m u:username:rwx cache logs You need to set the default for newly files and directories. setfacl -m u:defaut:www-data:rwx -m u:default:username:rwx

Re: [symfony-devs] Cache Problems: Shell vs Webserver Rights

2011-03-26 Thread Magnus Nordlander
In Mac OS X (and I suppose on Linux too, probably with different syntax, but Mac OS X is what I use for development) you can also use ACLs to give both your user and the webserver user the right permissions. Just do a sudo chmod +a " allow delete,write,append,file_inherit,directory_inherit" for b

Re: [symfony-devs] Cache Problems: Shell vs Webserver Rights

2011-03-25 Thread Jeremiah Dodds
On Fri, Mar 25, 2011 at 4:35 AM, Benjamin Eberlei wrote: > Hello everyone, > > i don't know how others do this, but I get really annoyed by the problems > with my unix user/group rights in combination with console and webserver > commands. > > First assumption: No, i don't want to set 0777 on app/

Re: [symfony-devs] Cache Problems: Shell vs Webserver Rights

2011-03-25 Thread Tim Nagel
You're right, however I'm just talking about my local development environment - when I push to my staging server I dont need to worry about permissions, the deployment stuff deals with it. t On Fri, Mar 25, 2011 at 21:18, Jordi Boggiano wrote: > On 25.03.2011 10:47, Tim Nagel wrote: > > I run

Re: [symfony-devs] Cache Problems: Shell vs Webserver Rights

2011-03-25 Thread Jordi Boggiano
On 25.03.2011 10:47, Tim Nagel wrote: > I run nginx + php-fpm as the user of my shell. That's another approach, but it means that anything you can write to, the web server can as well. I like the group approach because it gives you three levels: you alone, you + web server, everyone. If someone ma

Re: [symfony-devs] Cache Problems: Shell vs Webserver Rights

2011-03-25 Thread Tim Nagel
I run nginx + php-fpm as the user of my shell. t On Fri, Mar 25, 2011 at 20:44, Jordi Boggiano wrote: > On 25.03.2011 09:35, Benjamin Eberlei wrote: > > 1. I call cache:clear then cache:warmup > > 2. Symfony creates a new log file app/logs/dev.log or app/logs/prod.log > > with the user rights

Re: [symfony-devs] Cache Problems: Shell vs Webserver Rights

2011-03-25 Thread Jordi Boggiano
On 25.03.2011 09:35, Benjamin Eberlei wrote: > 1. I call cache:clear then cache:warmup > 2. Symfony creates a new log file app/logs/dev.log or app/logs/prod.log > with the user rights of my shell user (benny) > 3. Apache throws me warnings and exceptions because it cannot write to the > log flie.

Re: [symfony-devs] Cache Problems: Shell vs Webserver Rights

2011-03-25 Thread Ferenc Kovacs
On Fri, Mar 25, 2011 at 9:35 AM, Benjamin Eberlei wrote: > Hello everyone, > > i don't know how others do this, but I get really annoyed by the problems > with my unix user/group rights in combination with console and webserver > commands. > > First assumption: No, i don't want to set 0777 on app/

[symfony-devs] Cache Problems: Shell vs Webserver Rights

2011-03-25 Thread Benjamin Eberlei
Hello everyone, i don't know how others do this, but I get really annoyed by the problems with my unix user/group rights in combination with console and webserver commands. First assumption: No, i don't want to set 0777 on app/cache and app/logs directories. Generally it happens like this. 1. I

[symfony-devs] Cache, Sessions and storage

2009-10-27 Thread david
Hi guys,I wanted to get some feedback on an idea I've been toying with regarding the Cache & SessionStorage. I've been working on prototyping the changes and while it's only partially complete I thought it best to get feedback now, since I missed the API freeze for 1.3.There's some overlap betw

[symfony-devs] Cache not working as it should?

2009-10-21 Thread oplaza
I have noticed that if we cached a page, the memory consumed for that page is almost the same for the cached page or the real page. I have been looking some code, and noticed that we are loading all the framework allways, the most curious part is that we start debugging the code with xdebug and s

[symfony-devs] Cache regeneration issue

2009-08-24 Thread Jarno Rantanen
Hi list, We run a relatively busy site on symfony 1.2.5, and during the last few weeks we've run into an odd issue. It seems that clearing the cache under load may result in a broken configuration being written to the cache, as two times now we've had the site return "%sf_charset%" as its encodin

[symfony-devs] Cache and failed form validation

2009-08-24 Thread hasc
Hi, i recently wrote a post in the symfony forum covering the caching if form validation fails (http://forum.symfony-project.org/index.php? t=msg&th=21795&). I had the problem that in the case that form validation fails the cache of components and partials included in the template are ignored. T

[symfony-devs] cache and posible problems,

2009-02-10 Thread Timu EREN
hi, sory for my bad english, i can't found a good way tell to yours and i write a little flow chart, problem coming with high load web sites, filters -> starting ms: 0.0 cacheFilter if action cached go to view (ms: 0.0) if template cached, get from cache sub system otherwise render

[symfony-devs] Cache...

2007-06-11 Thread Oriol Mercadé
Hello group, I'm caching an internationalized homepage that way: index: enabled: on lifetime:900 as you see, i only cach the action, the problem is that when i change the language wich is reflected in the url, the caché shows me only the first loaded page. Symfony doc says: "for inte

[symfony-devs] Cache problem

2007-03-16 Thread Chris
hi, I've got a little problem with a page that send me this notice : PHP Notice: Undefined index: article/content?id=562&layout=1&order=asc&page=1&sort=fin in /usr/share/php5/symfony/filter/sfCacheFilter.class.php on line 115 PHP Notice: Undefined index: article/content?id=562&layout=1&or

[symfony-devs] Cache metadata

2007-02-20 Thread James McGlinn
Hi devs, I sent my query to the users list a couple of days ago but without any success - perhaps one of the devs could answer this question about how to store metadata about a cache? I have a component which retrieves the latest selection of widgets from the database, and outputs them nice

[symfony-devs] cache error

2006-10-19 Thread Joe Simms
Hi I get a very weird error with my cache. When i have cache set to on in the prod env, and i have the fillin filter, i get the following error on some pages: Fatal error: Call to a member function item() on a non-object in /usr/ share/php/rcs/symfony-project.com/trunk/lib/filter/ sfFillInF

[symfony-devs] Cache writting issue

2006-10-16 Thread Myke Hines
I wanted to ping the dev list first before creating a bug report to see if anyone had any ideas. We've recently increased our level of caching with our site and have been experiencing lots of 'internal server error' pages. Upon more investigation I see that after about 2 days of the site working