[symfony-users] Re: Doctrine innerJoin doubt

2010-04-25 Thread fRAnKEnSTEin
Hi, Yes i have tryed: $reservation-getAdultsReserved() or $reservation-adultsreserved or $reservation-adults_reserved or $reservation-adultsReserved or $reservation-AdultsReserved() and so on..any of them workeddo i have somthing wrong in my db schema or somthingthis is

[symfony-users] Re: Doctrine innerJoin doubt

2010-04-25 Thread fRAnKEnSTEin
sorry what i want to say is that none of them worked -- 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] Re: Doctrine innerJoin doubt

2010-04-25 Thread fRAnKEnSTEin
Hi, Yes i have tryed: $reservation-getAdultsReserved() or $reservation-adultsreserved or $reservation-adults_reserved or $reservation-adultsReserved or $reservation-AdultsReserved() and so on..none of them workeddo i have something wrong in my db schema or somthingthis is rare... Any

[symfony-users] symfony form + jquery AJAX

2010-04-25 Thread comb
Hi, Are there any examples on how to make a standard symfony 1.4 - form, that already works the normal way, using jquery/ajax for sending data instead of re-loading the page? I cannot get $.post to work and jquery.form.js, too and so on.. I'm missing an example for symfony 1.4. In advance comb

[symfony-users] The signin form appears even when i have the security set to false

2010-04-25 Thread Javier Garcia
Hi, i have installed sfDoctrineGuardExtraPlugin and when i try to execute an action from sfGuardRegister sfGuardForgotPassword i get the sfDoctrineGuardUser signin form. I have the security set to false. I don't have that problem with other modules. sf 1.3, sfDoctrineGuardExtraPlugin 1.3

[symfony-users] Doctrine: strange charset problem on saving data to MySQL database

2010-04-25 Thread Roland Cremer
Hi all, I've got a strange problem on saving data to the database. i have a made a symfony-task to import a csv file and save the objects to the database. This works fine.. but whenever a utf8 character comes in, the data is truncated and only the data before the character is saved to the

[symfony-users] Re: The signin form appears even when i have the security set to false

2010-04-25 Thread Javier Garcia
If i remove sfDoctrineGuardPlugin i get this error: 404 | Not Found | sfError404Exception Action sfGuardAuth/signin does not exist. stack trace * at () in SF_ROOT_DIR/lib/vendor/symfony/lib/controller/ sfController.class.php line 196 ... 193.

[symfony-users] Re: migrations trouble: sfpropelmigrationslightplugin

2010-04-25 Thread Parijat Kalia
I was hoping somebody would have some leads on this, but it doesn't seem that way. Or maybe the message wasn't delivered. I have the configuration set in settings.yml to enable the plugin. Wonder what's going wrong. Thanks! On Sat, Apr 24, 2010 at 4:42 PM, Parijat Kalia

[symfony-users] Re: Doctrine innerJoin doubt

2010-04-25 Thread ev...@freshheads.com
Why don't you have an `id` column on reservation in your schema? And which relations are defined in your BaseReservation class? Doctrine uses singular names for models, have you tried to define the innerJoin as -innerJoin('r.ReservationDetail rd'); Because magical methods are singular too. In

[symfony-users] Form not processing upon submit

2010-04-25 Thread Parijat Kalia
Hey guys, Here is a piece of code in my action that I can't seem to understand what has gone wrong with if($this-getRequest()-isMethod('post')) { echo hello; ... ... } this should print hello in to my page...but that is not happening...I have the submit_tag('Next

Re: [symfony-users] Form not processing upon submit

2010-04-25 Thread Gábor Fási
Do you echo a form tag as well? On Sun, Apr 25, 2010 at 22:53, Parijat Kalia kaliapari...@gmail.com wrote: Hey guys, Here is a piece of code in my action that I can't seem to understand what has gone wrong with   if($this-getRequest()-isMethod('post'))       {          echo hello;

Re: [symfony-users] Form not processing upon submit

2010-04-25 Thread Parijat Kalia
yES, I am doing echo use_helper('Form'), is that wrong? On Sun, Apr 25, 2010 at 2:04 PM, Gábor Fási maerl...@gmail.com wrote: Do you echo a form tag as well? On Sun, Apr 25, 2010 at 22:53, Parijat Kalia kaliapari...@gmail.com wrote: Hey guys, Here is a piece of code in my action that I

Re: [symfony-users] Form not processing upon submit

2010-04-25 Thread Gábor Fási
That alone does not echo a form tag, as you can easily see if you check the generated source. You need to create a form tag manually, call the form_tag() helper, or call the renderFormTag() method of an sfForm instance. On Sun, Apr 25, 2010 at 23:41, Parijat Kalia kaliapari...@gmail.com wrote:

Re: [symfony-users] Form not processing upon submit

2010-04-25 Thread Parijat Kalia
Since when did that start happening...I am using 1.2.9and I have a bunch of other forms where all I do is echo use_helper('Form') and end with /form the submit button in that works perfectly fine and there is no manual form tag nor the need for form_tag() or renderFormTag() at all. Please

Re: [symfony-users] Form not processing upon submit

2010-04-25 Thread Eno
On Sun, 25 Apr 2010, Parijat Kalia wrote: Since when did that start happening...I am using 1.2.9and I have a bunch of other forms where all I do is echo use_helper('Form') and end with /form the submit button in that works perfectly fine and there is no manual form tag nor the need

Re: [symfony-users] Form not processing upon submit

2010-04-25 Thread Parijat Kalia
Indeed this is surprising, I mean, it has to be applicable across all modules and pages right? I have one page where this is not applicable and the page is working fine, and another page where it is not working at all. On Sun, Apr 25, 2010 at 3:09 PM, Eno symb...@gmail.com wrote: On Sun, 25 Apr

Re: [symfony-users] Form not processing upon submit

2010-04-25 Thread Parijat Kalia
rESOlveD: made a big mistake...did not include the form_tag()...such stupididty thanks! On Sun, Apr 25, 2010 at 3:11 PM, Parijat Kalia kaliapari...@gmail.comwrote: Indeed this is surprising, I mean, it has to be applicable across all modules and pages right? I have one page where this is not

[symfony-users] Strange happenings: Nothing being echoed out!

2010-04-25 Thread Parijat Kalia
Hey guys, This is slightly strange to me, I am not sure why, I have a bunch of pages in a module of mine (say admin module, pages step1,step2,step3) etc. Now they have their corresponding step1Success.php and step2Success.php and so on and so forth. The pages render themselves fine...but when I

[symfony-users] Re: Strange happenings: Nothing being echoed out!

2010-04-25 Thread Parijat Kalia
Corrections to the mail I just sent, it is simply not entering the if($this-getRequest()-isMethod('post')) loop On Sun, Apr 25, 2010 at 5:59 PM, Parijat Kalia kaliapari...@gmail.comwrote: Hey guys, This is slightly strange to me, I am not sure why, I have a bunch of pages in a module of

Re: [symfony-users] Re: Symfony 1.4 - sfOutputEscaperObjectDecorator::__toString()

2010-04-25 Thread Tom Haskins-Vaughan
Try removing the closing tag. If there's any white space after the closing tag it can sometimes cause problems. On Sat, Apr 24, 2010 at 2:00 PM, Dale Attree dale.att...@gmail.com wrote: A closing php tag. On Apr 24, 1:27 pm, Tom Haskins-Vaughan t...@templestreetmedia.com wrote: What's on

[symfony-users] Functions other than executeActionXXX()

2010-04-25 Thread Parijat Kalia
Hey guys, I am sure we can define different functions in Symfony, other than the executeActionXXX() types. Suppose I wanna define a function that does a task in several other functions. How can I go about doing this? for e.g executeActionXXX() { $var = functionXX(); } executeActionYYY() { $var

[symfony-users] My best practices of PHPUnit testing a symfony 1.4 plugin

2010-04-25 Thread Christian Schaefer
Hi all, I finally came round to translate some old (german) posts and summarised my learning so far about PHPUnit testing symfony plugins. As this topic pops up every now and then I thought I share the link here as well. If you think this unworthy self promotion: please ignore. :) Cheers