[symfony-users] Re: sfDoctrinePager

2008-09-30 Thread Bertrand Zuchuat
Hi Jon, This part isn't good. Look in GROUP BY, g4 isn't exist in FROM (g3). I use Doctrine_Pager with the same query and it work. Thanks Bertrand Le 30 sept. 08 à 18:57, Jonathan Wage a écrit : > SELECT DISTINCT g3.id FROM gallery g3 GROUP BY g4.gallery_id LIMIT 5 > Sep 29 19:48:45 symfony

[symfony-users] Validator

2008-09-30 Thread Marcos Medeiros
Dear friends, I need your help about the form validator in admin generated module... I'm trying understood today and dont know anything. When I have the action SAVE (save.yml) methods:   post:     - "curso{curso_nome}" fillin:   enabled:  true names:   curso{curso_nome}:     r

[symfony-users] Re: symfony 1.1.3 and doctrine error with symfony doctrine-build-model

2008-09-30 Thread andrea cecchetto
my schema.yml file is under the this path gallery2/config/doctrine/ ^symfony project 2008/9/30 Jonathan Wage <[EMAIL PROTECTED]> > I am not sure. I have never seen that or seen any reports of it before. It > looks like the Doctrin

[symfony-users] Re: symfony 1.1.3 and doctrine error with symfony doctrine-build-model

2008-09-30 Thread andrea cecchetto
I'm using arch linux, with php 5.2.6. It's possible that error depend by some php extension? 2008/9/30 Jonathan Wage <[EMAIL PROTECTED]> > What operating system are you on? > > > On Tue, Sep 30, 2008 at 12:02 PM, andrea cecchetto < > [EMAIL PROTECTED]> wrote: > >> Hi jon, >> no there is not, in c

[symfony-users] Re: symfony 1.1.3 and doctrine error with symfony doctrine-build-model

2008-09-30 Thread Jonathan Wage
I am not sure. I have never seen that or seen any reports of it before. It looks like the Doctrine yaml schema parser is not given the right path to the yaml schema files for some reason and it is trying to parse unlrelated yaml files as schema files. - Jon On Tue, Sep 30, 2008 at 1:05 PM, andrea

[symfony-users] Re: symfony 1.1.3 and doctrine error with symfony doctrine-build-model

2008-09-30 Thread Jonathan Wage
What operating system are you on? On Tue, Sep 30, 2008 at 12:02 PM, andrea cecchetto < [EMAIL PROTECTED]> wrote: > Hi jon, > no there is not, in config/doctrine/ there is only schema.yml... > but after symfony cc I get always in a red box this message > -> Invalid schema element named "class" at

[symfony-users] Designing a many to many database scheme

2008-09-30 Thread icinagle
Hello, I have inherited a Symfony web app, er go I don't have much experience with Symfony so bare with me. The problem is this I have currently 3 tables contacts, contactschool and schools, I didn't name the former and the latter. Contacts holds information for each teacher, principal, coach,

[symfony-users] Re: symfony 1.1.3 and doctrine error with symfony doctrine-build-model

2008-09-30 Thread andrea cecchetto
Hi jon, no there is not, in config/doctrine/ there is only schema.yml... but after symfony cc I get always in a red box this message -> Invalid schema element named "class" at path "generator" Thanks Andrea 2008/9/30 Jonathan Wage <[EMAIL PROTECTED]> > It looks like the doctrine.yml configuratio

[symfony-users] Re: sfDoctrinePager

2008-09-30 Thread Jonathan Wage
I am not sure why the query is failing. If you have that column in gallery_picture then it should be fine. Have you played with the query in mysql directly and tried to figure out what is wrong with it? Maybe that group by column needs to be in the select? - Jon On Mon, Sep 29, 2008 at 12:50 PM,

[symfony-users] Re: symfony 1.1.3 and doctrine error with symfony doctrine-build-model

2008-09-30 Thread Jonathan Wage
It looks like the doctrine.yml configuration file is trying to be parsed by the Doctrine yaml schema parser. Did you accidentally put it in config/doctrine/doctrine.yml? - Jon On Tue, Sep 30, 2008 at 6:34 AM, Andrea C. <[EMAIL PROTECTED]>wrote: > > Hi, > today i tried to learn symfony with doct

[symfony-users] Re: Symfony performance - optimisation and testing

2008-09-30 Thread heathd
On Sep 29, 2:36 pm, "Ian Christian" <[EMAIL PROTECTED]> wrote: > 2008/9/29 halfer <[EMAIL PROTECTED]>: > > > Hi David > > > I am wondering if you might be running in CGI mode. In my view, > > something like FastCGI or fcgi is essential for symfony, as it has a > > lot of libraries that it needs

[symfony-users] Re: problems updating form

2008-09-30 Thread Nicolas Perriault
On Tue, Sep 30, 2008 at 3:46 PM, javo <[EMAIL PROTECTED]> wrote: > What is the easiest way to change data passed > from the form? Essaye comme ça : if ($this->form->isValid()) { $this->form->getObject()->setName('tralala'); $blog = $this->form->save(); Ou encore : $this->form->bind(array_m

[symfony-users] symfony 1.1.3 and doctrine error with symfony doctrine-build-model

2008-09-30 Thread Andrea C.
Hi, today i tried to learn symfony with doctrine. I follwed. step by step, this guide http://www.symfony-project.org/cookbook/1_1/en/doctrine. But when I run -> symfony doctrine-build-all-reload frontend I get a red box with this message Invalid schema element named "record_listeners" at path "a

[symfony-users] problems updating form

2008-09-30 Thread javo
Hi all, I have one little problem this is my update method public function executeUpdate($request) { $this->forward404Unless($request->isMethod('post')); $this->form = new BlogForm(BlogPeer::retrieveByPk($request- >getParameter('id'))); $this->form->bind($request->getParameter(

[symfony-users] Re: Symfony performance - optimisation and testing

2008-09-30 Thread heathd
Hi Fabian, > As you asked for further reference, I would like to invite you to check if > my slides here give any value for > you:http://www.slideshare.net/fabianlange/full-stack-web-application-perf... thanks I had just separately come across your slides and have looked through them quickly, l

[symfony-users] Re: How to add the sf_debug on prod but only for certain credentials?

2008-09-30 Thread Sid Bachtiar
sfConfig::set('sf_debug', true) doesn't do the trick. On Mon, Sep 29, 2008 at 5:56 PM, ken <[EMAIL PROTECTED]> wrote: > > a filter after security can do this functionality i guess > > class myDebugEnablerForCertainCredentialsFilter extends sfFilter > { > public function execute ($filterChain) >