[symfony-users] Re: Out of memory error with propel:data-load

2009-06-10 Thread pghoratiu
Hi! I had some problems also with php memory collection, the main problem was with circular reference used in propel when dealing objects. 1. Circular reference - having two related objects A, B the following will generate a memory leak becase A is referencing object B and B is referencing objec

[symfony-users] sfAssetLibraryPlugin + tinyMce3.o i m not getting it worked... need help

2009-06-10 Thread ravi
i have used sfAssetLibraryPlugin for symfony 1.2 and using the same for tinymce browsing media files... and i m getting javascript error for tinyMCe u is undefined in tinymce.js on line no 1. please help me out from these.. thanx --~--~-~--~~~---~--~~ You receive

[symfony-users] Re: Upload Error

2009-06-10 Thread Sid Ferreira
it is from propel admin generator. On Wed, Jun 10, 2009 at 19:51, Thomas Rabaix wrote: > READ THE ERROR MESSAGE : > ***Action "player/7" does not exist* > ;) > > You are forwarding the request to the '7' action of the player module ... > > > On Wed, Jun 10, 2009 at 9:10 PM, Sid Ferreira wrote:

[symfony-users] sfSslRequirementPlugin strange issue with an image stays in http while the rest https

2009-06-10 Thread Sid Bachtiar
Hi, I have a weird situation. This is a Symfony 1.0 project using SslRequirementPlugin. I have a page that has require_ssl set to true. And all the images in that page uses https correctly. But there is this one gif image that still uses http! I can not see what's so different about it. Here's

[symfony-users] Re: Upload Error

2009-06-10 Thread Thomas Rabaix
READ THE ERROR MESSAGE : ***Action "player/7" does not exist* ;) You are forwarding the request to the '7' action of the player module ... On Wed, Jun 10, 2009 at 9:10 PM, Sid Ferreira wrote: > Hi folks!Im uploading a large file (10 to 30 mb) and symfony is getting an > error. > Any idea? Tri

[symfony-users] Re: symfony project:deploy havoc with eclipse

2009-06-10 Thread Lukas Schroeder
steve, > Has anyone else come across this? i have seen this happen for an eclipse / cygwin setup, but it had nothing to do with the symfony tasks. the cygwin svn client was newer (1.6) than the eclipse svn client (1.5). you might want to verify that you have the same client versions for cygwin

[symfony-users] Re: Out of memory error with propel:data-load

2009-06-10 Thread Steve Sanyal
Hi, Yes I'm using Symfony 1.2.7 with Propel 1.3, which seems to be bundled with symfony now, correct? I'm not sure how to check the version of Propel other than looking at the version number written in the source code: const VERSION = '1.3.0-dev'; I'm a little miffed about a common def

[symfony-users] Re: Out of memory error with propel:data-load

2009-06-10 Thread Fabian Lange
Hi, no you are wrong. Propel internally builds up a lot of objects that reference each other. It has nothing to to with tables referencing each other. And I wouldnt call that PHP GC a garbarge collector Are you using propel 1.3? It is much friendlier with respect to memory Fabian On Jun 10

[symfony-users] Re: Out of memory error with propel:data-load

2009-06-10 Thread Steve Sanyal
PHP does have a "garbage collector", but this may be an issue with an inability to perform gc due to a circular reference issue in Propel. If I understand it, the problem happens in this kind of case: Table A has a reference to Table B, thus the propel om has classes A and B, which have referenc

[symfony-users] Upload Error

2009-06-10 Thread Sid Ferreira
Hi folks!Im uploading a large file (10 to 30 mb) and symfony is getting an error. Any idea? Tried session timeout and upload sisze, no changes... *404 | Not Found | sfError404Exception**Action "player/7" does not exist.**stack trace* - at () in *SF_ROOT_DIR/lib/symfony/controller/sfControll

[symfony-users] Re: Out of memory error with propel:data-load

2009-06-10 Thread Fabian Lange
The problem is that PHP has no garbage collector. Once allocated all propel objects stay in memory. And propel has tons of them. The last time I had to load I built my load script by hand, squeezing out everything which was not needed I set the limit to 1gb and after a long time i could import it.

[symfony-users] symfony project:deploy havoc with eclipse

2009-06-10 Thread Steve Sanyal
Hi, After a lot of effort I got the symfony project:deploy to work correctly. I typically rsync to a staging environment by invoking project:deploy on an eclipse project which corresponds to the symfony project. I typically run the deployment task from a command line, using cygwin. What I don'

[symfony-users] sfLucenePlugin and other betas

2009-06-10 Thread Steve Sanyal
Hi there, I see a lot of symfony plugins are in beta stage, such as the sfLucenePlugin beta. I'd prefer to use stable plugins in 1.x or greater release, but it seems like a lot of people are using betas in their production apps regardless. Is there a prescribed beta period? What are the criter

[symfony-users] Re: Out of memory error with propel:data-load

2009-06-10 Thread Steve Sanyal
I've put in a support ticket with my hosting provider before I try things like break down my fixture into even more files (I currently have a few already). Yeah I read the garbage collection theory posts also. It's interesting because the reported number of bytes allocated is never the same in t

[symfony-users] Re: Out of memory error with propel:data-load

2009-06-10 Thread Nickolas Daskalou
Could be due to PHP's garbage collection not working properly on some types of objects. I remember reading about it a while ago, not sure if there is a fix for it yet. 2009/6/11 Pierre Lecocq > > Try to divide your fixtures in several files. > Maybe propel will flush some memory by passing from

[symfony-users] Re: Out of memory error with propel:data-load

2009-06-10 Thread Pierre Lecocq
Try to divide your fixtures in several files. Maybe propel will flush some memory by passing from one file to another. (Never tried) On Jun 10, 5:47 pm, Steve Sanyal wrote: > Thanks.  I am on a shared server, so I don't know if that's possible? > The current memory limit is set to 128M as per p

[symfony-users] Re: symfony version and svn

2009-06-10 Thread Fabian Lange
This is correct. Being on branches means that you are on the development version. If you want to have a specific release just use: http://svn.symfony-project.com/tags/RELEASE_1_2_7 you cannot svn up to update there. if you want to switch release you actually need to svn switch Fabian On Jun

[symfony-users] Re: STILL CANNOT LOCATE Driver, sigh... Re: Couldn't locate driver named mysql

2009-06-10 Thread Emily
Thanks! This helped. Now I've got a few other issues, but this one is solved. -- Emily At 11:05 PM 6/9/2009, Jonathan Wage wrote: >Sometimes apache and the command line have different php.ini files. >Make sure you are editing the php.ini for apache. You can check the >location of your php.in

[symfony-users] Re: symfony version and svn

2009-06-10 Thread Frank Stelzer
This is the stable version: http://svn.symfony-project.com/tags/RELEASE_1_2_7/ If a new 1.2 version is released, you have to change your external therefore on your own. Just change your external to the newer tag and you are done. Am 10.06.2009 um 17:22 schrieb Joan Teixidó: > Hi, > > i us

[symfony-users] Re: Status of PayPal plugin(s)

2009-06-10 Thread Marijn
On Jun 10, 4:47 pm, AJStoneham wrote: > PS, sounds like your using the wrong wheel for api requests. ;-) What wheel do you suggest? > > On Jun 9, 3:25 pm, Marijn wrote: > > > > > P.s. it makes use of sfWebBrowserPlugin to prevent reinventing the > > wheel for api requests but it can be injecte

[symfony-users] Re: Status of PayPal plugin(s)

2009-06-10 Thread Marijn
This week I'm too busy but I'll try to finish it up and set up a repo and all next week. I need to add some tests as well. On Jun 10, 4:46 pm, AJStoneham wrote: > You your talking about creating a solid 'Universal Payment API' plugin > and have what you think is a good core of it, I am sure we c

[symfony-users] Re: Status of PayPal plugin(s)

2009-06-10 Thread Marijn
On Jun 10, 4:35 pm, Lee Bolding wrote: > On 10 Jun 2009, at 11:16, Marijn wrote: > > > Perhaps I should add that this plugin would be ORM agnostic without > > using DbFinderPlugin. There would be three plugins, > > sfTransactionPlugin, sfDoctrineTransactionPlugin and > > sfPropelTransactionPlugin

[symfony-users] Re: Out of memory error with propel:data-load

2009-06-10 Thread Steve Sanyal
Thanks. I am on a shared server, so I don't know if that's possible? The current memory limit is set to 128M as per phpinfo(). What's weird is the error is not always occurring, it's intermittent, and the dataset has always been the same size, about 10K records. If I try the task 3 or 4 times,

[symfony-users] Re: Out of memory error with propel:data-load

2009-06-10 Thread Pierre Lecocq
Try to increase the memory allocated to php. /etc/php5/cli/php.ini /etc/php5/apache2/php.ini The most important is the CLI one. On Jun 10, 4:22 pm, Steve the Canuck wrote: > The propel:data-load task is running out of memory on my staging > environment.  I have about 10K records to include in

[symfony-users] symfony version and svn

2009-06-10 Thread Joan Teixidó
Hi, i use svn to update symfony, but whan i update, it downloads a dev version. actually, in my webdebug toolbar, the version is DEV-1.2.8... it's the stable version? in symfony web says that the stable is the 1.2.7... I use this url: http://svn.symfony-project.com/branches/1.2 thks! joan --~-

[symfony-users] Re: Dynamic Fields in sfForm

2009-06-10 Thread Sid Ferreira
If I understood it right, the answer is no...I want to add extra fields using js... like extra addresses. On Wed, Jun 10, 2009 at 12:00, Thomas Rabaix wrote: > Are you looking for stuff like this ? > >- http://rabaix.net/labs/dynamic-form-v1 >- >http://rabaix.net/en/articles/2009/02/2

[symfony-users] Re: Dynamic Fields in sfForm

2009-06-10 Thread Thomas Rabaix
Are you looking for stuff like this ? - http://rabaix.net/labs/dynamic-form-v1 - http://rabaix.net/en/articles/2009/02/23/let-s-be-more-dynamic-with-sf-form On Wed, Jun 10, 2009 at 1:54 PM, Sid Ferreira wrote: > How to make them?Dynamic fields or even dynamic embeded forms > > Any li

[symfony-users] Re: Status of PayPal plugin(s)

2009-06-10 Thread AJStoneham
PS, sounds like your using the wrong wheel for api requests. ;-) On Jun 9, 3:25 pm, Marijn wrote: > P.s. it makes use of sfWebBrowserPlugin to prevent reinventing the > wheel for api requests but it can be injected with any object that > implements a sfWebBrowserInterface > > On Jun 10, 12:23 am

[symfony-users] Re: Status of PayPal plugin(s)

2009-06-10 Thread AJStoneham
You your talking about creating a solid 'Universal Payment API' plugin and have what you think is a good core of it, I am sure we can work out implementing an adapter from Paypal into that if you were to make it robust enough to be a public symfony plugin and still easily achieve PCI Compliance.

[symfony-users] Re: What you think?

2009-06-10 Thread Eno
On Wed, 10 Jun 2009, Jonathan Wage wrote: > Also, why does Zend have a check under ORM? Any why is it called a "framework"? It should be "Zend Library" :-) -- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

[symfony-users] Re: What you think?

2009-06-10 Thread Eno
On Wed, 10 Jun 2009, Sid Ferreira wrote: > I've just noticed that it is based in sf 1.0!!! > Also... wanna find out how to vote on it :p Leave a comment by clicking on the name and using the form bottom-right. I already added mine. --~--~-~--~~~---~--~~ You re

[symfony-users] Re: newly generated modules are not editable

2009-06-10 Thread Gábor Fási
Maybe a bit more detail? On Wed, Jun 10, 2009 at 11:31, belbek wrote: > > newly generated modules are not editable(cant't change file attributes > why?) > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony

[symfony-users] Re: Status of PayPal plugin(s)

2009-06-10 Thread Lee Bolding
On 10 Jun 2009, at 11:16, Marijn wrote: > Perhaps I should add that this plugin would be ORM agnostic without > using DbFinderPlugin. There would be three plugins, > sfTransactionPlugin, sfDoctrineTransactionPlugin and > sfPropelTransactionPlugin. What's wrong with DbFinderPlugin? --~--~--

[symfony-users] Out of memory error with propel:data-load

2009-06-10 Thread Steve the Canuck
The propel:data-load task is running out of memory on my staging environment. I have about 10K records to include in my initial load. I don't have an issue on my laptop which I use for development, but I run into problems in a shared hosting environment. Does anyone know of any workarounds to th

[symfony-users] Re: Status of PayPal plugin(s)

2009-06-10 Thread Marijn
Perhaps I should add that this plugin would be ORM agnostic without using DbFinderPlugin. There would be three plugins, sfTransactionPlugin, sfDoctrineTransactionPlugin and sfPropelTransactionPlugin. The latter two would define the model objects that implement the transaction interface and can be

[symfony-users] Re: jobeet day 2 (subversion)

2009-06-10 Thread Campezzi
Yep, it's a standalone program. You can download it on http://subversion.tigris.org/ If you're in Windows, I recommend using TortoiseSVN since it's very simple and you can usually run it without having any "technical" knowledge of SVN. If you're feeling hardcore, you can always get the command-li

[symfony-users] Re: So rare file uploaded problem...

2009-06-10 Thread Gustavo G.
Hi, I resolved this problem and decided to report this problem here: http://trac.symfony-project.org/ticket/6605 "... I have two forms in a template (formA and formB) with a single submit button. The formA has is a classic file upload form. In the action, if I do this (bind first formA and then

[symfony-users] Re: What you think?

2009-06-10 Thread Jonathan Wage
One thing I've learned is that these comparisons, benchmarks, etc. are always so horribly inaccurate and it is better to do your own evaluation. That is what the company I used to work for did when choosing our framework, and we chose symfony. Jonathan H. Wage (+1 415 992 5468) Open Source Softwar

[symfony-users] sfGuardUser select tag in another controller generator.yml

2009-06-10 Thread Pierre Lecocq
Hi all, I have a model Whitepaper. This model is linked to a user (sfGuardUser). I want, in the backend, to get a select tag (a list) that allows, when I create a new post to choose / modify a user. The fact is that if I use, in the edit section of the generator.yml: - a field "user", I have a

[symfony-users] Re: What you think?

2009-06-10 Thread Sid Ferreira
I've just noticed that it is based in sf 1.0!!! Also... wanna find out how to vote on it :p On Wed, Jun 10, 2009 at 10:23, Jonathan Wage wrote: > Should symfony have a check under EDP? It has an event system and is a > pretty good feature. Also, I would say Symfony should have a check under > te

[symfony-users] Re: What you think?

2009-06-10 Thread Jonathan Wage
Should symfony have a check under EDP? It has an event system and is a pretty good feature. Also, I would say Symfony should have a check under templates :) Also, why does Zend have a check under ORM? Jonathan H. Wage (+1 415 992 5468) Open Source Software Developer & Evangelist sensiolabs.com |

[symfony-users] What you think?

2009-06-10 Thread Sid Ferreira
http://www.phpframeworks.com/index.php -- Sidney G B Ferreira Desenvolvedor Web --~--~-~--~~~---~--~~ 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.

[symfony-users] Re: Hi Folks!

2009-06-10 Thread Gareth McCumskey
Performance wise, cache the crap out of your application. One of the biggest gains we saw here for our database intensive app was to cache actual queries and their results. I wrote an article on doing this for my blog: http://garethmccumskey.blogspot.com/2009/04/memory-caching-can-be-saviour.htmlTH

[symfony-users] Hi Folks!

2009-06-10 Thread Sid Ferreira
Im writting here to look for some help for my new project, wich is a Social Network.It still on the early stages, actually almost only the schema is done, but Im sending this message as a prerequest for future needs, so, Im sharing what I have for now: - Propel ORM (Sorry folks, I _REALLY_ like Ob

[symfony-users] Re: problem on file download

2009-06-10 Thread ctrlming
thank you.But I still doesn`t understand what you say. $file = sfConfig::get('sf_root_dir').'/[dir]/'.$filePath; // [dir] is inaccessible from the web What do you mean by this? On 6月8日, 下午6时03分, sfNico wrote: > Portable and a little bit simpler : > > protected function sendFile($response,$cont

[symfony-users] Dynamic Fields in sfForm

2009-06-10 Thread Sid Ferreira
How to make them?Dynamic fields or even dynamic embeded forms Any link about it? -- Sidney G B Ferreira Desenvolvedor Web --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group

[symfony-users] Re: problem on file download

2009-06-10 Thread ctrlming
that didn`t view anything when I use throw new sfStopException On 6月9日, 下午6时41分, Thomas Rabaix wrote: > Check that your file is valid ;) and use throw new sfStopException instead > of sfView::NONE. > > 2009/6/9 ctrlming > > > > > > > > > thank you, I tried many times , but the problem still exis

[symfony-users] newly generated modules are not editable

2009-06-10 Thread belbek
newly generated modules are not editable(cant't change file attributes why?) --~--~-~--~~~---~--~~ 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 T

[symfony-users] Re: Problem with my-first-project tutorial (Symfony 1.2)

2009-06-10 Thread Gábor Fási
Did you clear your cache after adding those routes? The dev front controller always parses the routers, the production one uses the cache you have to clear manually. On Sat, Jun 6, 2009 at 00:25, Fabu wrote: > > Hi, > > I would like to keep "index.php" when I navigate into the frontend > since wh

[symfony-users] Re: problem on file download

2009-06-10 Thread Gábor Fási
You have two response variables: one in the parameters, and one set in the first line. On Mon, Jun 8, 2009 at 12:03, sfNico wrote: > > Portable and a little bit simpler : > > protected function sendFile($response,$contentType,$filePath) > { >  $response = $this->getResponse(); >  $file = sfConfig