[symfony-users] Question of _partial in list of admin-generator

2010-08-04 Thread Eduardo Lagares
Good night,
I like know how i access the value of field in a _partial column in
the list, generated by admin-generator

i have the file _blocked.php
how i will go access the value of this column in this file?


thanks.

-- 
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@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: Problem with filters

2010-08-04 Thread florian périn
I want this filters to do the role of filter. When I choose for
exemple 'non' on enligne, there are only families with 0 on the column
enligne. But when I chose this, there is not generated SQL query...

So I don't know what to do.

On 3 août, 16:35, Tom Ptacnik to...@tomor.cz wrote:
 What do you want to this filter to do? And what is does instead?

 ... look on the generated SQL query which is creaded by the filter.
 This is the way to go to find your mistake.

 On 3 srp, 13:16, florian périn poulet.va...@gmail.com wrote:

  I use symfony 1.4.5.

  //lib/filter/doctrine/BackendgammeFormFilter.class.php

    1 ?php
    2
    3 /**
    4  * Gamme filter form backend class.
    5  *
    6  * @package    refactor_metaux
    7  * @subpackage filter
    8  * @author     Florian PÉRIN
    9  * @version    SVN: $Id: sfDoctrineFormFilterGeneratedTemplate.php
  29570 2010-05-21 14:49:47Z Kris.Wallsmith $
   10  */
   11 class BackendGammeFormFilter extends GammeFormFilter
   12 {
   13   public function configure()
   14   {
   15       $this-addWidgets();
   16       $this-addValidators();
   17       $this-widgetSchema-setNameFormat('gamme_filters[%s]');
   18       $this-errorSchema = new 
  sfValidatorErrorSchema($this-validatorSchema);

   19   }
   20
   21   public function addWidgets()
   22   {
   23     $this-setWidgets(array(
   24       'nom'          = new sfWidgetFormDoctrineChoice(array(
   25                                 'model' = 'Gamme',-
   26                                 'add_empty' = true,-
   27                                 'order_by' = array('nom',
  'asc'),-
   28                         )),
   29       'image'        = new sfWidgetFormFilterInput(),
   30       'description'  = new sfWidgetFormFilterInput(),
   31       'deuxcolonnes' = new sfWidgetFormChoice(array( 'choices' =
  array( '' = 'oui ou non', '0' = 'non', '1' = 'oui'), ) ),
   32       'enligne'      = new sfWidgetFormChoice(array( 'choices' =
  array( '' = 'oui ou non', '0' = 'non', '1' = 'oui'), ) ),
   33       'lienspe'      = new sfWidgetFormFilterInput(),
   34     ));
   35   }
   36
   37   public function addValidators()
   38   {
   39     $this-setValidators(array(
   40       'nom'          = new sfValidatorChoice( array( 'choices' =
  array($this-getObject()-get('idgamme')), 'required' = false)),
   41       'image'        = new sfValidatorPass(array('required' =
  false)),
   42       'description'  = new sfValidatorPass(array('required' =
  false)),
   43       'deuxcolonnes' = new sfValidatorChoice(array('required' =
  false, 'choices' = array( '0', '1'))),
   44       'enligne'      = new sfValidatorChoice(array('required' =
  false, 'choices' = array( '0', '1'))),
   45       'lienspe'      = new sfValidatorPass(array('required' =
  false)),
   46     ));
   47   }

  And it looks before like this:

    1 ?php
    2
    3 /**
    4  * Gamme filter form backend class.
    5  *
    6  * @package    refactor_metaux
    7  * @subpackage filter
    8  * @author     Florian PÉRIN
    9  * @version    SVN: $Id: sfDoctrineFormFilterGeneratedTemplate.php
  29570 2010-05-21 14:49:47Z Kris.Wallsmith $
   10  */
   11 class BackendGammeFormFilter extends GammeFormFilter
   12 {
   13   public function configure()
   14   {
   15       $this-addWidgets();
   16       $this-addValidators();
   17       $this-widgetSchema-setNameFormat('gamme_filters[%s]');
   18       $this-errorSchema = new 
  sfValidatorErrorSchema($this-validatorSchema);

   19   }
   20
   21   public function addWidgets()
   22   {
   23     $this-setWidgets(array(
   24       'nom'          = new sfWidgetFormFilterInput(),
   25       'image'        = new sfWidgetFormFilterInput(),
   26       'description'  = new sfWidgetFormFilterInput(),
   27       'deuxcolonnes' = new sfWidgetFormFilterInput(),
   28       'enligne'      = new sfWidgetFormFilterInput(),
   29       'lienspe'      = new sfWidgetFormFilterInput(),
   30     ));
   31   }
   32
   33   public function addValidators()
   34   {
   35     $this-setValidators(array(
   36       'nom'          = new sfValidatorPass(array('required' =
  false)),
   37       'image'        = new sfValidatorPass(array('required' =
  false)),
   38       'description'  = new sfValidatorPass(array('required' =
  false)),
   39       'deuxcolonnes' = new sfValidatorPass(array('required' =
  false)),
   40       'enligne'      = new sfValidatorPass(array('required' =
  false)),
   41       'lienspe'      = new sfValidatorPass(array('required' =
  false)),
   42     ));
   43   }

  On 3 août, 12:26, Tom Ptacnik to...@tomor.cz wrote:

   What means doesn't work?
   How it looks before ... show BaseFormFilter class, or the schema of
   the object at least.
   Which version of Symfony?

   On 3 srp, 11:01, florian périn poulet.va...@gmail.com wrote:

Hello,

I wanted to change the type of my filters auto-generate with admin-
generator, but when I did it, the filters didn't work anymore.


[symfony-users] Re: a good IDE for Symfony

2010-08-04 Thread Zdanek
come on - just use emacs !

On 4 Sie, 07:58, pghoratiu pghora...@gmail.com wrote:
 Check out Komodo edithttp://www.activestate.com/komodo-edit
 some of my colleagues use it.

 I think that with your configuration any java based editor should work
 fine, make sure you configure properly
 the java runtime settings (-mx, -mss) and allow more memory than the
 default.

     gabriel

 On Aug 4, 2:22 am, Julian Reyes Escrigas



 julian.reyes.escri...@gmail.com wrote:
  Hi

  I need help for find a new editor for PHP, I'm using Netbeans 6.9 but I
  don't know for what is slow, always start very well but when the project
  grows it's turns unstable

  I need only 3 characteristics

  1.       Faster and lightweight

  2.       With autocomplete for all classes in a folder and include folders

  3.       Support for PHP, html, CSS, JavaScript and YAML (auto colored,
  syntaxes and turn tabs into spaces )

  Some one knows any similar NO JAVA editor.

  I use Windows 7 64bits, have AMD Phenom II X4 965 3.4Ghz, 6Gb DDRIII, and
  SATAII HD

-- 
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@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] a good IDE for Symfony

2010-08-04 Thread Eno
On Wed, 4 Aug 2010, [ISO-8859-1] Stéphane wrote:

 You can try VIM too (really).

For years Ive been writing code quite happily with vim. Apart from being 
available on almost every platform, its light and fast (I find most IDE's 
slow and bloated). Also you have the added advantage of being able to do 
everything with the keyboard.



-- 


-- 
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@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] sfDoctrineApplyPlugin-1.1.1: trying to give a default value to a sfApplyApplyForm field.

2010-08-04 Thread Javier Garcia

 Hi,

Im trying to give a default value to sfApplyApplyForm, so at the end of 
the configure method i add this:


$this-setDefault('username', 'John Smith');

But when I render the form the default value doesn't appear..

Any idea?

Javi

--
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@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] a good IDE for Symfony

2010-08-04 Thread Gareth McCumskey
For me the biggest aspects of using an IDE like Eclipse is simply that,
while it may be bloated and slow to load at times, that it actually speeds
up my coding. Auto-completion of class method names for example in a class
that is a few directories removed from the one my current file is in. PHP
function assistance where a little used functions parameters can be show to
me in a tooltip on hover so that I don't have to necessarily head off to the
PHP manual to check it. If I need to make a quick edit to a file and don't
want to load the entire IDE, I do use VIM, but when I need to sit for a few
hours adding new features to an already large and extensive application,
nothing to me can beat a full-fledged IDE like Eclipse in helping keep
everything managed and together.

On Wed, Aug 4, 2010 at 10:18 AM, Eno symb...@gmail.com wrote:

 On Wed, 4 Aug 2010, [ISO-8859-1] Stéphane wrote:

  You can try VIM too (really).

 For years Ive been writing code quite happily with vim. Apart from being
 available on almost every platform, its light and fast (I find most IDE's
 slow and bloated). Also you have the added advantage of being able to do
 everything with the keyboard.



 --


 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Gareth McCumskey
http://garethmccumskey.blogspot.com
twitter: @garethmcc

-- 
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@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: Customize admin generator to parse generator.yml with custom properties

2010-08-04 Thread Thor
Thank you Tom!
today i found a bette solution!
it's more solid than the solutoin posted in the first link you
provided, and i guess it's easier.

i don't know how, but in all this time i had the solution under my
nose, but i couldn't see it:


i was right suspecting that the place to act was the generator.yml
class parameter:
all i had to do is change in
  class: customGenerator

and create my customGenerator, overridden as follows:

http://pastebin.com/9jzcpNmq

then in my generator i could add my extra context like:

  list:
[something]

  extra:
foo: bar
asd: { test: foo }


in the admin theme (or cache file) you can access your custom
properties with $this-getExtraValue('foo');



Y


On 20 Lug, 09:32, Tom Ptacnik to...@tomor.cz wrote:
 Found some 
 stuff:http://fkling.wordpress.com/2009/09/09/custom-properties-in-symfonys-...http://www.symfony-project.org/gentle-introduction/1_4/en/14-Admin-Ge...http://gestadieu.blogspot.com/2009/08/sfadminthemejrollerplugin-symfo...

 On 15 čnc, 12:48, Thor thorste...@gmail.com wrote:



  nobody? :(

  On 12 Lug, 12:43, Thor thorste...@gmail.com wrote:

   well,actually i need to heavily customizeadmingenerators to create
   various functionalities, so i haven't got a single example, i provide
   some of them that i could use:

   batch_position: top  # (top,bottom,both)
   toggable_fields: [ gallery, field1,field2 ]  # fields who will have a
   jquery effect to toggle containers
   floating_components: [ component1,component2, component3 ] # ok ,maybe
   this is a bit too much, but is only for the sake of the example

   The goal i'd want to reach is to provide other developers in the
   company,admingenerators already configured / built with some custom
   needs

   I looked in the built-in themes, and for example they look for

   $this-configuration-getValue('list.batch_actions')
   or again
   $this-configuration-getValue('list.display')
   or again
   $this-getI18NString ('list.title')

   i'd like to find a way to make
   $this-configuration-getValue('list.batch_position')
   parsable with a custom function...

   On 12 Lug, 12:25, Daniel Lohse annismcken...@googlemail.com wrote:

This sounds much too abtract (custom_option1) — what use-case do you 
have?

Cheers, Daniel

Sent from my iPad

On Jul 12, 2010, at 12:18 PM, Thor thorste...@gmail.com wrote:

 Hi all,
 i cannot understand how to customize theadmingenerator:
 i am using propel, and i see that from thegenerator.yml the first
 line is the class used by thegenerator, therefore in my case
 sfPropelGenerator.

 I think that extending that class with a custom one is the first step,
 what i'd like to know, and i didn't find any information about it, is
 how to parse the yml with options i want, for example by adding some
 options

 list:
        display: [ title, _content, status, created_at ]
        batch_actions: { }
        custom_option1: true
        custom_option2: { attrib1: xyz, attrib2: aaa }
        etc..

 could someone please address me toward the correct direction?
 what class do i have to look for?

 --
 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@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

-- 
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@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: multiples INSERT

2010-08-04 Thread B.O.G
part of my schema:

## comunication ##
comunicacion:
  actAs: { Timestampable: ~, Signable: ~ }
  columns:
id:  { type: integer, primary: true, autoincrement:
true }
user_id: { type: integer, notnull: true }
direccion_id:{ type: integer, notnull: true }
documento:   { type: string(100), notnull: true }
fecha:   { type: date, notnull: true }
correlativo: { type: string(50), notnull: true, unique: true }
revision:{ type: boolean, default: false }
status:  { type: boolean, default: true }
texto:   { type: text, notnull: true }
notas:   { type: text, notnull: false }
  relations:
User:
 class:sfGuardUser
 foreign:  id
 local:user_id
 type: one
 onDelete: restrict
 foreignType:  one
 foreignAlias: User
Direccion:
 class:direccion
 foreign:  id
 local:direccion_id
 type: one
 onDelete: restrict
 foreignType:  one
 foreignAlias: Direccion
Destinatario:
 class:Comunicacion_Destino
 type: many
 local:id
 foreign:  comunicacion_id

## comunication destiny ##
comunicacion_destino:
  actAs:   { Timestampable: ~ }
  columns:
id:  { type: integer, primary: true, autoincrement:
true }
comunicacion_id: { type: integer, notnull: true }
user_profile_id: { type: integer, notnull: true }
  relations:
Comunicacion:
 class:  Comunicacion
 type:   one
 local:  comunicacion_id
 foreign:id
UserProfile:
 class:  sfGuardUserProfile
 type:   one
 local:  user_profile_id
 foreign:id

--
comunicacionForm.class.php:

class comunicacionForm extends BasecomunicacionForm
{
  public function configure()
  {

parent::setup();
unset(
   $this['id']
);

$this-setWidgets(array(
  'revision' = new sfWidgetFormInputCheckbox(),
  'status'   = new sfWidgetFormInputCheckbox(),
  'user_id'  = new sfWidgetFormInput(),
  'direccion_id' = new sfWidgetFormInput(),
  'correlativo'  = new sfWidgetFormInput(),
  'fecha'= new sfWidgetFormInput(),
  'documento'= new sfWidgetFormInput(),
  'status'   = new sfWidgetFormInputCheckbox(),
  'texto'= new sfWidgetFormTextarea(array(), array('cols'
= 90, 'rows' = 15)),
  'notas'= new sfWidgetFormTextarea(array(), array('cols'
= 90, 'rows' = 5)),
));

$this-setValidators(array(
  'revision'= new sfValidatorBoolean(array('required' =
true)),
  'status'  = new sfValidatorBoolean(array('required' =
true)),
  'user_id' = new sfValidatorString(array('required' =
true)),
  'direccion_id' = new sfValidatorString(array('required' =
true)),
  'correlativo' = new sfValidatorString(array('required' =
true)),
  'fecha'   = new sfValidatorString(array('required' =
true)),
  'documento'   = new sfValidatorString(array('required' =
true)),
  'texto'   = new sfValidatorString(
array('min_length' = 100),
array('required' = 'El comunicado debe
contener al menos 100 caracteres')),
  'notas'   = new sfValidatorString(array('required' =
false)),
));

$destinoForm = new comunicacion_destinoForm();
unset($destinoForm['id']);
$this-embedForm('destinatario', $destinoForm);

//Debe ir a revision?
$objeto = new Comunicacion();
$this-setDefault('revision', $objeto-aRevision($this-
getOption('user')));

$this-widgetSchema-setNameFormat('comunicacion[%s]');
$this-errorSchema = new sfValidatorErrorSchema($this-
validatorSchema);
$this-validatorSchema-setOption('allow_extra_fields', true);
$this-setupInheritance();
  }
}
---

class comunicacion_destinoForm extends Basecomunicacion_destinoForm
{
  public function configure()
  {

parent::setup();
unset(
   $this['id'],
   $this['comunicacion_id'],
   $this['created_at'],
   $this['updated_at']
);

$this-setWidgets(array(
  'user_profile_id'  = new sfWidgetFormDoctrineChoice(array(
 'model'= 'Direccion',
 'multiple' = true,
 'method'   = 'obtenerDestinatarios',
 'key_method'   = 'getNombre',
 'table_method' = 'findAll'
   )),
));

$this-setValidators(array(
  'user_profile_id'  = new sfValidatorDoctrineChoice(
 array('model'= $this-
getRelatedModelName('UserProfile')),
 array('required' = 'Debe seleccionar, al
menos, un destinatario')
),
));


[symfony-users] Re: How to validate values from $GLOBALS[HTTP_RAW_POST_DATA]

2010-08-04 Thread Grzegorz Śliwiński
Thanks Gareth,
I'll have to play it.
I wanted to validate sent image and save it because we have already
defined how to save files in form.

On 3 Sie, 15:43, Gareth McCumskey gmccums...@gmail.com wrote:
 Simple answer .. don't. You should be able to accept requests through
 symfony's post handlers that can also transmit files just as if someone had
 uploaded a file through a form.

 2010/8/3 Grzegorz Śliwiński fi...@fizyk.net.pl



 --
 Gareth McCumskeyhttp://garethmccumskey.blogspot.com
 twitter: @garethmcc

-- 
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@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: a good IDE for Symfony

2010-08-04 Thread Massimiliano Arione
On 4 Ago, 07:58, pghoratiu pghora...@gmail.com wrote:
 Check out Komodo edithttp://www.activestate.com/komodo-edit
 some of my colleagues use it.

I also use Komodo and advice to use it.
It's fast, open, cross-platform.

cheers
Massimiliano

-- 
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@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: Symfony 1.4 and PayPal

2010-08-04 Thread Massimiliano Arione
On 3 Ago, 03:11, Diego Bello dbe...@gmail.com wrote:
 I'm building an e-commerce site with Symfony 1.4. Right now I have the
 shopping cart and I want to do the payment with Paypal. I got the
 expresscheckout.php and paypalfunctions.php files but I don't know where to
 put them.

First place to search should always be plugins:

http://www.symfony-project.org/plugins/sfPaymentPayPalPlugin

cheers
Massimiliano

-- 
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@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] My attempt of a security/form strategy

2010-08-04 Thread mlu...@gmail.com
Hi!

I want to show you my attempt of a security/form strategy and want to
know what you are thinking about it.

*The problem:*
If I read the source correct the CSRF_token is made of the session id
and the class name of the form.

When you load a form and submit it after a certain time you get a csrf
attack because the session id has changed in the meanwhile. The
problem is that the wrong tiken gets delivered with the form to the
user again, so every time the user resubmitts the form you get an
attack. The only way to get rid of the wrong token is to reload the
form, but than the user will lose all entered values.

A solution could be to reset the token when redelivering the form to
the user. This way the user can resubmit the form with his/her values.
But this makes the form accessable for XSS attacks, because an
attacker just needs to submit the form twice, what can be done via
javascript too.

My ideas is to add a captcha to the form if it sees a csrf attack. The
captcha can't be solved viy javascript.

What does it look like for the user?

1. The user loads a form
2. After a certain time he submits the form.
3. The form gets delivered to the user with his values, with reset
csrf_token and an added captcha.
4. The user solves the captcha and submits the form.
5. Everything is fine.

What do you think about it.

regards,

michael

-- 
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@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: Symfony 1.4 and PayPal

2010-08-04 Thread Diego Bello
On Wed, Aug 4, 2010 at 10:01 AM, Massimiliano Arione garak...@gmail.comwrote:

 On 3 Ago, 03:11, Diego Bello dbe...@gmail.com wrote:
  I'm building an e-commerce site with Symfony 1.4. Right now I have the
  shopping cart and I want to do the payment with Paypal. I got the
  expresscheckout.php and paypalfunctions.php files but I don't know where
 to
  put them.

 First place to search should always be plugins:

 http://www.symfony-project.org/plugins/sfPaymentPayPalPlugin

 cheers
 Massimiliano


Thanks, but it is in alpha version and only for SF 1.2.

Anyway, I think I found a way to make it work. I'll reply when I finish it.

Regards,

-- 
Diego Bello Carreño

-- 
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@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] issues after moving form code to a plugin

2010-08-04 Thread Daniel Kucharski
In,

 

In the progress of moving some of my doctrine / symphony 1.4 based project
to a plugin I am facing problems generating form classess located in the new
plugin.

 

Beneath an excerpt of generated classes in this folder:

 

/lib/forms/base/PluginBrandForm.class.php

/lib/forms/doctrine/base/BasePluginBrandForm.class.php

/lib/forms/sfXeriasPlugin/BrandForm.class.php

/lib/forms/sfXeriasPlugin/BaseBrandForm.class.php

 

I don't understand why /lib/forms/base/PluginBrandForm.class.php was
generated and why /lib/forms/sfXeriasPlugin/BaseBrandForm.class.php extends
class PluginBrandForm

 

 

I already have rebuild the whole project and of course cleared the cache.
Anyone thoughts how to resolve this issue?

Additional info: the project itself has no forms anymore, everything has
been moved to the plugin.

 

Kind regards,

 

Daniel

 

-- 
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@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 1.4] Session timeout problem

2010-08-04 Thread Gustavo Adrian
Hi,

I'm using sfDoctrineGuardPlugin. My backend session always ends after 5 or
10 minutes if its idle. I've tried to change on factories.yml:

  *user:*
*class: myUser*
*param:*
*  timeout: 86400*

And..

 * storage:*
*param:*
*  session_cookie_lifetime:  86400*


But nothing happens. My session always ends after 5 or 10 minutes. Is
anything I'm forgetting about session stuff?


Thanks!

-- 
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@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 1.4] Session timeout problem

2010-08-04 Thread Nibsirahsieu
yes.. i have the same problem too.. (i'm using sfGuardPlugin).. in my
localhost.. it's work fine.. but in my production server, it's never get
work

On Thu, Aug 5, 2010 at 8:31 AM, Gustavo Adrian
comfortablynum...@gmail.comwrote:

 Hi,

 I'm using sfDoctrineGuardPlugin. My backend session always ends after 5 or
 10 minutes if its idle. I've tried to change on factories.yml:

   *user:*
 *class: myUser*
 *param:*
 *  timeout: 86400*

 And..

  * storage:*
 *param:*
 *  session_cookie_lifetime:  86400*


 But nothing happens. My session always ends after 5 or 10 minutes. Is
 anything I'm forgetting about session stuff?


 Thanks!

 --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en


-- 
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@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: Session timeout problem

2010-08-04 Thread pghoratiu
Check out also the session variables that can be set up in
session.ini:
session.gc_maxlifetime
Depending on the OS you use there may be other things to consider as
well.

gabriel


On Aug 5, 4:31 am, Gustavo Adrian comfortablynum...@gmail.com wrote:
 Hi,

 I'm using sfDoctrineGuardPlugin. My backend session always ends after 5 or
 10 minutes if its idle. I've tried to change on factories.yml:

   *user:*
 *    class: myUser*
 *    param:*
 *      timeout: 86400*

 And..

  * storage:*
 *    param:*
 *      session_cookie_lifetime:          86400*

 But nothing happens. My session always ends after 5 or 10 minutes. Is
 anything I'm forgetting about session stuff?

 Thanks!

-- 
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@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