[symfony-users] Re: memory leaks... just keep on leaking

2010-04-12 Thread Timmipetit
A ran into memory issues today when I had to modify every record in a table after a Doctrine Migration. The problem is that PHP doesn't decrease the reference count of a child/parent object, and therefore doesn't free the memory. The problem is described http://paul-m-jones.com/archives/262 and

[symfony-users] How to combine Sympal with a regular Symfony app?

2009-12-09 Thread Timmipetit
Since the Sympal-mailinglist seems to be dead and spammed, I'll mail this here: I'm trying to install Sympal, so far so good. I want to have 2 applications, one sympal-based, and one 'normal' symfony-based. The sympal-based one is running fine, but in the other app I get the following error: The

[symfony-users] Re: Where to clear the cache

2009-12-02 Thread Timmipetit
On Dec 1, 11:02 pm, Lee Bolding l...@leesbian.net wrote: Whilst I'm still not convinced it's the best approach (but one that I'm currently using... for now), you could fire an event from your model, which an observer would use to clear the cache. This is a little cleaner as it loosely

[symfony-users] Where to clear the cache

2009-12-01 Thread Timmipetit
Hi everyone, I'm thinking about the following issue, where and how should the cache be cleared? Let's assume a scenario with 2 models: user and message. A message has a reference to a user. On the user-page (in the frontend) a partial is included that shows all the messages belonging to that

[symfony-users] Re: custom format date arguments

2009-11-26 Thread Timmipetit
This is a link I found some time ago that I usually use when I want to know about a date format pattern: http://fellipeeduardo.com/blog/symfony-helper-format_date-how-to-use/en/ Tijmen On Nov 25, 9:39 pm, Alexandre SALOME alexandre.sal...@gmail.com wrote: Yess, you have d, F, m, r, ...:

[symfony-users] Re: sfGuard - different usertypes?

2009-11-26 Thread Timmipetit
If you're using Doctrine, you could use inheritance. For example using column aggregation. On Nov 26, 5:43 am, Richtermeister nex...@gmail.com wrote: Hi all, I'm quite familiar with sfGuard, but there's one thing I've never figured out right. I have to build an application with quite a few