[symfony-users] Re: Adding custom :sf_format - incorrect headers sent

2010-05-04 Thread Tom Ptacnik
Did you test it in the production environment? .. The debug toolbar isn't added in prod so maybe this is the point? On 30 dub, 14:20, DEE jasond...@gmail.com wrote: 'csv' is not a supported default :sf_format within symfony's core, and this is a contenttype I wanted to serve up from a route

[symfony-users] Re: problem with error message being applied to the form field

2010-05-04 Thread Tom Ptacnik
Enter a Fee (2nd column) is an error for receipt_amount and it's showed as an global error? On 1 kvě, 09:27, Michael Hodges mhodg...@gmail.com wrote: Hello all, I'm hoping someone can point out my mistake.  For Symfony 1.4.4 with Doctrine I have a form to which I've added    

[symfony-users] Re: Can't select/validate day #31 in sfWidgetFormJQueryDate

2010-05-04 Thread Tom Ptacnik
I think there was/is a bug. Do you have the newest version of the plugin? On 1 kvě, 14:31, Adrien Mogenet adrien.moge...@gmail.com wrote: Hi all, I just noticed a strange bug using a sfWidgetFormJQueryDate, when I tried to select the 2010-12-31, it just doesn't pass... My code :

[symfony-users] Re: How overwrite addFiltersCriteria in symfony 1.4?

2010-05-04 Thread Tom Ptacnik
Do you really need all the values together? Can't you just create a few addXXXColumnQuery methods and create a query in parts? Example of my filter where I added the choice: class CommentFormFilter extends BaseCommentFormFilter { public function configure() {

[symfony-users] Re: Date shows up wrong in the admin generator list

2010-05-04 Thread Tom Ptacnik
Show us how did you set the date in the generator.yml. On 1 kvě, 23:02, fsateler fsate...@gmail.com wrote: I have an admin generator module for managing users in my application. I'm using sfGuardPlugin. The problem I'm facing is that for some reason symfony is parsing the date the wrong

[symfony-users] Re: Symfony 2 Documentation or Tutorials

2010-05-04 Thread Tom Ptacnik
;D On 2 kvě, 15:20, Fabian Lange fabian.la...@symfony-project.com wrote: Yeah there are some books out on it. You'll find them next to the PHP 6 Documentation, or the Windows Server 2015 guides. I really appreciate that you folks want to stay up to date, but Symfony 2 has no shape that one

[symfony-users] Re: foreign key and sfDoctrineGuardPlugin

2010-05-04 Thread Tom Ptacnik
Yes you can do a relation between a user and another table object. Is that what you want? Please describe you question again.. On 3 kvě, 14:37, Sela tzi...@gmail.com wrote: I want to associate a table with the user ID generated from sfDoctrineGuardPlugin when the user is logged in. I thought

Re: [symfony-users] Re: foreign key and sfDoctrineGuardPlugin

2010-05-04 Thread Sela Yair
Thanks. Yes that's what I'm after. the following is the table in schema.yml Member: actAs: Timestampable: ~ columns: date_birth: type: date notnull: true logo: type: string(255) is_public: type: boolean notnull: true default: 1

Re: [symfony-users] send_msg

2010-05-04 Thread Sela Yair
you need to have SMTP server to connect to. Most ISP blocks to disable spamming so it would be impossible then to have one on your local computer. In the docs of symfony there's instructions how to configure gmail server. On 4 May 2010 00:57, safa boubekri boubekri.s...@gmail.com wrote: how

[symfony-users] [backend] blank page after I've installed sfDoctrineGuardPlugin

2010-05-04 Thread SatBoy78
hi all, I've got a strange problem with symfony: I've installed sfDoctrineGuardPlugin and after this I can't access to my backend, I can only see a blank page I've followed all the steps shown in the joobet tutorial, I've cleaned the cache, but I can't see the login page... do you know why I've

[symfony-users] Re: How overwrite addFiltersCriteria in symfony 1.4?

2010-05-04 Thread fRAnKEnSTEin
Hi, As i see..i think i can not add few addXXXColumnQuery methods and create a query in parts. I tell you why. I have 2 custom inputs, so if i create 2 addXXXColumnQuery methods, ill end with something like this: public function addMyCustomInput1ColumnQuery($query, $field, $value) { } public

[symfony-users] Symfony's cache caches my sfDoctrineGuard auth pages... WTF.

2010-05-04 Thread theredled
Hi, I have an URI foo/bar?baz=1 that requires authentication, AND which result must be cached. The result is : the cached result is the authentication page. How ironic... Do you know what can be the origin of this problem ? Thanks all. -- If you want to report a vulnerability issue on

[symfony-users] Re: Symfony 2 Documentation or Tutorials

2010-05-04 Thread James Cauwelier
lol... Anyway, the reasoning of the poster is not hard to understand. Learning a new framework takes time and effort and you don 't want to study information that will be old in just a few months. Well, you 'll have to start with sf1.4 and see how it goes. sf1.4 will stick around for some time

Re: [symfony-users] [backend] blank page after I've installed sfDoctrineGuardPlugin

2010-05-04 Thread mehdi hadef
Hi SatBoy, can you show us the seetings.yml file of your back end application. (apps/yourBackOffice/config/settings.yml 2010/5/4 SatBoy78 bruno.mat...@gmail.com hi all, I've got a strange problem with symfony: I've installed sfDoctrineGuardPlugin and after this I can't access to my backend,

Re: [symfony-users] Symfony's cache caches my sfDoctrineGuard auth pages... WTF.

2010-05-04 Thread Michał Piotrowski
Hi, 2010/5/4 theredled benoit.guc...@gmail.com: Hi, I have an URI foo/bar?baz=1 that requires authentication, AND which result must be cached. The result is : the cached result is the authentication page. How ironic... Do you know what can be the origin of this problem ? AFAIK there is

[symfony-users] Re: [backend] blank page after I've installed sfDoctrineGuardPlugin

2010-05-04 Thread SatBoy78
this is my settings.yml prod: .settings: no_script_name: false logging_enabled:false dev: .settings: error_reporting:?php echo (E_ALL | E_STRICT).\n ? web_debug: true cache: false no_script_name: false

[symfony-users] Re: Symfony's cache caches my sfDoctrineGuard auth pages... WTF.

2010-05-04 Thread theredled
Too Bad... Thanks. I'll look for a solution. On May 4, 11:16 am, Michał Piotrowski mkkp...@gmail.com wrote: Hi, 2010/5/4 theredled benoit.guc...@gmail.com: Hi, I have an URI foo/bar?baz=1 that requires authentication, AND which result must be cached. The result is : the cached

[symfony-users] How to show the validation errors inside the modal box?

2010-05-04 Thread Javier Garcia
Hi, i have a form inside a modal box. If i have some validation error, the form is not showed again inside the the modal box, but in the content area of the browser. Any way to show the form and its validation errors inside the modal box? Here you have my codes: ?php echo m_link_to(

Re: [symfony-users] Re: [backend] blank page after I've installed sfDoctrineGuardPlugin

2010-05-04 Thread mehdi hadef
Ok I see nothing strange in your settings.yml. Have you a directory sfGuardAuth in apps/yourBackOffice/modules ? If yes, what do you have in your templates/signinSuccess.php and in the action that correspond ? 2010/5/4 SatBoy78 bruno.mat...@gmail.com this is my settings.yml prod:

[symfony-users] Re: Symfony's cache caches my sfDoctrineGuard auth pages... WTF.

2010-05-04 Thread theredled
Found a solution : - make a MyBasicSecurityFilter that overrides sfBasicSecurityFilter - override each forwardTo***Action() and add sfConfig::set('sf_cache', false); at first lines. I dont know if it is really clean Made a ticket http://trac.symfony-project.org/ticket/8608 On May 4, 11:51 am,

[symfony-users] Re: Symfony's cache caches my sfDoctrineGuard auth pages... WTF.

2010-05-04 Thread theredled
Found a solution : - make a MyBasicSecurityFilter that overrides sfBasicSecurityFilter - override each forwardTo***Action() and add sfConfig::set('sf_cache', false); at first lines. I dont know if it is really clean Made a ticket http://trac.symfony-project.org/ticket/8608 On May 4, 11:51 am,

[symfony-users] Re: Symfony's cache caches my sfDoctrineGuard auth pages... WTF.

2010-05-04 Thread theredled
And of course, change your security line in filters.yml to : security: class: MyBasicSecurityFilter On May 4, 12:41 pm, theredled benoit.guc...@gmail.com wrote: Found a solution : - make a MyBasicSecurityFilter that overrides sfBasicSecurityFilter - override each forwardTo***Action() and

[symfony-users] Re: [backend] blank page after I've installed sfDoctrineGuardPlugin

2010-05-04 Thread SatBoy78
no, I don't have a sfGuardAuth module... -- 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] [RFC] sfUnifiedGuard for Symfony 2

2010-05-04 Thread Michał Piotrowski
Hi, Plugins for Symfony 2 will need a major rewrite, so it's an occasion to change a few things. Basic concept: - merge sfGuardPlugin and sfDoctrineGuardPlugin into one plugin - share the same schema - actually both plugins uses different schema - might be a problem if someone want to switch ORM

Re: [symfony-users] Re: foreign key and sfDoctrineGuardPlugin

2010-05-04 Thread Sela Yair
I think I found slick solution, would like to get some feedback if that's the ideal solution. in action.class.php i modified the $form-bind *protected function processForm(sfWebRequest $request, sfForm $form)* * {* *$formData = $request-getParameter($form-getName());* *

[symfony-users] How to embed forms with 2 relations (embedRelation)

2010-05-04 Thread saki
Hi! Please to help me to solve this... There are partners (firms). Partners have services. Services have notes. Partners - Services using M-M relation, it works fine! I added embed forms to the service page to include the note forms. Still works fine. I added a service and partner field to the

[symfony-users] Re: Adding custom :sf_format - incorrect headers sent

2010-05-04 Thread DEE
Hi Tom- Thanks for the reply. No I did not test in production yet, but will as soon as possible. However, the debug toolbar is supposed to only appear for :sf_format == 'html'; the default. For any other :sf_format supported by symfony's core factories.yml (ie. txt, css, atom, etc...) the debug

[symfony-users] sfForm button widgets?

2010-05-04 Thread Земсков Юрий
Hi, need to make SForm (symfony 1.4) form ... button type=submit name=answer value=mMale/button button type=submit name=answer value=fFemale/button /form Any ideas (except using radios with one submit button) how to achieve that? Plugins maybe? Thanks in advance. -- If you want to report a

[symfony-users] relation betwwen a sfGuardUser and an other object in schema.yml

2010-05-04 Thread trankh
Every symfony developper has encountered this implemantation. How to define a relation between a sfGuardUser and an other object? I need a schema.yml example. Imagine an object EventMember which defines a relation between anobjet Event and an object sfGuardUser (which is a member in the

Re: [symfony-users] Re: [backend] blank page after I've installed sfDoctrineGuardPlugin

2010-05-04 Thread mehdi hadef
Ok. Maybe you should customize the sfGuardAuth module. See the step corresponding at http://www.symfony-project.org/plugins/sfDoctrineGuardPlugin, section begin by Customize sfGuardAuth module templates. It could solve you problem. In my case I customized it and it works fine. 2010/5/4 SatBoy78

Re: [symfony-users] [backend] blank page after I've installed sfDoctrineGuardPlugin

2010-05-04 Thread Eno
On Tue, 4 May 2010, SatBoy78 wrote: I've got a strange problem with symfony: I've installed sfDoctrineGuardPlugin and after this I can't access to my backend, I can only see a blank page Look at your web server error logs for the error. -- -- If you want to report a vulnerability issue

[symfony-users] Re: [backend] blank page after I've installed sfDoctrineGuardPlugin

2010-05-04 Thread SatBoy78
I've seen apache log, and I've seen that all works well... I've a question about sfGuardAuth module: symfony doesn't generate it when I install the plugin? -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message

Re: [symfony-users] Re: [backend] blank page after I've installed sfDoctrineGuardPlugin

2010-05-04 Thread Daniel Lohse
It's in the plugin itself but when you need to customize the templates for the signin action then you'll need to create a module in your app (frontend), create a templates directory inside it and copy over the signinSuccess.php from the plugin. At this point you can customize it and symfony

Re: [symfony-users] Re: [backend] blank page after I've installed sfDoctrineGuardPlugin

2010-05-04 Thread mehdi hadef
To view error log in web page (instead of the blank page), check you have fo_dev.php in your url. 2010/5/4 Daniel Lohse annismcken...@googlemail.com It's in the plugin itself but when you need to customize the templates for the signin action then you'll need to create a module in your app

[symfony-users] sfForwardException - Too many forwards have been detected for this request ( 5)

2010-05-04 Thread Guychmyrat Amanmyradov
Hello, i was following http://www.symfony-project.org/book/1_0/16-Application-Management-Tools And , followed commands. My project was working fine. But know it gives me this error : stack trace at () in SF_ROOT_DIR/lib/symfony/controller/sfController.class.php line 172 ...   

[symfony-users] Re: Inheritance of many-to-many relation?

2010-05-04 Thread comb
thanks for answering. How do I create some fixtures for the relation between the following two objects? fixtures.yml User: user_0: name: Tim Video: video_0 title: a cool video UserProduction: video_0_user_0: User: user_0 Production: video_0 fails: Invalid row key

[symfony-users] Re: Question about forms: reuse the widgets set in the parent class or not ?

2010-05-04 Thread Casey
The way you have done it works. Another idea is to add a method to your original form, such as makeAbbreviated(), where you make necessary changes to the form's appearence/functionality before showing it to the user. Those changes could include adding/removing widgets and validators, I think you

[symfony-users] Re: foreign key and sfDoctrineGuardPlugin

2010-05-04 Thread Casey
Doctrine make this easier. The way you are doing it works, but it may be harder to maintain in the future. I would reccommend something like this: MemberForm.class.php:: function configure(){ parent::configure(); $this-getObject()-user_id = sfContext::getInstance()-getUser()-

[symfony-users] Re: nahoMail, symfony 1.4, and swift

2010-05-04 Thread Casey
you could add another swift folder into lib/vendor, and then set up the autoload.yml There is a good description of how to use autoload.yml here: http://www.symfony-project.org/tutorial/1_4/en/upgrade#chapter_161aacbf11b8cc24bbdc6951ba0fb57d_autoloading There is further documentation here:

Re: [symfony-users] Re: Hidden field in backend

2010-05-04 Thread Augusto Flavio
Hi Casey, yes. The correct is widgetSchema. I was using setWidgets. Thanks. Augusto Morais -- 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

[symfony-users] ahDoctrineEasyEmbeddedRelationsPlugin with javascript/ajax

2010-05-04 Thread Luc Didry
Hello everybody, I'm trying to embed project forms while creating a client with the ahDoctrineEasyEmbeddedRelationsPlugin. It's a one to many relation : a client may have many projects and a project belongs to one client. The embedded form works well, the client and the project are created and a

[symfony-users] doctrine mysql driver

2010-05-04 Thread sergi borras
Hello, We installed Symfony in BlueHost, created the php.ini file enabling pdo_mysql, and ran check_configuration.php We are getting the following output from check_configuration.php * * * symfony requirements check * *

[symfony-users] symfony 1.0 + forms

2010-05-04 Thread Anasteziya
Hello! I'm new in symfony and try to understand how it works and work with it. I created the form by using form's helpers and want to call another action with form's parameters. Function executeCreate takes parameters from form and redirected to the report action. public function

[symfony-users] Doctrine routes with additional parameters.

2010-05-04 Thread Philip G
I'm trying to build a Doctrine route, using additional parameters, but I can't seem to get it to even pass the url generator. In my template, I have: li?php echo link_to('Approve', 'deployment/approve?group=qa', $deployment, array('method' = 'put')) ?/li I'm trying to get either:

[symfony-users] Different form filters generated

2010-05-04 Thread Javier Garcia
Hi, i have this class in rs1/lib/filter/doctrine/FelizFormFilter.class.php ?php /** * Feliz filter form. * * @packagers * @subpackage filter * @author Your name here * @versionSVN: $Id: sfDoctrineFormFilterTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $ */ class

Re: [symfony-users] Re: Directory locked after svn pe svn:externals lib/vendor/

2010-05-04 Thread Pau Peris
Hi to all an thanks for the answers, but i still have the same issue. svn cleanup did nothing for me I run: svn pe svn:externals lib/vendor/ and wrote: symfony http://svn.symfony-project.com/tags/RELEASE_1_4_0 # svn up lib/vendor/ Fetching external item into 'lib/vendor/symfony' svn: warning:

[symfony-users] Re: Directory locked after svn pe svn:externals lib/vendor/

2010-05-04 Thread pghoratiu
Try deleting the lib/vendor/symfony directory and doing a svn up afterwards. gabriel On May 4, 11:17 pm, Pau Peris sibok1...@gmail.com wrote: Hi to all an thanks for the answers, but i still have the same issue.   svn cleanup did nothing for me I run: svn pe svn:externals lib/vendor/

Re: [symfony-users] Re: foreign key and sfDoctrineGuardPlugin

2010-05-04 Thread Sela Yair
thanks, that what i was after. On 4 May 2010 18:27, Casey casey.cam...@gmail.com wrote: Doctrine make this easier. The way you are doing it works, but it may be harder to maintain in the future. I would reccommend something like this: MemberForm.class.php:: function configure(){

Re: [symfony-users] ahDoctrineEasyEmbeddedRelationsPlugin with javascript/ajax

2010-05-04 Thread Daniel Lohse
Hey there, the plugin developer here. :) Just to confirm: 1. How did you install the plugin (via the symfony plugin:install task, via Subversion or Git)? 2. Are you already using any JavaScript framework in your symfony project? You'll need to have jQuery for this part to work as the

Re: [symfony-users] $this-getRequest()-isMethod('post')

2010-05-04 Thread Parijat Kalia
so the form is form_tag('admin/otherPage')...which by default makes it a post. And the button is nested within the form, which implies that it posts when the submit button is hit. This deviates from the actual question, which is, why is the post method being recognized when it is being directed

[symfony-users] Re: $this-getRequest()-isMethod('post')

2010-05-04 Thread fRAnKEnSTEin
Hi there, If you are inside some controller action you can try $request- isMethod('post') instead $this-getRequest()-isMethod('post') Tell me what happen if you give it a try... Cheers -- If you want to report a vulnerability issue on symfony, please send it to security at

[symfony-users] Re: doctrine mysql driver

2010-05-04 Thread fRAnKEnSTEin
Did you ran check_configuration.php using a browser or using a terminal window? Remember that the PHP program that the browser uses may differ from the one that the terminal uses. So maybe you are getting this error because you are seeing the configuration of the wrong PHP. Run