Re: [symfony-users] Re: Need Help to Install Symfony

2011-05-26 Thread Mikael Ohlsson
Seems like something is usling port 8080. Swap port tö something else. On May 25, 2011 7:55 AM, "Chinthaka Rukshan Weerakkody" < chinthakaruks...@gmail.com> wrote: > Hi, > > I followed that tutorial and configured the httpd.conf file as follows. My > installation directories are as follows. > > sym

[symfony-users] Doctrine hydration for relations not working with object records

2011-05-18 Thread Mikael
>fetchOne(); } Regroupement.class.php : public function getNom() { return trim($this->getType()->getNom().' '.$this->getCode()); } Would anybody have an idea of how to achieve that with Doctrine_Core::HYDRATE_RECORD ? Regards, Mikael -- If you want to r

[symfony-users] Re: Symfony 1.4 - reflexive relation with doctrine generates DELETE query

2011-05-17 Thread Mikael
Hello, Found out it by myself (well, I got it working) I did not use the relation "Parent" by its name, but by the class name (->getEnseignement). I added a "Child" relation to be able to navigate on "each" side, adapted the getters in the code and voila... M

[symfony-users] Symfony 1.4 - reflexive relation with doctrine generates DELETE query

2011-05-17 Thread Mikael
lide = '1', updated_at = '2011-05-17 11:41:41' WHERE id = '15' DELETE FROM enseignement WHERE id = '13' I'm currently trying to find out the problem, but maybe it's a flawed model or known problem. Any idea on that ? Regards, Mikael Kermorgan

[symfony-users] Re: schema imported without relations

2010-10-27 Thread Mikael
Ok, thanks for the explanation ! Regards, Mikael On 27 oct, 20:24, Pierre-Yves LEBECQ wrote: > I think the response is simply "No". > > DQL does not rely on the structure of the database but only on the generated > model files before actually querying the databa

[symfony-users] schema imported without relations

2010-10-27 Thread Mikael
500 | Internal Server Error | Doctrine_Table_Exception Unknown relation alias So a question : is it at all possible to use DQL with joins when the schema does not specify relations ? Regards, Mikael -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-

[symfony-users] Re: iocombiner plugin : activation procedure ?

2010-04-15 Thread Mikael
on.css, frontend.css, jquery.alerts.css] javascripts:[jquery.js, jquery.alerts.js, jquery.iufm.js] view.yml: stylesheets: [common.css, frontend.css,jquery.alerts.css] javascripts:[jquery.js,jquery.alerts.js, jquery.iufm.js] Regards, Mikael On 14 avr, 16:05, weaverryan wrote: &

[symfony-users] iocombiner plugin : activation procedure ?

2010-04-14 Thread Mikael
o procede ? Regards, Mikael Kermorgant -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to sym

[symfony-users] Re: doctrine autoloading pb while deploying on debian lenny

2010-04-01 Thread Mikael
THANKS !!! Mikael -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@google

[symfony-users] Re: doctrine autoloading pb while deploying on debian lenny

2010-04-01 Thread Mikael
And with xdebug enabled, I get this /var/www/pi2010$ ./symfony import:pays Fatal error: Class 'Doctrine_Template_TimeStampable' not found in /var/ www/svnexp/pi2010/trunk-r269/lib/model/doctrine/base/ BasePays.class.php on line 66 Call Stack: 0.0002 53584 1. {main}() /var/www/svnexp/

[symfony-users] Re: doctrine autoloading pb while deploying on debian lenny

2010-04-01 Thread Mikael
27;); $doctrine->query('TRUNCATE TABLE nationalite'); unset($doctrine); while (($data = fgetcsv($handle, 1000, ";")) !== FALSE) { $row++; $pays = new Pays(); $pays->setCode(trim($data[0]

[symfony-users] doctrine autoloading pb while deploying on debian lenny

2010-04-01 Thread Mikael
Hello, I try to deploy a symfony project (developped on wamp) on a debian lenny server and faces the following problem while running a task that works fine on my windows machine : /var/www/pi2010$ ./symfony import:pays Fatal error: Class 'Doctrine_Template_TimeStampable' not found

[symfony-users] create fieldsets in form class

2010-02-19 Thread Mikael
with the idea of specifying the list of widgets in generator.yml. Is there a way to specify my fieldsets in the BackendPcForm class ? Regards, Mikael -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email

[symfony-users] Re: Admin generator, Doctrine, one-to-many relation

2010-02-19 Thread Mikael
Hello, Not sure, but maybe the "ahDoctrineEasyEmbeddedRelationsPlugin" could help. I have a "computer" table and an "interface" table and this plugin has helped me to manage many interfaces for one computer. Regards Mikael On Feb 19, 12:04 pm, Johannes Trommer wr

[symfony-users] Re: ahDoctrineEasyEmbeddedRelationsPlugin : how to hide some form widgets

2010-02-17 Thread Mikael
y and just create another form inheriting > > from the form you are probably already using elsewhere and use > > $this->useFields() before calling this embedRelations(). > > > Does that help? By the way, you really shouldn't use the form: display: key > > as you are l

[symfony-users] ahDoctrineEasyEmbeddedRelationsPlugin : how to hide some form widgets

2010-02-17 Thread Mikael
Works well until I add "Eth" in order to see existing "Eth" records linked to existing "Pc"s. -> If the pc object already has an interface, it shows up -> If not, I get an error 500 : "Widget "Eth" does not exist." Anyone an idea about how

[symfony-users] Re: ahDoctrineEasyEmbeddedRelationsPlugin : use a relation from inherited object ?

2010-02-16 Thread Mikael
On Feb 16, 8:19 pm, Daniel Lohse wrote: > So, to clarify: there was no issue here. Exactly. Regards, Mikael -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googleg

[symfony-users] Re: ahDoctrineEasyEmbeddedRelationsPlugin : use a relation from inherited object ?

2010-02-16 Thread Mikael
On Feb 16, 7:05 pm, Mikael wrote: > On 16 fév, 13:40, Daniel Lohse wrote: > > > > > Hey there, > > > I'm the plugin developer. > > > There are few things that need work and I was much too fast to pull   > > the trigger on the 'stable' d

[symfony-users] Re: ahDoctrineEasyEmbeddedRelationsPlugin : use a relation from inherited object ?

2010-02-16 Thread Mikael
> > Cheers, Daniel > > Sent from my iPhone Hello, I sent you the complete schema.yml and some fixture on your email i...@asapdesign.de I guess my concern has something to do with the following line in lib / form / ahBaseFormDoctrine.class.php : $this->getObject()->getTable

[symfony-users] Re: ahDoctrineEasyEmbeddedRelationsPlugin : use a relation from inherited object ?

2010-02-16 Thread Mikael
To be more precise, here's an extract from schema.yml : = Obj: columns: name: type: string(25) num_serie: type: string(45) notnull: true relations: Eth: class: Eth local: id foreign: id_obj type: many cascade: [delete]

[symfony-users] ahDoctrineEasyEmbeddedRelationsPlugin : use a relation from inherited object ?

2010-02-16 Thread Mikael
ld I do it ? Thanks in advance, Mikael Kermorgant -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+uns

[symfony-users] Re: default value in form extracted from session

2010-01-08 Thread Mikael
I must have made a mistake during my test : the right pc shows up by default in the dropdown list when creating a new interface. If I wanted to hide this dropdown list, would I have to create a specific template ? Regards, Mikael -- You received this message because you are subscribed to the

[symfony-users] Re: default value in form extracted from session

2010-01-08 Thread Mikael
id_obj = $request->getParameter('id_obj'); $this->form = new EthForm($this->eth); $this->setTemplate('new'); // lazy : would prefer not write a specific template - would be ok just by preselecting the right pc in the dropdown list } Any idea about

[symfony-users] Re: default value in form extracted from session

2010-01-08 Thread Mikael
Thanks a lot !!! Regards, Mikael -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@google

[symfony-users] default value in form extracted from session

2010-01-07 Thread Mikael
{ public function configure() { $this->setDefault('id_obj', sfUser::getAttribute('pc')); } } Could someone help me to do this right ? Regards, Mikael -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post

[symfony-users] Re: [beginner] model design problem with common data in one table (should do multiple inheritance)

2010-01-07 Thread Mikael
is time to implement it right (form management). Do anyone know of any tuto about this approach ? Regards, Mikael Kermorgant -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups

[symfony-users] Re: [beginner] model design problem with common data in one table (should do multiple inheritance)

2009-12-21 Thread Mikael
On 21 déc, 19:11, Eno wrote: > On Mon, 21 Dec 2009, Mikael wrote: > > I'd like to rewrite an existing application as a way to learn symfony, > > and I face a design issue. > > > The database will contain informations about our stock (computers, > > switch

[symfony-users] [beginner] model design problem with common data in one table (should do multiple inheritance)

2009-12-21 Thread Mikael
hould be extended with "BasePc" and "BaseObj" but php won't permit it. Would someone know how to do this right ? Regards, Mikael -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send