[symfony-users] Re: Execute code after deliverig content to the user

2010-11-11 Thread torok84
Thanks for the replies, but I am afraid I meant something else. I was thinking to execute on the server like this: 1. Calculate page to serve 2. Send the page over the Internet 3. Close TCP connection (if not using keep-alive) 3. Do some more processing (like rebuild Lucene index) 4. Terminate

[symfony-users] Re: Credentials for an action in the backend

2010-11-11 Thread Javier Garcia
I'm logged in when I execute the action. Anyway, someone told me that the 'credentials' option for a generator action specifies which credentials are sufficient to execute that action. It does NOT provide the executor with the specified credentials. First question: is that true? Second

Re: [symfony-users] Re: Execute code after deliverig content to the user

2010-11-11 Thread Gareth McCumskey
Once the web server sends the response ... the script ends. On Thu, Nov 11, 2010 at 11:25 AM, torok84 toro...@gmail.com wrote: Thanks for the replies, but I am afraid I meant something else. I was thinking to execute on the server like this: 1. Calculate page to serve 2. Send the page over

Re: [symfony-users] Re: Execute code after deliverig content to the user

2010-11-11 Thread Gareth McCumskey
To expound on that, here is the flowchart of work: Request comes to web server for a PHP page - Web server sees its a PHP file and passes off to PHP parser - PHP parser processes all PHP code and generates all HTML - PHP parser returns the HTML generated to web server and stops - Web server sends

[symfony-users] Version control override/extend feature

2010-11-11 Thread klemens_u
Hi everyone, I've got a dev-workflow question for you: Assume I want to modify/extend an existing symfony project versioned via svn to which I have no commit access. So I begin doing a checkout of the project. Now I modify or add some files. But now: leaving the modified files as local changes

[symfony-users] Re: Execute code after deliverig content to the user

2010-11-11 Thread torok84
So PHP should fork just before telling Apache it''s done, and on the forked process do some slow processing... anyway it seems my idea is quite complicated to implement and maybe interesting for not many people. On 11 Nov, 11:07, Gareth McCumskey gmccums...@gmail.com wrote: To expound on that,

Re: [symfony-users] Version control override/extend feature

2010-11-11 Thread Gareth McCumskey
Why not just create a branch in the existing repository? If you need to make it a whole new repository you can disconnect what you checked out from its existing repository before committing it the a new one. On Thu, Nov 11, 2010 at 12:25 PM, klemens_u klem...@ull.at wrote: Hi everyone, I've

[symfony-users] Re: Version control override/extend feature

2010-11-11 Thread klemens_u
Thanks, but no - disconnecting is not an option because it's not possible to get updates from the original repo. On 11 Nov., 12:35, Gareth McCumskey gmccums...@gmail.com wrote: Why not just create a branch in the existing repository? If you need to make it a whole new repository you can

Re: [symfony-users] Re: Version control override/extend feature

2010-11-11 Thread Alex Pilon
Once you add or modify files you dont know if youll be conflicting with files from the other repo. Check out svn:external that allows you to reference other repos that you may or may not have read access to and save custom files to another repo. Im not experienced with git yet so their may be

[symfony-users] Problème d'affichage requête doctr ine

2010-11-11 Thread gwanael Neiveyans
Bonjour a tous et merci d'avance pour vos réponses, Voila, c'est un problème simple mais je sèche complètement. J’exécute une requête dans un executeIndex: $this-req = Doctrine_query::create() -select('*') -from('utilisateur') -fetchArray(); Que

[symfony-users] propel:generate-admin and dsExtDirectPlugin

2010-11-11 Thread thomas303
Hello List, I have a problem that after creating a module and configuring dsExtDirectPlugin, no new action is created in the extdirect api. When I use modules which have not been autogenerated (action class extends sfActions), it works perfectly and I have new functions in the extdirect api.

[symfony-users] [Doctrine] nested queries

2010-11-11 Thread Aggtaa
I have a database defined as (simple recursive many-to-many relation: WorkItem: columns: type: { type: enum, length: 10, values: [Product, UserStory, TestSuite, TestCase, Bug] } WorkItemRelation: columns: parent_id: { type: integer, notnull: true } child_id: { type: integer,

[symfony-users] Re: Tracking down issue in factories

2010-11-11 Thread stephenrs
I still don't have any idea what is causing this - and I'm now seeing it on another server which has a fresh OS/PHP/MySQL install. FYI - this is also being discussed here:

[symfony-users] Re: Factories : storage taking a really long time to load

2010-11-11 Thread stephenrs
I finally tracked this down. The delay (at least in my situation) is happening when sfSessionStorage.class.php tries to start the PHP session (simply by calling session_start()), and is caused by a file locking condition on the session file itself (CentOS 5.3). There is some info in the comments

[symfony-users] Re: Tracking down issue in factories

2010-11-11 Thread stephenrs
I've tracked this down, please take a look here: http://groups.google.com/group/symfony-users/browse_thread/thread/3dbe8e48215e0691/e6b1232a50207fc0 On Oct 21, 1:24 pm, ashton honnecke ahonne...@gmail.com wrote: @Stephen - I haven't had time yet :(  However, I'll let you know if I come upon

[symfony-users] Problems wiht: http://www.symfony-project.org/jobeet/1_4/Propel/en/03 Chapter

2010-11-11 Thread PabloRS
Hello, Im trying to follow this excellent page to learn symfony but i have two problems in this chapter. 1.- When i run the command: symfony propel:insert-sql the console print the message: Database myDataBase does not exist. My database exist. I can access it whit mysql 2.- I try to find a

[symfony-users] ahAdminGenerataorThemesPlugin and Titles

2010-11-11 Thread Colin Viebrock
I'm a first-time Symfony user, so bear with me! I installed the ahAdminGenerataorThemesPlugin to take advantage of sorting by virtual columns, but I can't figure out how to get the customizeable titles to work in my backend app. To be honest, I've perfectly happy with the default titles, but am

[symfony-users] Seeking someone for code review

2010-11-11 Thread Wyllow
Hi all, We're looking for someone to review the code our development consultant is writing for our high-functioning website, set to launch in March 2011. Do you or anyone you know do code review? We're a startup on a tiny budget, so it'll have to be at a price we can pay. This could lead to a

[symfony-users] How to aasign external link in symfony

2010-11-11 Thread deepak
Hi There is a column in my table which stores external urls e.g. www.amazon.com. Now when I try to use link_to('Product', $Obj-getUrl()). It outputs a href=http://www.myappbaseurl.com/www.amazon.com;Product/a Infact symfony takes all the url as internal uri. Is there a way in symfony thru

[symfony-users] Re: Execute code after deliverig content to the user

2010-11-11 Thread esukf
Can try using a message queue. Something like http://kr.github.com/beanstalkd/ should be sufficent for what you want to do. On Nov 10, 3:21 pm, torok84 toro...@gmail.com wrote: I am developping a site in wichi I use PHP Lucene for full text indexing. Lucene is not really a lighting. It would be

[symfony-users] Process form with extra fields

2010-11-11 Thread bernhard flokstra
Hello everyone, I have an table in my database called verhalen. This contains stories people wrote. There is an relation between the table stories and the table sf_guard_user. (I use sfDoctrineGuardPlugin.) Now I want to add a new story to the database with a form I created. All the columns are

Re: [symfony-users] Problème d'affichage requête d octrine

2010-11-11 Thread Wes John-Alder
Remplace -fetchArray() avec execute(). C'est tous ma francaise. Bon chance! Wes 2010/11/8 gwanael Neiveyans gwen69...@gmail.com Bonjour a tous et merci d'avance pour vos réponses, Voila, c'est un problème simple mais je sèche complètement. J’exécute une requête dans un executeIndex:

Re: [symfony-users] How to aasign external link in symfony

2010-11-11 Thread Alex Pilon
That is an html problem. You need to precede links that go outside your site with http. Try puting a normal anchor with www.amazon.com in it. a href= www.amazon.comAmazon/a The link will be url will try to go to http://yoursite.com/www.amazon.com. In short, you need the http://. On Thu, Nov 11,

Re: [symfony-users] Problems wiht: http://www.symfony-project.org/jobeet/1_4/Propel/en/03 Chapter

2010-11-11 Thread Alex Pilon
Do you have a database in your database server called myDatabase? On Tue, Nov 9, 2010 at 09:42, PabloRS pabl...@gmail.com wrote: Hello, Im trying to follow this excellent page to learn symfony but i have two problems in this chapter. 1.- When i run the command: symfony propel:insert-sql the

Re: [symfony-users] Process form with extra fields

2010-11-11 Thread symfony
Never mind, I got it solved. Here's how I did it: ?php protected function processForm(sfWebRequest $request, sfForm $form) { $formParam = $request-getParameter($form-getName()); if($form-isNew()) { $formParam['uid'] = $this-getUser()-getId(); } $form-bind(

[symfony-users] deployment - rsync problem

2010-11-11 Thread hribo
Hello, i am finishing my first project in symfony and i want to deploy it from localhost to production server. i also didn't use any deployment strategies before. i am running on windows. to run symfony commands i use cyqwin linux emulator. on my production server i have enabled cli shell and ssh

Re: [symfony-users] deployment - rsync problem

2010-11-11 Thread Ben Bieker
hi, yes you have to install rsync in your cygwin environment and have to make sure that rsync is installed on the server as well! Greetings Ben Am 11.11.2010 17:54, schrieb hribo: Hello, i am finishing my first project in symfony and i want to deploy it from localhost to production server. i

[symfony-users] [Symfony2] some questions about forms

2010-11-11 Thread noel guilbert
Hello, I've spent some time to play with the new form framework, and then I have some questions about its usage. First case, how to have two validation strategy for the same class, using annotations: I have a User entity, and two forms: a subscribe form, and a edit profile form. In the first

Re: [symfony-users] Problems wiht: http://www.symfony-project.org/jobeet/1_4/Propel/en/03 Chapter

2010-11-11 Thread Marcio Pozzato
Please, see below if this is your problem. I've written many occurrences when teaching a Basic Symfony Training, this is the one. First, when changing for other training room, problems were increased, like this INSERT-SQL TASK ERROR; So, when performing the doctrine:insert-sql task, Symfony

[symfony-users] Symfony2 Test failure with last master

2010-11-11 Thread Bertrand Zuchuat
Hi I would like to launch test on my test project but i have an error (see below): PHPUnit 3.5.3 by Sebastian Bergmann. E Time: 0 seconds, Memory: 6.00Mb There was 1 error: 1) Application\MetaBundle\Tests\Controller\MainControllerTest::testAbout RuntimeException: Unable to guess the Kernel

[symfony-users] problem with sfWidgetFormChoice

2010-11-11 Thread eliana m.
I am making a form in the backend and it allows multiple extensions. I'm using sfWidgetFormChoice to allow the user to select multiple options, but I have to concatenate each selection. 1-form: $this-widgetSchema['extension'] = new sfWidgetFormChoice(array( 'choices' =

[symfony-users] Re: deployment - rsync problem

2010-11-11 Thread hribo
thank you, and does symfony natively support deployment from git or maybe svn? (rather git). if yes, could you please let me know some good article about that? thanks On Nov 11, 6:30 pm, Ben Bieker m...@ben-bieker.de wrote: hi, yes you have to install rsync in your cygwin environment and have

[symfony-users] Problem with making a drop down menu from a table

2010-11-11 Thread apc...@dsl.pipex.com
All I am trying to do is make a drop down menu from a table in a database. I think I need to place some code in an action class. The table is called 'sectors. The column I would like to see in the drop down menu is is 'sectorTitle' ' The code I am using is: $this-form = new sfForm();

Re: [symfony-users] Problem with making a drop down menu from a table

2010-11-11 Thread Alexandre Salomé
Add new before sfWidget... : you are instanciating an object, not calling a function --- Alexandre Salomé - http://alexandre-salome.fr Le 12 nov. 2010 01:04, apc...@dsl.pipex.com apc...@dsl.pipex.com a écrit : All I am trying to do is make a drop down menu from a table in a database. I think I

[symfony-users] Re: Problem with making a drop down menu from a table

2010-11-11 Thread apc...@dsl.pipex.com
Thank you for taking time to help me. My code is now: $this-form = new sfForm(); $this-form-setWidgets(array( 'section_id' = new sfWidgetFormChoice(array( 'model' = 'sectors', 'column' = 'sectorTitle' ) ))); But I still get another error: sfWidgetFormChoice does not support the

[symfony-users] On $form-save() and knowing if anything has changed

2010-11-11 Thread Burt Crépeault
Hi folks, I'm sure the solution to this is right in my face but I have been looking (without success, obviously) for a way to know if a doctrine object has changed after its form has been saved. I'd like to display a banner saying your information was saved whenever it has indeed changed, but not

[symfony-users] ahDoctrineEasyEmbeddedRelationsPlugin missing addRelation button

2010-11-11 Thread thronic
I've added the embedRelations call and i can see (and edit and delete) my relations when i edit the parent record. But for some reason I can't add a relation. How do i add a relation?? Am i missing something in my embedRelations method? $this-embedRelations(array(

[symfony-users] Re: ahDoctrineEasyEmbeddedRelationsPlugin missing addRelation button

2010-11-11 Thread thronic
Upon further reading i realized that i had to add new_RELATIONNAME to my generator.yml! On Nov 11, 10:02 pm, thronic sean.vill...@gmail.com wrote: I've added the embedRelations call and i can see (and edit and delete) my relations when i edit the parent record. But for some reason I can't

[symfony-users] no puedo integrar symfony con extjs

2010-11-11 Thread rfvillavicencio
-- 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

[symfony-users] ayudenme

2010-11-11 Thread rfvillavicencio
por favor que alguien me diga como puedo integrar symfony con extjs -- 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

[symfony-users] [JOB] Senior PHP/Symfony Developer, NYC | 90-135k

2010-11-11 Thread OSS
This is a full time, on-site, salaried Senior PHP/Symfony Developer position located in New York City paying $90,000-$135,000 depending on experience + benefits. No telecommuting allowed. US Citizens or Green Card holders only please. Local candidates only. Thank you. This is a very hush hush

Re: [symfony-users] Re: deployment - rsync problem

2010-11-11 Thread Gareth McCumskey
Why not just deploy from svn to your production server? Makes life a lot easier when you have updates to manage. Just svn checkout into a directory on the production server and you don't have to worry about rsync then. On Thu, Nov 11, 2010 at 11:53 PM, hribo hribo...@gmail.com wrote: thank you,

Re: [symfony-users] [Symfony2] some questions about forms

2010-11-11 Thread Bernhard Schussek
Hi Noel, I have a User entity, and two forms: a subscribe form, and a edit profile form. In the first one, I have two fields: the username, and the password. In the second, username, password, first name and last name. Actually, if I add the annotation @validation:NotBlank on the first name

Re: [symfony-users] How to aasign external link in symfony

2010-11-11 Thread Gareth McCumskey
This is expected behavour. url_for looks for the suffix http:// to know if its an external link or not. On Thu, Nov 11, 2010 at 2:39 PM, deepak deepakkumar...@gmail.com wrote: Hi There is a column in my table which stores external urls e.g. www.amazon.com. Now when I try to use

Re: [symfony-users] Re: ahDoctrineEasyEmbeddedRelationsPlugin missing addRelation button

2010-11-11 Thread Daniel Lohse
Yes, and you also have the option 'noNewForm' set to true which, obviously, discards the form to add a new related object. :) Cheers, Daniel Sent from my iPhone4 On Nov 12, 2010, at 4:10 AM, thronic sean.vill...@gmail.com wrote: Upon further reading i realized that i had to add

Re: [symfony-users] problem with sfWidgetFormChoice

2010-11-11 Thread Pietrino Atzeni
Hi, you should post some lines about the errors you found, it would help. What's the validator for that widget? Pietro I am making a form in the backend and it allows multiple extensions. I'm using sfWidgetFormChoice to allow the user to select multiple options, but I have to concatenate each

Re: [symfony-users] Re: Problem with making a drop down menu from a table

2010-11-11 Thread Daniel Lohse
That's because you have to use the Doctrine (or Propel) version of this widget. Cheers, Daniel Sent from my iPhone4 On Nov 12, 2010, at 1:27 AM, apc...@dsl.pipex.com apc...@dsl.pipex.com wrote: Thank you for taking time to help me. My code is now: $this-form = new sfForm();

[symfony-users] Re: How to aasign external link in symfony

2010-11-11 Thread deepak
Thanks Gareth. :) On Nov 12, 12:42 pm, Gareth McCumskey gmccums...@gmail.com wrote: This is expected behavour. url_for looks for the suffix http:// to know if its an external link or not. On Thu, Nov 11, 2010 at 2:39 PM, deepak deepakkumar...@gmail.com wrote: Hi There is a column

Re: [symfony-users] How to aasign external link in symfony

2010-11-11 Thread Daniel Lohse
You mean prefix of http://, right? ;-) Sent from my iPhone4 On Nov 12, 2010, at 8:42 AM, Gareth McCumskey gmccums...@gmail.com wrote: This is expected behavour. url_for looks for the suffix http:// to know if its an external link or not. On Thu, Nov 11, 2010 at 2:39 PM, deepak