[symfony-users] Re: netbeans 6.8 (IDE for Symfony) - No symfony script selected

2009-12-13 Thread dziobacz
oh thx :)

On 14 Gru, 07:17, lking  wrote:
> i think that you should to select file symfony.
> in my case it's
> Z:\vendor\symfony\data\bin\symfony
>
> On 14 дек, 07:36, dziobacz  wrote:
>
> > I can't create new Symfony project in netbeans, I have communicate:
> > No Symfony script selected
>
> > Here on the last 
> > screen:http://blogs.sun.com/netbeansphp/entry/initial_symfony_support
> > We have:
> > Symfony script: /usr/bin/symfony
>
> > It is path to what ? To symfony unzipped instalation package ? But I
> > can't write there path to catalog, I must choose there a file !! So ?

--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




[symfony-users] CSRF Plugin

2009-12-13 Thread DEEPAK BHATIA
Hi,

Anybody used CSRF plugin with Symfony 1.1.

I installed the plugin, and enabled CSRF secret key in filters.yml. But now
if I click any hyperlink, I get "CSRF Attack Detected".

Thanks in advance,

Regards

Deepak Bhatia

--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] Symfony developer "per hour" salary

2009-12-13 Thread Alexandru-Emil Lupu
In romania i heard that the price is around 20 euro per hour. I am not
receiving so much... so, i can not be sure
Alecs

sent via htc magic

On Dec 14, 2009 6:41 AM, "DEEPAK BHATIA"  wrote:

May be USD 50 Per hour.

2009/12/14 Łukasz Wojciechowski 

> > Hello > > I'm Polish and I live in Poland. > > Recently I was hired by a
company based in Canad...

-- You received this message because you are subscribed to the Google Groups
"symfony users" group...

--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] Bad culture detected

2009-12-13 Thread Alexandru-Emil Lupu
I have me this behavior when i have used sfAdminDashPlugin.
It seems that this culture is embeded inside the plugin itself.
I dunno why you get that behavior.

sent via htc magic

On Dec 14, 2009 5:27 AM, "rernst"  wrote:

Somehow symfony detects me as as Portuguese Brazilian:

options:
 auto_shutdown: false
 culture: null
 default_culture: en
 use_flash: true
 logging: '1'
 timeout: 1800
attributeHolder:
 symfony/user/sfUser/attributes: { referer: 'http://pctadmin/
backend_dev.php' }
culture: pt_BR

My browser http header says US english. I have no idea where symfony
1.2 comes up with this. It's an admin-generated backend.  PHP says
that I am English.

Can I force the admin generator to use a certain culture? All my dates
and date pickers are screwed up. Is this a bug?

--

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...@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en.

--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




[symfony-users] Re: netbeans 6.8 (IDE for Symfony) - No symfony script selected

2009-12-13 Thread lking
i think that you should to select file symfony.
in my case it's
Z:\vendor\symfony\data\bin\symfony

On 14 дек, 07:36, dziobacz  wrote:
> I can't create new Symfony project in netbeans, I have communicate:
> No Symfony script selected
>
> Here on the last 
> screen:http://blogs.sun.com/netbeansphp/entry/initial_symfony_support
> We have:
> Symfony script: /usr/bin/symfony
>
> It is path to what ? To symfony unzipped instalation package ? But I
> can't write there path to catalog, I must choose there a file !! So ?

--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




[symfony-users] netbeans 6.8 (IDE for Symfony) - No symfony script selected

2009-12-13 Thread dziobacz
I can't create new Symfony project in netbeans, I have communicate:
No Symfony script selected

Here on the last screen: 
http://blogs.sun.com/netbeansphp/entry/initial_symfony_support
We have:
Symfony script: /usr/bin/symfony

It is path to what ? To symfony unzipped instalation package ? But I
can't write there path to catalog, I must choose there a file !! So ?

--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] Symfony developer "per hour" salary

2009-12-13 Thread DEEPAK BHATIA
May be USD 50 Per hour.

2009/12/14 Łukasz Wojciechowski 

> Hello
>
> I'm Polish and I live in Poland.
>
> Recently I was hired by a company based in Canada to work on symfony
> based project.
>
> Project started when symfony 1.0 was stable version.
> Im responsible for:
> - code refactoring:
>  - cleaning up PHP notices
>  - DRY'ing some obvious parts of the code
>  - moving some code from/to view and model layer
> - concrete funciontal changes pointed by Customer
> - fixing bugs
> - securing application
> - updating to 1.4 version
>
> I consider myself and I believe :) I'm intermediate symfony developer
> - I'm using symfony from 2-3 years and developed 10 - 20 various size
> projects.
>
> I know the value of my work but this is my first job outside of my
> country so I have no idea what is per hour rating (in USD) for such
> scenario.
>
> Maybe some of You are hiring symfony developers from middle Europe and
> could share Your knowledge about per hour ratings?
>
> Thanks in advance
>
> --
> Best regards
>
> Lukasz Wojciechowski
> http://www.ngsoft.pl
>
> --
>
> 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...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>

--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] sfJqueryReloadedPlugin in 1.4

2009-12-13 Thread ashton honnecke
It only works with 1.2, like it says on the page I linked to.
:D
nm

On Sun, Dec 13, 2009 at 8:53 PM, ashton  wrote:
> Having trouble getting plugin setup in a new 1.4 project.  When set up
> as external in the plugins directory, It won't work. Publish assets
> doesn't make the link to the plugin, and calling the helper throws an
> exception:
> ahonne...@honnecke:~/repos/sgl$ php symfony plugin:assets
>>> plugin    Configuring plugin - sfDoctrinePlugin).
>
> Furthermore, if I run 'symfony plugin:sfJqueryReloadedPlugin' I get:
>  No release available for plugin "sfJqueryReloadedPlugin"
>
> Am I pointing to the wrong repo for the plugin? (this one works on
> 1.2)
>
> ahonne...@honnecke:~/repos/sgl$ svn propget svn:externals plugins
> sfJqueryReloadedPlugin 
> http://svn.symfony-project.com/plugins/sfJqueryReloadedPlugin/1.2/trunk
>
> The sfJqueryReloadedPlugin (http://www.symfony-project.org/plugins/
> sfJqueryReloadedPlugin) claims that the plugin is compatible with 1.4.
>
> --
>
> 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...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>

--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




[symfony-users] sfJqueryReloadedPlugin in 1.4

2009-12-13 Thread ashton
Having trouble getting plugin setup in a new 1.4 project.  When set up
as external in the plugins directory, It won't work. Publish assets
doesn't make the link to the plugin, and calling the helper throws an
exception:
ahonne...@honnecke:~/repos/sgl$ php symfony plugin:assets
>> pluginConfiguring plugin - sfDoctrinePlugin).

Furthermore, if I run 'symfony plugin:sfJqueryReloadedPlugin' I get:
  No release available for plugin "sfJqueryReloadedPlugin"

Am I pointing to the wrong repo for the plugin? (this one works on
1.2)

ahonne...@honnecke:~/repos/sgl$ svn propget svn:externals plugins
sfJqueryReloadedPlugin 
http://svn.symfony-project.com/plugins/sfJqueryReloadedPlugin/1.2/trunk

The sfJqueryReloadedPlugin (http://www.symfony-project.org/plugins/
sfJqueryReloadedPlugin) claims that the plugin is compatible with 1.4.

--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




[symfony-users] Bad culture detected

2009-12-13 Thread rernst
Somehow symfony detects me as as Portuguese Brazilian:

options:
  auto_shutdown: false
  culture: null
  default_culture: en
  use_flash: true
  logging: '1'
  timeout: 1800
attributeHolder:
  symfony/user/sfUser/attributes: { referer: 'http://pctadmin/
backend_dev.php' }
culture: pt_BR

My browser http header says US english. I have no idea where symfony
1.2 comes up with this. It's an admin-generated backend.  PHP says
that I am English.

Can I force the admin generator to use a certain culture? All my dates
and date pickers are screwed up. Is this a bug?

--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




[symfony-users] Re: anonymous visits getting into a module marked credentials: admin. Why?

2009-12-13 Thread Jake Barnes
Sorry. This was just wrong syntax  in the yaml file.

On Dec 13, 8:18 pm, Lawrence  wrote:
> I'm using Symfony 1.2.5
>
> On Dec 13, 7:42 pm, Lawrence  wrote:
>
> > I create a new module. Then I create  a folder called "config" in that
> > module, and in a file called security.yml I add:
>
> > all:
> >   is_secure:   on
> >   credentials: admin
>
> > Then I run "symfony cc".
>
> > And yet, even when I'm not logged in, I can still point my browser at
> > every page in the module. Did I forget something?

--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




[symfony-users] Symfony developer "per hour" salary

2009-12-13 Thread Łukasz Wojciechowski
Hello

I'm Polish and I live in Poland.

Recently I was hired by a company based in Canada to work on symfony
based project.

Project started when symfony 1.0 was stable version.
Im responsible for:
- code refactoring:
 - cleaning up PHP notices
 - DRY'ing some obvious parts of the code
 - moving some code from/to view and model layer
- concrete funciontal changes pointed by Customer
- fixing bugs
- securing application
- updating to 1.4 version

I consider myself and I believe :) I'm intermediate symfony developer
- I'm using symfony from 2-3 years and developed 10 - 20 various size
projects.

I know the value of my work but this is my first job outside of my
country so I have no idea what is per hour rating (in USD) for such
scenario.

Maybe some of You are hiring symfony developers from middle Europe and
could share Your knowledge about per hour ratings?

Thanks in advance

--
Best regards

Lukasz Wojciechowski
http://www.ngsoft.pl

--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




[symfony-users] Re: anonymous visits getting into a module marked credentials: admin. Why?

2009-12-13 Thread Lawrence
I'm using Symfony 1.2.5

On Dec 13, 7:42 pm, Lawrence  wrote:
> I create a new module. Then I create  a folder called "config" in that
> module, and in a file called security.yml I add:
>
> all:
>   is_secure:   on
>   credentials: admin
>
> Then I run "symfony cc".
>
> And yet, even when I'm not logged in, I can still point my browser at
> every page in the module. Did I forget something?

--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




[symfony-users] anonymous visits getting into a module marked credentials: admin. Why?

2009-12-13 Thread Lawrence
I create a new module. Then I create  a folder called "config" in that
module, and in a file called security.yml I add:

all:
  is_secure:   on
  credentials: admin


Then I run "symfony cc".

And yet, even when I'm not logged in, I can still point my browser at
every page in the module. Did I forget something?

--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




[symfony-users] [SOLVED-Partial]Re: spyMenuPlugin with Symfony 1.4 / Doctrine 1.2

2009-12-13 Thread NicolAS400
ups, I didn't enable spyMenuPlugin  in projectConfiguration.class.php

I gaot another error ... but I will figth with this new one !

Regards

On 12 dic, 18:49, lking  wrote:
> hi.
> as i can see here is ver of plugin for sf1.2 and here is no module
> sfDbMenu in this plugin. (typo? is plugin and modules enabled?)
> did you meant module spyDbMenu?
> as i can see here is index in the
> modules/spyDbMenu/actions/components.class.php
>
> On 12 дек, 19:32, NicolAS400  wrote:
>
>
>
> > Hi, i'm trying to use this plugin.
>
> > It looks like this plugin was developed for sf 1.1 and propel.
>
> > i'm trying to make it work on sf 1.4 and doctrine 1.2
>
> > the problem i got here is that I get this error:
>
> > Could't find component/module : sfDbMenu , index .
>
> > I look on plugin\spyMenuPlugin\lib\components.class.php and i can see
> > executeIndex function, in a class named sfDbMenuComponent 
>
> > any idea where to look ??
>
> > Best Regards.
> > Nicolas

--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




[symfony-users] Re: spyMenuPlugin with Symfony 1.4 / Doctrine 1.2

2009-12-13 Thread NicolAS400
Hi, yes it was a typo.
I mean spyDbMenu, from http://spyrit.net.

But yes I follow instrucction to install from readme file.
I enable the modules in setting.yml

this is te line:

enabled_modules:  [default,sfGuardAuth, sfGuardGroup,
sfGuardPermission, sfGuardUser,spyDbMenu,spyMenuManager]

I unzip spyMenuPlugin  below plugins folder.
I see what seems to be missing in:
/my app/plugins/spyMenuPlugin/modules/spyDbMenu/actions/
components.class.php

/**
 * To get all the menu form the database
 */
public function executeIndex(){
$this->preExecute();
}

What could be issue.
I think is because this plugin was designed for sf 1.1 or 1.2 ...

Any help will be appreciated.

Best Regards
Saludos

Nicolas



On 12 dic, 18:49, lking  wrote:
> hi.
> as i can see here is ver of plugin for sf1.2 and here is no module
> sfDbMenu in this plugin. (typo? is plugin and modules enabled?)
> did you meant module spyDbMenu?
> as i can see here is index in the
> modules/spyDbMenu/actions/components.class.php
>
> On 12 дек, 19:32, NicolAS400  wrote:
>
>
>
> > Hi, i'm trying to use this plugin.
>
> > It looks like this plugin was developed for sf 1.1 and propel.
>
> > i'm trying to make it work on sf 1.4 and doctrine 1.2
>
> > the problem i got here is that I get this error:
>
> > Could't find component/module : sfDbMenu , index .
>
> > I look on plugin\spyMenuPlugin\lib\components.class.php and i can see
> > executeIndex function, in a class named sfDbMenuComponent 
>
> > any idea where to look ??
>
> > Best Regards.
> > Nicolas

--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




[symfony-users] Help with display of doctrine float numbers

2009-12-13 Thread PhiKapJames
I'm running into the issue where when I'm trying to use the default
getValue() method that was automatically generated from a model, that
it's not giving the correct place value.  I have for examply .4123 in
my database, but it is only displaying .41.  When i look at the query
log, it's not doing anything special to format the number.  How can I
get the correct full value of .4123?

--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




[symfony-users] Re: White page while working with Jobeet tutorial day 6 SF version 1.4 with Doctrine

2009-12-13 Thread George
Hi,

I finally found the reason for this behavior.

My earlier workshops with  Jobeet where with version 1.2. and I had
cleaned away Jobeet.class  from lib-directory when starting workshop
with v. 1.4.

I put it back and now everything runs fine.

Strange is that I did not got any errors  due to lacking class file
though there were out several calls  to slugify-method of this class.

On 12 joulu, 16:12, George  wrote:
> Hi,
>
> When refractoring  the action in the function  execute_index
>
> from call  $this->jobeet_job_list = 
> Doctrine::getTable('JobeetJob')->getActiveJobs();
>
> into  call
>  $this->categories = Doctrine::getTable('JobeetCategory')->getWithJobs
> ();
>
> I get a white page.
> when debugging getWithJobs with var_dump as follows
>
> public function getWithJobs()
>   {
>     $q = $this->createQuery('c')
>       ->leftJoin('c.JobeetJobs j')
>       ->where('j.expires_at > ?', date('Y-m-d H:i:s', time()));
>      var_dump($q);die();
>
>     return $q->execute();
>   }
> it ends up with infinite loop with lots of output into screen.
>
> Symfonys own error hangling gives no error.
> Problem seems to be alias handling  c.JobeetJobs
> So how to handle this?

--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] Anybody with leads Update query issue

2009-12-13 Thread Alexandre Salomé
You have the answer since 5 days !

Have a look at that : http://snippets.symfony-project.org/snippet/50

Looks like you have two criterias : 1 to specify how to find records to
update, and 2 to define what you change.

Alexandre


In your case :

$selectCriteria = new Criteria();
$updateCriteria = new Criteria();

$selectCriteria->add(QuestionsPeer::ID,$questionId);

$updateCriteria->add(QuestionsPeer::QUESTION,$updatedQuestion);
$updateCriteria->add(QuestionsPeer::OPTION1,$updatedOption1);
$updateCriteria->add(QuestionsPeer::OPTION2,$updatedOption2);
$updateCriteria->add(QuestionsPeer::OPTION3,$updatedOption3);
$updateCriteria->add(QuestionsPeer::OPTION4,$updatedOption4);

QuestionsPeer::doUpdate($selectCriteria, $updateCriteria);


It's not obsolete, as you said before, I've checked in Propel 1.2, 1.3 and
1.4, it's always the same way !



2009/12/12 Parijat Kalia 

>
>
> Guys, I have an update query in criteria, which is not working, I am not
> sure why, all the data that is being fed has been cross checked and is
> present, the fields are correct as well, so here is the query:
>  $d = new Criteria();
>   $d->add(QuestionsPeer::ID,$questionId);
>   $d->add(QuestionsPeer::QUESTION,$updatedQuestion);
>   $d->add(QuestionsPeer::OPTION1,$updatedOption1);
>   $d->add(QuestionsPeer::OPTION2,$updatedOption2);
>   $d->add(QuestionsPeer::OPTION3,$updatedOption3);
>   $d->add(QuestionsPeer::OPTION4,$updatedOption4);
>   QuestionsPeer::doUpdate($d);
>
>
> The above is in a loop (if method is post then) and it does get inside the
> loop, so not sure why the above query is not being updated.
> the first statement is to basically retrieve the object by the primary key!
> Thanks
>
>  --
> 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...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>



-- 
Alexandre Salomé
http://alexandre-salome.fr

--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] White page while working with Jobeet tutorial day 6 SF version 1.4 with Doctrine

2009-12-13 Thread Alexandre Salomé
Hi,

  Try to do : var_dump($q->getDql());

Notice : queries creation should be handled by the table. All the "business
model" should be in the model folder (in object class or table class).

2009/12/12 George 

> Hi,
>
> When refractoring  the action in the function  execute_index
>
> from call  $this->jobeet_job_list = Doctrine::getTable('JobeetJob')-
> >getActiveJobs();
> into  call
>  $this->categories = Doctrine::getTable('JobeetCategory')->getWithJobs
> ();
>
> I get a white page.
> when debugging getWithJobs with var_dump as follows
>
> public function getWithJobs()
>  {
>$q = $this->createQuery('c')
>  ->leftJoin('c.JobeetJobs j')
>  ->where('j.expires_at > ?', date('Y-m-d H:i:s', time()));
> var_dump($q);die();
>
>return $q->execute();
>  }
> it ends up with infinite loop with lots of output into screen.
>
> Symfonys own error hangling gives no error.
> Problem seems to be alias handling  c.JobeetJobs
> So how to handle this?
>
>
>
> --
>
> 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...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>


-- 
Alexandre Salomé
http://alexandre-salome.fr

--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] Re: file_link_format for PDT/eclipse

2009-12-13 Thread Alexandre Salomé
I made some tries, the problem is that when Eclipse is already running, you
have no way to open it in the running instance.

I looked for some plugins, but no clean way to do that...

The script given by Lukasz is useful, half of the solution.

Just miss the line to tell the running Eclipse "Hey, open this file"

Looked at Eclipse documentation, no information.

Should go see Eclipse usergroups.

2009/12/12 klemens_u 

> Hi Lukasz,
>
> thanks for your input.
>
> Sadly I didn't find any information on how to supply a filename to the
> Eclipse executable.
>
> Anyone?
>
> Thanks, Klemens
>
> On 12 Dez., 03:13, Łukasz Wojciechowski 
> wrote:
> > Hi
> >
> > First check If You can load a specific file when running Your IDE.
> >
> > I have managed to get this working with netbeans and to open a file in
> > netbeans it is just to run:
> > netbeans FILE_PATH:LINE_NUMBER
> > Check what it looks like in PDT and adjust those instructions
> accodringly.
> >
> > So assuming that You are using firefox 3 and Linux and have
> > /usr/bin/php binary available:
> >
> > 1.
> > add custom protocol to firefox following instructions from here:
> http://kb.mozillazine.org/Register_protocol#Firefox_3.5_specific__.28...
> >
> > For our case You need to replace "foo" with "editor"
> >
> > 2.
> > create script on Your disk with following content, lets say that you
> > name it "pdt-firefox-launcher":
> > #!/usr/bin/php
> >  > $arg = urldecode( str_replace( 'editor:', '', $_SERVER['argv'][1] ) );
> > $data = explode( ':', $arg );
> > $file = $data[0];
> > $line = $data[1];
> > passthru( "PATH_TO_PDT_EXECUTABLE $file:$line" );
> > ?>
> >
> > make it executable:
> > chmod +x pdt-firefox-launcher
> >
> > 3. in settings.yml setfile_link_formatvalue like that:
> > all:
> >   .settings:
> >file_link_format: editor:%f:%l
> >
> > Now when You will see some exceptin dump from symfony application file
> > names should be links like "editor:FILE_PATH:LINE_NUMBER".
> > When You click this link firefox should ask You to specify which
> > program to run for that kind of links - point it to Your
> > "pdt-firefox-launcher" script created earlier
> >
> > Thats it - from now on every link should open up PDT with specified file
> >
> > Good luck
> > --
> > Best regards
> > Lukasz Wojciechowski
> >
> > New Generation Software
> > +48 602 214 629http://www.ngsoft.pl
> >
> > 2009/12/11 klemens_u :
> >
> > > Hi everybody,
> >
> > > I just read about the "file_link_format" option of symfony / xdebug in
> > > the advent calendar:
> > >http://www.symfony-project.org/advent_calendar/4/en
> >
> > > Does anyone know how to setup this for PDT/Eclipse?
> >
> > > Thanks, Klemens :-)
> >
> > > --
> >
> > > 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...@googlegroups.com
> .
> > > For more options, visit this group athttp://
> groups.google.com/group/symfony-users?hl=en.
> >
> >
>
> --
>
> 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...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>


-- 
Alexandre Salomé
http://alexandre-salome.fr

--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




[symfony-users] Improve plugin:install method to not use PEAR

2009-12-13 Thread Simon Cast
Hi,

Installing plugins via the plugin:install method seems to require more
time battling PEAR than it should.

Would it be possible to update the plugin:install method to use SVN or
similar technique (rsync perhaps?) that avoids using PEAR?

The biggest problem I see with using SVN is possible conflicts between
the developers SVN for his project and the SVN for the plugin.  This
leads me to think that variant that uses rsync would work much better
to avoid battling working copies.

Here is how I think it could work:

1) developer runs symfony plugin:install 'name of plugin'
2) install task fetches information on location of plugin on server
3) install task uses fetched information on to create the correct
rsync call
4) install task executes the rsync command which pulls the plugin
files from the server and puts it into the correct directory for the
project.

The upgrade task would again use rsync but only pull down the changed
files.

Are there any problems/issues with using rsync for the plugin:install
and plugin:upgrade tasks?

Regards,

Simon

--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: Re: Re: Re: Re: Re: [symfony-users] Re: Help with Doctrine: yml vs. sql

2009-12-13 Thread patrick
Hi there, 

unfortunately this email address no longer accepts mail.

For web enquiries please contact DDNS on 03 9815 6868 or i...@ddns.com.au

For support related issues please email supp...@ddns.com.au

Kind Regards,

Domain Admin


--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: Re: Re: Re: [symfony-users] actAs timestampable

2009-12-13 Thread patrick
Hi there, 

unfortunately this email address no longer accepts mail.

For web enquiries please contact DDNS on 03 9815 6868 or i...@ddns.com.au

For support related issues please email supp...@ddns.com.au

Kind Regards,

Domain Admin


--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: Re: Re: Re: Re: [symfony-users] Re: Help with Doctrine: yml vs. sql

2009-12-13 Thread patrick
Hi there, 

unfortunately this email address no longer accepts mail.

For web enquiries please contact DDNS on 03 9815 6868 or i...@ddns.com.au

For support related issues please email supp...@ddns.com.au

Kind Regards,

Domain Admin


--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: Re: Re: Re: [symfony-users] Re: Help with Doctrine: yml vs. sql

2009-12-13 Thread patrick
Hi there, 

unfortunately this email address no longer accepts mail.

For web enquiries please contact DDNS on 03 9815 6868 or i...@ddns.com.au

For support related issues please email supp...@ddns.com.au

Kind Regards,

Domain Admin


--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: Re: Re: [symfony-users] actAs timestampable

2009-12-13 Thread patrick
Hi there, 

unfortunately this email address no longer accepts mail.

For web enquiries please contact DDNS on 03 9815 6868 or i...@ddns.com.au

For support related issues please email supp...@ddns.com.au

Kind Regards,

Domain Admin


--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: Re: Re: [symfony-users] Re: Help with Doctrine: yml vs. sql

2009-12-13 Thread patrick
Hi there, 

unfortunately this email address no longer accepts mail.

For web enquiries please contact DDNS on 03 9815 6868 or i...@ddns.com.au

For support related issues please email supp...@ddns.com.au

Kind Regards,

Domain Admin


--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: Re: [symfony-users] actAs timestampable

2009-12-13 Thread patrick
Hi there, 

unfortunately this email address no longer accepts mail.

For web enquiries please contact DDNS on 03 9815 6868 or i...@ddns.com.au

For support related issues please email supp...@ddns.com.au

Kind Regards,

Domain Admin


--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: Re: [symfony-users] Re: Help with Doctrine: yml vs. sql

2009-12-13 Thread patrick
Hi there, 

unfortunately this email address no longer accepts mail.

For web enquiries please contact DDNS on 03 9815 6868 or i...@ddns.com.au

For support related issues please email supp...@ddns.com.au

Kind Regards,

Domain Admin


--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] actAs timestampable

2009-12-13 Thread patrick
Hi there, 

unfortunately this email address no longer accepts mail.

For web enquiries please contact DDNS on 03 9815 6868 or i...@ddns.com.au

For support related issues please email supp...@ddns.com.au

Kind Regards,

Domain Admin


--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] Re: Help with Doctrine: yml vs. sql

2009-12-13 Thread patrick
Hi there, 

unfortunately this email address no longer accepts mail.

For web enquiries please contact DDNS on 03 9815 6868 or i...@ddns.com.au

For support related issues please email supp...@ddns.com.au

Kind Regards,

Domain Admin


--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




[symfony-users] actAs timestampable

2009-12-13 Thread Simon Cast
Hi,

I upgraded a 1.2.x application to 1.3.1 yesterday and found that the
actAs fields have gone from required=> false to required=> true.

I don't see it documented in the "What's New" of either 1.3.1 or
Doctrine 1.2.  Has anyone else come across this issue?  Is there an
option for inclusion in the schema files to change actAs fields from
required => true to required=>false?

Regards,

Simon

--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




[symfony-users] Re: Help with Doctrine: yml vs. sql

2009-12-13 Thread LeBurt
> Hey I did not really read through the entire thing, but if you want to
> create a database, I would recommend let symfony do it for you. By that I
> mean, create your db as you would otherwise, and then specify the connection
> to symfony and simply follow the build commands (build-schema)
>  I suppose that will mimic the database for you and generate all that you
> need.

Thanks Parijat but that's exactly what I did. I made a mistake in my
original post, where I wrote

  (this was all generated by the doctrine:build-sql command, I flipped
the order for clarity):

I should have said:

  (this was all generated by the doctrine:build-schema command, I
flipped the order for clarity):

Something else I noticed is the litteral format used in the multi-
field relations.

SupplierRequest:
  local: 'supplier_id, subsector_id'
  foreign: 'supplier_id, subsector_id'
  type: many

The multiple-column foreign keys are enclosed in single quotes. Is
this normal? And why do these make Doctrine want to create an index on
them anyway? Everything else but the two ALTER INDEX instructions have
the proper syntax.

--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




[symfony-users] Re: symfony1.3.1 + doctrine + astAs I18N - Doctrine_Connection_Mysql_Exception - serious bug?

2009-12-13 Thread micon
i´m sorry but i cannot post to the doctrine user group because of a
span protection there :-((
my membership state is pending since 2 days - no answer from the group
moderator til now...

On 11 Dez., 16:02, Norbert M Haigermoser  wrote:
> submit to doctrine-users == done
>
> Am 11.12.2009 um 15:50 schrieb Alexandre Salomé:
>
>
>
> > Could you submit it to the Doctrine user group ?
>
> > 2009/12/11 micon 
>
> > --  
> > Alexandre Salomé
> >http://alexandre-salome.fr
>
> > --
>
> > 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...@googlegroups.com
> > .
> > For more options, visit this group 
> > athttp://groups.google.com/group/symfony-users?hl=en
> > .

--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.