[symfony-users] Re: Enable partial caching on pages with query string

2010-11-24 Thread Ken Golovin
(save() or delete() methods), remove the record from APC so that the next query gets the updated result. We use this quite extensively on one of our projects and has dropped a lot of db load off our server. On Tue, Nov 23, 2010 at 1:22 AM, Ken Golovin ken.golo...@gmail.com wrote: I

[symfony-users] Enable partial caching on pages with query string

2010-11-22 Thread Ken Golovin
I would like to be able to cache a partial on a search results page that uses query strings, however symfony ignores caching settings. The page on http://www.symfony-project.org/reference/1_4/en/09-Cache says: An incoming request with GET parameters in the query string or submitted with the POST,

[symfony-users] Re: Memory leaks symfony + doctrine

2009-08-07 Thread Ken Golovin
ok, got the hint, thanks! On Aug 7, 8:46 pm, Marc mweistr...@uneviemoinschere.com wrote: It's a common problem with PHP 5.3. Try to switch with 5.3 and it might magically solve your issues. Marc Le 7 août 09 à 10:43, KenGolovina écrit : Thomas, I know very well how to parse XML

[symfony-users] Memory leaks symfony + doctrine

2009-08-06 Thread Ken Golovin
Hi, I am processing a large XML, the module I created iterates through about 50,000 records, creates an object for each record and saves it to the DB, and am running into memory issues. The memory usage measured by memory_get_usage() keeps growing with each new object created. I have tried

[symfony-users] filter=filter does not work in admin

2009-07-16 Thread Ken Golovin
Hi, I am to trying to do a redirect from one module to another's list action, and add a filter to the url of the second module, however the filters don't have any effect. Here is my code: $this-redirect('feed/index?filter=filterfilters[owner_id]=' . $this- getRequestParameter('id')); This

[symfony-users] Row level security/permission with Doctrine

2009-07-16 Thread Ken Golovin
I am developing a job tracking website which will be used by multiple companies to manage their orders. As it is very important that each company only has access to their own data, I need to be able to restrict access to DB records based on the record owner. On top of that, companies will have