Re: [symfony-users] Generate-Module : Only Show and Index for FrontEnd (NO Edit or New)

2010-04-11 Thread Alan Bem
Adjust generator.yml config
file.http://www.symfony-project.org/reference/1_4/en/06-Admin-Generator#chapter_06_sub_object_actions

On Sun, Apr 11, 2010 at 6:02 AM, Bill P. maxar...@yahoo.com wrote:

 Hello,

 Is there a parameter to 'generate-module' that will just do Show and Index
 without Edit and New?
 I want to leave those two to the backend portion of the site.

 Any suggestions?
 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

To unsubscribe, reply using remove me as the subject.


Re: [symfony-users] sfValidatorDoctrineUnique doesn't work when only defined in BaseForm?

2010-04-11 Thread Alan Bem
Aren't you talking about two different Forms? It seems that first
post-validator comes from (Base)SubscriberForm, but you complaint about
NewsletterForm.
Is there inheritance relationship beetween them?

Cheers

On Sat, Apr 10, 2010 at 5:05 PM, godbout guillaume.lecler...@gmail.comwrote:

 Hi there!

 I have a very simple thing to do: allowing visitors to register their
 email for a newsletter.
 The email field is defined as unique in the db, and Doctrine created
 me the BaseForm with the following code:...

 [code]$this-validatorSchema-setPostValidator(
  new sfValidatorDoctrineUnique(array('model' = 'Subscriber',
 'column' = array('email')))
);
 [/code]

 ...which is exactly what I want. But it didn't work until I copy/
 pasted exactly the same code in my NewsletterForm.

 Any explanation for that?
 My NewsletterForm doesn't contain much, but it redefined the email
 field validator from ValidatorString to ValidatorEmail. Would that
 cause the problem? I'm still surprised.

 Let me know if you have an idea ;-)

 Guill

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

 To unsubscribe, reply using remove me as the subject.


-- 
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] Transforming images after upload and before saving

2010-04-11 Thread Johannes Trommer

Thanks! But there are still some ambiguities.
All I want to to is to generate i resized image and a thumbnail from  
the uploaded image. The generation of the filename, etc. should remain  
with the symfony function.

Do you have an advice, how that can be done?

Am 11.04.2010 um 01:05 schrieb Alan Bem:

Make it simpler - do it directly inside of forms you embed.

/**
 * Read my comments.
 */
class ImageForm extends BaseImageForm
{
  // configure() your form

  /**
   * This is hook used by Doctrine (and think Propel as well) form to  
modify

   * cleaned up (validated) values.
   *
   * This is simple example - make research on your own to understand  
it more.

   *
   * Create method name after update%column_name%Column() where  
%column_name%

   * is camelized column name where you store image filepath.
   */
  protected function updateImageFilepathColumn(sfValidatedFile $file)
  {
$image = new sfImage($file-getTempName(), $file-getType());

// Transform your $image here, but don't save it...
unset($image); // instead

// default symfony file saving logic
return $this-processUploadedFile('image_filepath'); //  
'image_filepath' should be column name where you store image filepath

  }

  /*
   * Create method name after generate%column_name%Filename() where  
%column_name%

   * is camelized column name where you store image filepath.
   */
  protected function generateImageFilepathFilename(sfValidatedFile  
$file)

  {
//optionaly you can...
return $new_filename_for_image_file; // ...here
  }
}

Personally, I recommend sfImageTransformExtraPlugin. It is very  
unobstrusive, which means it requires less work for developer (You).


Cheers, Alan

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

To unsubscribe, reply using remove me as the subject.


Re: [symfony-users] Transforming images after upload and before saving

2010-04-11 Thread charles
remove me

On Sat, Apr 10, 2010 at 12:00 PM, Johannes Trommer 
johannes.trom...@gmail.com wrote:

 Hello,

 I've got a problem to solve, that I couldn't figure by myself.
 I've got a form with embedded forms. These embedded forms are there for
 uploading pictures. This works fine so far.
 What I need to be done is resizing AND thumbnailing the pictures with the
 sfImageTransformPlugin before they are saved. My corresponding function
 looks like this: (see also
 http://trac.symfony-project.org/browser/doc/branches/1.4/more-with-symfony/en/06-Advanced-Forms.markdown?rev=27587
 )

  public function saveEmbeddedForms($con = null, $forms = null)
  {
  if (null === $forms)
  {
$pictures = $this-getValue('newPictures');
$forms = $this-embeddedForms;
foreach ($this-embeddedForms['newPictures'] as $name = $form)
{
  if (!isset($pictures[$name]))
  {
unset($forms['newPictures'][$name]);
  }
}
  }
  return parent::saveEmbeddedForms($con, $forms);
  }

 Can anyone tell my, how I can modify the pictures?

 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

 To unsubscribe, reply using remove me as the subject.


-- 
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] Transforming images after upload and before saving

2010-04-11 Thread Daniel Lohse
You'll need to send remove me in the *subject* of the message and not in the 
content/body. :)

On 11.04.2010, at 16:33, charles wrote:

 remove me
 
 On Sat, Apr 10, 2010 at 12:00 PM, Johannes Trommer 
 johannes.trom...@gmail.com wrote:
 Hello,
 
 I've got a problem to solve, that I couldn't figure by myself.
 I've got a form with embedded forms. These embedded forms are there for 
 uploading pictures. This works fine so far.
 What I need to be done is resizing AND thumbnailing the pictures with the 
 sfImageTransformPlugin before they are saved. My corresponding function looks 
 like this: (see also 
 http://trac.symfony-project.org/browser/doc/branches/1.4/more-with-symfony/en/06-Advanced-Forms.markdown?rev=27587)
 
  public function saveEmbeddedForms($con = null, $forms = null)
  {
  if (null === $forms)
  {
$pictures = $this-getValue('newPictures');
$forms = $this-embeddedForms;
foreach ($this-embeddedForms['newPictures'] as $name = $form)
{
  if (!isset($pictures[$name]))
  {
unset($forms['newPictures'][$name]);
  }
}
  }
  return parent::saveEmbeddedForms($con, $forms);
  }
 
 Can anyone tell my, how I can modify the pictures?
 
 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
 
 To unsubscribe, reply using remove me as the subject.
 
 
 -- 
 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] help

2010-04-11 Thread safa boubekri
HELLO

how  to change   username   password   in the  form of secure
authentication  in an other  language



thank you

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

To unsubscribe, reply using remove me as the subject.


[symfony-users] Re: How would you reverse the notnull:true in a schema of a plugin?

2010-04-11 Thread Javier Garcia
Hi,

it doesn't work because i'm using sf 1.2.

Is there any way to operate schemas overwriting in sf 1.2 o 1.3?

Javi

On Apr 9, 9:55 pm, Javier Garcia tirengar...@gmail.com wrote:
 On 04/09/2010 12:22 PM, Tom Ptacnik wrote:



  I thought that you want to just change the username field in sfGuar
  from not null to null

  .. don't change the schema in plugin

  just try to add into your project schema.yml the:

  sfGuardUser:
     columns:
      username:
         type: string(128)
         notnull: false
         unique: true

  On 8 dub, 18:54, Javier Garciatirengar...@gmail.com  wrote:

  On 04/08/2010 09:28 AM, Tom Ptacnik wrote:

  Did you try to overwrite the schema of sfguard in your schema.yml?

  Thanks Tom, I tried writing in config/doctrine/schema.yml this:

  car:
      columns:
        brand:
          type: string(32)

  and this below in plugins/sfDoctrineGuardPlugin/config/doctrine/schema.yml:

  car:
      columns:
        brand:
          type: string(256)

  Then build-all-reload, check the DB and the type is string(32). I
  thought maybe it would change to 256, but no..

  So, how can i do that? I have Doctrine 1.0 and Sf 1.2.

  --
  Javi

  Ubuntu 8.04

 It was just an example..:), anyway it doesn't work. This is what i have:

 In 'plugins/sfDoctrineGuardPlugin/config/doctrine/schema.yml':

 sfGuardUser:
    actAs: [Timestampable]
    columns:
      id:
        type: integer(4)
        primary: true
        autoincrement: true
      username:
        type: string(128)
        notnull: true
        unique: true
 #...

 And in 'config/doctrine/schema.yml':

 sfGuardUser:
    columns:
      username:
        type: string(128)
        notnull: false
        unique: true

 Then build-all-reload but it doesn't change..

 Javi

 --
 Javi

 Ubuntu 8.04

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

To unsubscribe, reply using remove me as the subject.


[symfony-users] Re: sfGridPlugin, Propel/Doctrine-DataSources, ObjectPaths and JavaScript (ExtJS) extensions

2010-04-11 Thread Leon van der Ree
Today I will provide a tutorial, setting up a (propel-based)
playground with some best practices I came up with so far. (If you
prefer Doctrine, you can still follow the tutorial, but of course need
to setup a Doctrine schema and use the Doctrine plugins)

If you want to see where all the fuzz is about, peak ahead and look at
the size of the controller and the template!
All configuration can be done in an extended

Lets begin with a new (Symfony 1.4) Project:

Tip: create a new repository on your svn-server and check this out!
(this is useful since we are using a lot of plugins from svn, that can
be updated all at once by using svn:externals )

  svn co your.svn.server/playground-project playground
or, when not using svn
  mkdir playground


  cd playground
  php /symfony14/data/bin/symfony generate:project --orm=propel
playground


we now have a new propel-based syfmony 1.4 project. Lets start by
adding all required Plugins:

  svn propedit svn:externals .


and add the following lines to it:

plugins/sfPropel15Plugin 
http://svn.symfony-project.com/plugins/sfPropel15Plugin/trunk
plugins/sfPropelObjectPathBehaviorPlugin
http://svn.symfony-project.com/plugins/sfPropelObjectPathBehaviorPlugin/branches/1.5
plugins/sfDataSourcePlugin  
http://svn.symfony-project.com/plugins/sfDataSourcePlugin/trunk
plugins/sfGridPlugin http://svn.symfony-project.com/plugins/sfGridPlugin/trunk


Now we enable our plugins, first by editing our Project configuration,

edit config/ProjectConfiguration.class.php
and enable your plugins in the setup-function:

$this-enablePlugins(
'sfPropel15Plugin',
'sfPropelObjectPathBehaviorPlugin',

//  'sfExtjs3Plugin', // soon people

  'sfDataSourcePlugin',
  'sfGridPlugin' //,
//  'sfGridExtjsPlugin' // soon Just teasing ;)
);


Setup propel, by editing propel.ini
please note propel1.5 is requiring different behavior-paths and we are
enabling the object-path plugin:
So the behaviors section should look like this:


; behaviors
propel.behavior.default=
symfony,symfony_i18n,object_path

propel.behavior.symfony.class  =
plugins.sfPropel15Plugin.lib.behavior.SfPropelBehaviorSymfony
propel.behavior.symfony_i18n.class =
plugins.sfPropel15Plugin.lib.behavior.SfPropelBehaviorI18n
propel.behavior.symfony_i18n_translation.class =
plugins.sfPropel15Plugin.lib.behavior.SfPropelBehaviorI18nTranslation
propel.behavior.symfony_behaviors.class=
plugins.sfPropel15Plugin.lib.behavior.SfPropelBehaviorSymfonyBehaviors
propel.behavior.symfony_timestampable.class=
plugins.sfPropel15Plugin.lib.behavior.SfPropelBehaviorTimestampable

propel.behavior.object_path.class  =
plugins.sfPropelObjectPathBehaviorPlugin.lib.ObjectPathBehavior


Currently I have a simple schema as an example:

propel:
  city:
id:
name:   varchar(255)
country_id:
created_at:

  country:
id:
name:  varchar(255)
created_at:


lets build the model

  ./symfony propel:build-all


Add an application and empty module:

  ./symfony generate:app frontend
  ./symfony generate: frontend cityGrid


Now add a grid folder to your lib-folder and add a CityGrid.php file

  mkdir lib/grid
  edit lib/grid/CityGrid.php


and add the following code to it:

?php
class CityGrid extends sfWebGrid  // soon you can extend the
sfGridExtjs3 - class
{
  /**
   *
   * @param sfWebRequest $request
   */
  public function __construct(sfWebRequest $request)
  {
$cityDataSource = new sfDataSourcePropel('City');
parent::__construct($cityDataSource);

$this-setDefaultSort('Country.Name', sfGrid::ASC);

$this-setColumns(array(
  'Id',
  'Country.Name',
  'Name'
));

$this-setColumnTitles(array(
  'Country.Name' = 'Country',
  'Name' = 'City'
));
$this-setSortable(sfGrid::ALL);

$this-getPager()-setMaxPerPage(2);
$this-bind($request);
  }
}



Now you can add the following to your controller:

edit actions.class.php

 /**
  * Executes index action
  *
  * @param sfRequest $request A request object
  */
  public function executeIndex(sfWebRequest $request)

$this-grid = new CityGrid($request);

  }

And edit your template, indexSuccess.php

?php $grid = $sf_data-getRaw('grid'); ?
div id=grid-example
  table
   ?php echo $grid-render() ?
  /table
/div


clear your cache

  ./symfony cc


add some data to your database, use fixtures, or the following:

// initialize database
$country_nl = new Country();
$country_nl-setName('the Netherlands');

$country_fr = new Country();
$country_fr-setName('France');

$country_be = new Country();
$country_be-setName('Belgium');


$city_ams = new City();
$city_ams-setCountry($country_nl);
$city_ams-setName('Amsterdam');
$city_ams-save();

$city_rdm = new City();
$city_rdm-setCountry($country_nl);
$city_rdm-setName('Rotterdam');
$city_rdm-save();

$city_rdm = new City();
$city_rdm-setCountry($country_nl);

[symfony-users] use_javascripts_for_form($form) apparently not working

2010-04-11 Thread michael hodges
Hello all,

Not sure how something so fundamental to Symfony is not working for
me, but for my backend module I have in my templates directory a
_form.php file and a _form.js file.  The php file is functioning in
that my form and subforms etc render properly, but the javascript
functions in the js file appear not to be available.  Browser view-
source provides no reference that suggests that the js file is
available either.

I'm concluding that the use_javascripts_for_form($form) function at
the top of my php files is not finding the js file.  No error messages
are generated.  After searching the forums and web, I've had no luck
finding suggestions.  Any advice would be appreciated.  Thanks.

Directory structure:
/backend/modules/transaction_receipt/templates/
_form.php
_form.js

For Symfony 1.4.2, Doctrine 1.2

 - 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

To unsubscribe, reply using remove me as the subject.


[symfony-users] Re: sfValidatorDoctrineUnique doesn't work when only defined in BaseForm?

2010-04-11 Thread godbout
Hi Alan,

Obviously I wasn't really awake that day...
The form is SubscriberForm (not NewsletterForm) and it extends
BaseSubscriberForm.
I had to copy/paste the code from BaseSubscriberForm to SubscriberForm
to make it work.


On Apr 11, 8:37 pm, Alan Bem alan@gmail.com wrote:
 Aren't you talking about two different Forms? It seems that first
 post-validator comes from (Base)SubscriberForm, but you complaint about
 NewsletterForm.
 Is there inheritance relationship beetween them?

 Cheers

 On Sat, Apr 10, 2010 at 5:05 PM, godbout guillaume.lecler...@gmail.comwrote:



  Hi there!

  I have a very simple thing to do: allowing visitors to register their
  email for a newsletter.
  The email field is defined as unique in the db, and Doctrine created
  me the BaseForm with the following code:...

  [code]$this-validatorSchema-setPostValidator(
       new sfValidatorDoctrineUnique(array('model' = 'Subscriber',
  'column' = array('email')))
     );
  [/code]

  ...which is exactly what I want. But it didn't work until I copy/
  pasted exactly the same code in my NewsletterForm.

  Any explanation for that?
  My NewsletterForm doesn't contain much, but it redefined the email
  field validator from ValidatorString to ValidatorEmail. Would that
  cause the problem? I'm still surprised.

  Let me know if you have an idea ;-)

  Guill

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

  To unsubscribe, reply using remove me as the subject.

-- 
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] memory leaks... just keep on leaking

2010-04-11 Thread Slavka
It seems to be pretty clear the symfony 1.2 and propel are still full
of memory leaks... I have a simple for loop selecting the same object
into the same variable... in theory this should not lead to increase
memory use for every loop however that is what is happening...

Has anyone every looked into this... if so what are options to handle
the leaks... , if there is no solution we are going to have to
consider just using mysql functions...

Regards

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

To unsubscribe, reply using remove me as the subject.


[symfony-users] Re: memory leaks... just keep on leaking

2010-04-11 Thread Christian Schaefer

Hi Slavka,

from your tiny description it is not clear whether the leak you
experience is a result of Propel or symfony or your usage of them.

You should know that symfony 1.2 is no longer supported but replaced
by symfony 1.4. The favoured ORM nowadays is Doctrine although Propel
is still supported.

But most importantly: you posted a complaint rather than a question.
This might work with a licenced software from some company but with an
open source community a certain netiquette should apply.

Cheers
/Christian


On 12 Apr., 05:51, Slavka richard@gmail.com wrote:
 It seems to be pretty clear the symfony 1.2 and propel are still full
 of memory leaks... I have a simple for loop selecting the same object
 into the same variable... in theory this should not lead to increase
 memory use for every loop however that is what is happening...

 Has anyone every looked into this... if so what are options to handle
 the leaks... , if there is no solution we are going to have to
 consider just using mysql functions...

 Regards

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

To unsubscribe, reply using remove me as the subject.


[symfony-users] Re: memory leaks... just keep on leaking

2010-04-11 Thread Slavka
Christian have you just started using symfony? if not then i am sure
you are aware of the memory leaks i am talking about...

Cheers

On Apr 12, 3:30 pm, Christian Schaefer cae...@gmail.com wrote:
 Hi Slavka,

 from your tiny description it is not clear whether the leak you
 experience is a result of Propel or symfony or your usage of them.

 You should know that symfony 1.2 is no longer supported but replaced
 by symfony 1.4. The favoured ORM nowadays is Doctrine although Propel
 is still supported.

 But most importantly: you posted a complaint rather than a question.
 This might work with a licenced software from some company but with an
 open source community a certain netiquette should apply.

 Cheers
 /Christian

 On 12 Apr., 05:51, Slavka richard@gmail.com wrote:



  It seems to be pretty clear the symfony 1.2 and propel are still full
  of memory leaks... I have a simple for loop selecting the same object
  into the same variable... in theory this should not lead to increase
  memory use for every loop however that is what is happening...

  Has anyone every looked into this... if so what are options to handle
  the leaks... , if there is no solution we are going to have to
  consider just using mysql functions...

  Regards

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

To unsubscribe, reply using remove me as the subject.


Re: [symfony-users] Re: memory leaks... just keep on leaking

2010-04-11 Thread Dennis Benkert
Although I am pretty sure you are frustrated there is no reason to  
show disrespect to other people.


Christian's point is that we cannot help you without getting some  
information about your specific problem. Maybe you can provide some  
code sample that show us  your memory problems. Also it's interesting  
to know what you want to do with the code (are you inserting thousands  
of entries, looping over many entries and saving them again, etc.).


- Dennis

Am 12.04.2010 um 07:41 schrieb Slavka richard@gmail.com:


Christian have you just started using symfony? if not then i am sure
you are aware of the memory leaks i am talking about...

Cheers

On Apr 12, 3:30 pm, Christian Schaefer cae...@gmail.com wrote:

Hi Slavka,

from your tiny description it is not clear whether the leak you
experience is a result of Propel or symfony or your usage of them.

You should know that symfony 1.2 is no longer supported but replaced
by symfony 1.4. The favoured ORM nowadays is Doctrine although Propel
is still supported.

But most importantly: you posted a complaint rather than a question.
This might work with a licenced software from some company but with  
an

open source community a certain netiquette should apply.

Cheers
/Christian

On 12 Apr., 05:51, Slavka richard@gmail.com wrote:



It seems to be pretty clear the symfony 1.2 and propel are still  
full
of memory leaks... I have a simple for loop selecting the same  
object

into the same variable... in theory this should not lead to increase
memory use for every loop however that is what is happening...


Has anyone every looked into this... if so what are options to  
handle

the leaks... , if there is no solution we are going to have to
consider just using mysql functions...



Regards


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

To unsubscribe, reply using remove me as the subject.


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