[symfony-users] Re: PHP Intl extension

2010-12-22 Thread Marijn
Michael, I ended up recompiling my native PHP install. Look at this gist for an example configure string: https://gist.github.com/03b9175bdb33ab2ce129 On Dec 22, 3:53 am, Tim Nagel wrote: > Does mamp come with pecl? > > # pecl install intl ? > > t > > > > On Wed, Dec 22, 2010 at 13:51, Michael

[symfony-users] Re: Configuration by apache directive

2010-12-09 Thread Marijn
Hi flukey, I usually do so, just not in this example :-) Thanks for reminding me about a more than valid point though :-) Kindest regards, Marijn On Dec 9, 1:01 am, Flukey wrote: > Ah, nice idea :-) > > On a side note, if you're going to set some settings via the apache > dir

[symfony-users] Re: hiding or disabling editing on sfWidgetFormDoctrineChoice and sfWidgetFormDateTime

2010-12-08 Thread Marijn
the widget. I would recommend using a regular sfWidgetFormInput in that case. $yourWidget->setAttribute('readonly', 'readonly'); If you want to be extra secure you'll have to make sure you don't store any incoming values for that field in your save method. Kindest

[symfony-users] Re: [Security] Problems with signing out for HTTP based authentication

2010-12-08 Thread Marijn
For completeness I've added my security configuration file here: https://gist.github.com/734260 On Dec 9, 3:36 am, Marijn wrote: > Hi guys, > > I'm having some trouble with signing out user based on the default > HTTP based authentication as described > here;http://

[symfony-users] [Symfony2][Security] Problems with signing out for HTTP based authentication

2010-12-08 Thread Marijn
at no controller could be found. Did I miss additional configuration in the documentation or should I file a ticket for this? Kindest regards, Marijn -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because yo

[symfony-users] [Symfony2][Doctrine2] Mapping issue that only occurs on my remote

2010-12-08 Thread Marijn
nnot inspect if the annotation loader is instantiated correctly. Is there any setting that can overrule this? Kindest regards, Marijn -- 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 subscr

[symfony-users] Re: Configuration by apache directive

2010-12-08 Thread Marijn
these environment variables. So it appears that part of the config is ok.. Any thoughts? Kindest regards, Marijn On Dec 8, 9:13 pm, mwsaz wrote: > Hi, > > Could you check that these are passed to PHP by adding a > print_r($_SERVER);exit(); in one of your files ? > &g

[symfony-users] [Symfony2] Configuration by apache directive

2010-12-08 Thread Marijn
7;t resolve the issue. Any help is much appreciated, Marijn Huizendveld -- 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

[symfony-users] Re: Setter injection in controllers

2010-12-07 Thread Marijn
Perhaps this article will help you: http://avalanche123.com/post/1215273326/symfony2-controller-testing On Dec 7, 1:44 pm, "benjamin.dulau" wrote: > Hi, > > Where can i find an example for setter injection in Symfony 2 please ? > > I'm trying to do something like : > > use Application\HelloBundl

[symfony-users] Re: Symfony 2 : Ready for new projects?

2010-05-19 Thread Marijn
I can vouch for Doctrine 2 in a heavily used application. We have sustained major traffic and had no performance problems whatsoever. Just be warned that you just check out one of the tags. Trunk is less stable. On May 19, 1:03 pm, Michał Piotrowski wrote: > 2010/5/19 Jean-Marc Fontaine : > > > T

[symfony-users] Re: Handle form error in the action

2010-04-20 Thread Marijn
$form->getErrorSchema() contains all validation errors thrown On Apr 20, 2:55 pm, WallTearer wrote: > Aaaargh, > I've created custom PostValidator, but when I'm throwing my custom > exception from that post validator, symfony catches it first, and I > can not catch it in the action. > > I've trie

[symfony-users] Re: doctrine 2+ symfony 1.4

2010-04-14 Thread Marijn
See this SVN repo: http://svn.symfony-project.com/plugins/sfDoctrinePlugin/branches/1.3-2.0 There is also a blogpost: http://www.symfony-project.org/blog/2009/10/05/symfony-and-doctrine-2 On Apr 14, 10:13 pm, Peter Petrik wrote: > hi, > > i am wondering , it is possible to use doctrine2 with s

[symfony-users] Re: Symfony 2.0 - Use anchor in url

2010-03-22 Thread Marijn
Try this: wrote: > On 19 mar, 22:48, Marijn wrote: > > > What code do you use for link generation? > > The code is something like this: > >  '.$data_1['post_time'].' > > In the generated page, I can see the link is "/voirtopic/18/1#p_7

[symfony-users] Re: Symfony 2.0 - Use anchor in url

2010-03-19 Thread Marijn
What code do you use for link generation? I suggest you don't add the #id to your link generation: getSomeValue(); ?> On Mar 19, 8:05 pm, Jérémie wrote: > On Mar 19, 7:51 pm, Marijn wrote:> Where does > symfony overwrite those links? In your routing file? Or in > > th

[symfony-users] Re: Symfony 2.0 - Use anchor in url

2010-03-19 Thread Marijn
Where does symfony overwrite those links? In your routing file? Or in the RoutingHelper? On Mar 19, 5:16 pm, Jérémie wrote: > I there, > > I'd like to use anchors in my project, but when I have something like > "/page/1#12", it's overwritten by "/page/1%2312" > We could change it in the previous

[symfony-users] Re: Symfony Upgrade Day

2009-11-30 Thread Marijn
Although I already upgraded, this sounds like a great plan to me! On Nov 30, 3:51 pm, Heilig Szabolcs wrote: > Hello, > > I have a (maybe not bad) idea: > > What about to organize a "worldwide" Symfony Upgrade Day? I think it will be > a weekend event. > At this day people can organize small even

[symfony-users] Re: sfDoctrine2Plugin, generating models from class metadata instead of YAML mapping?

2009-11-28 Thread Marijn
For anybody interested, this is possible by using the configureDoctrineConnection hook in your ProjectConfiguration class. See the following gist for an example: http://gist.github.com/244558 On Oct 18, 12:03 am, Marijn wrote: > Hi, > > Is it possible to generate the database from t

[symfony-users] sfDoctrine2Plugin, generating models from class metadata instead of YAML mapping?

2009-10-17 Thread Marijn
Hi, Is it possible to generate the database from the phpdoc metadata mapping with sfDoctrine2Plugin instead of the default YAML mapping? Since I have already been playing a lot with doctrine 2 I don't really feel like converting all my models to YAML. Kind regards, M

[symfony-users] Re: Validate your (X)HTML response with rsfResponseValidatorPlugin

2009-07-16 Thread Marijn
Oops, forgot to include the URL: http://www.symfony-project.org/plugins/rsfResponseValidatorPlugin On Jul 16, 11:30 am, Marijn wrote: > Hi everybody, > > About a week ago I contributed a plugin that allows you to easily > validate your (X)HTML response with the W3C validator.

[symfony-users] Validate your (X)HTML response with rsfResponseValidatorPlugin

2009-07-16 Thread Marijn
t would of course only be possible with a local copy of the validator and cached output. Perhaps incorporate a mailer that notifies the developer when invalid response is send out. If there are comments about it, please let me know. Kind regards, Marijn H

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

2009-07-12 Thread Marijn
is a very minor proprtion of my code there. - Marijn > > All best, > > Pablo > > On 7/10/09, Marijn wrote: > > > > > > > On Jul 9, 11:56 pm, Gandalf wrote: > >> Hello, > > >> Whats the status, a lot of noise and .?? > > >&

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

2009-07-10 Thread Marijn
nyway, I'm hoping to finish of some stuff by the end of next week. - Marijn > > On 6/29/09, Marijn wrote: > > > > > > > I just put some of my code in the 1.2-marijn branch. I've got some > > splitting out to do as most of it is related to the actual

[symfony-users] Re: How do I call a non SUCCESS using setTemplate?

2009-07-07 Thread Marijn
Return another value. For example `return sfView::ERROR;` On Jul 7, 4:31 pm, Steve Sanyal wrote: > Hi, > > It seems if I call setTemplate, the view is always set to "Success". > I'd like to be able to set this to something other than success. > > eg: In my templates I have: > > applyReservationI

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

2009-06-29 Thread Marijn
I just put some of my code in the 1.2-marijn branch. I've got some splitting out to do as most of it is related to the actual implementation of the service provider that I use. I guess I need to create a repo for that as well... I'll post some of my thoughts on github later on this wee

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

2009-06-29 Thread Marijn
On Jun 29, 8:44 am, Antoine Leclercq wrote: > Hi, > @Marijn : >  - I gave you access to the plugin repository. Tell me if it works for you. It's working. I just pushed a commit with the basic repo layout and plugin structure. If I find the time later on this week I'll

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

2009-06-28 Thread Marijn
have a different > > implementation. > > > I would like to contribute to this project, [Just not as the lead, as > > I don't have the dedication at the mo] But I could definitely > > contribute as I have some good ecomm experience, and symfony really > > needs thi

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

2009-06-26 Thread Marijn
te to this project, [Just not as the lead, as > I don't have the dedication at the mo] But I could definitely > contribute as I have some good ecomm experience, and symfony really > needs this (as it can boast about so much other stuff at the moment) > > Be sure to sign me up when

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

2009-06-24 Thread Marijn
On Jun 19, 7:43 am, Antoine Leclercq wrote: > Hi back, > Alright, I'm back to Beirut and ready for real stuff. Symfony Live > conferences were awesome and there were lots of nice level talks. > > @Marijn : Nice approach. We'll definitely go for wider solution in orde

[symfony-users] Re: Multiple Exentds myUser requests.

2009-06-17 Thread Marijn
thods the problem wouldn't occur... You could just have a look what methods they require you to add to your user object and than add those manually to your user class. Good luck. - Marijn --~--~-~--~~~---~--~~ You received this message because you are subscribed

[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

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

2009-06-10 Thread Marijn
this would also boost Symfonys popularity a little more too if it > worked. > > 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 >

[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, sfDoctr

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

2009-06-10 Thread Marijn
persisted to the database. On Jun 10, 12:25 am, 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, Marijn wrot

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

2009-06-09 Thread Marijn
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, Marijn wrote: > Hi everybody, > > I currently have a private plugin that manages a dutc

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

2009-06-09 Thread Marijn
code if we all agree it's structure is decent enough:-) Let me know. Marijn On Jun 9, 10:31 am, Antoine Leclercq wrote: > Sorry I haven't replied earlier, I'm kind of busy during my trips to France. > @Russen : Please join us on the plugin page so that we can start the r

[symfony-users] Re: Add values after form submit

2009-03-12 Thread Marijn
On Mar 12, 7:21 am, avorobiev wrote: > Place for adding of additional values to the submitted array is form > validator for that field, because you need transform it to get valid > values. I agree with you but that can be quite cumbersome. I'd say that if HAUSa needs to get the job done quickly

[symfony-users] Re: Add values after form submit

2009-03-11 Thread Marijn
ny are you using? You need to check the form class to see what the method signature is for the version you are using cause that has changed from 1.1 to 1.2. Good luck, Marijn On Mar 10, 5:58 pm, HAUSa wrote: > I got a form, in which users can select multiple values for a field > using sfWid

[symfony-users] Re: problem with file upload

2009-03-08 Thread Marijn
Well, you chose to have maximum file size of 1000 bytes... Try the following new sfValidatorFile(array('required' => true, 'mime_types' => array ('image/jpeg', 'image/jpg', 'image/png', 'image/gif'), 'max_size' => 2097152), array('max_size' => 'File size of 2MB exceeded', 'mime_types' => 'You are

[symfony-users] Re: I need tutorial about file upload

2009-03-08 Thread Marijn
Or in the symfony forms book: http://www.symfony-project.org/book/forms/1_2/en/02-Form-Validation#chapter_02_file_upload On Mar 8, 4:56 pm, dziobacz wrote: > hehehe I didn't see that - thx :) --~--~-~--~~~---~--~~ You received this message because you are subscrib

[symfony-users] Re: Symfony Production Performance improvements

2009-03-07 Thread Marijn
/rules.html Besides that you can turn of/strip symfony core stuff you don't need. Kind regards, Marijn On Mar 7, 10:43 am, Jeremy Benoist wrote: > Hi, > > Do you already take a look to > :http://www.symfony-project.org/book/1_2/18-Performance > ? > Lots of good practic

[symfony-users] Re: I18n in forms messages

2009-03-07 Thread Marijn
t; setMessages(array('required' => __ ('My widget required'))); ?> Does that work for you? This can also be usefull in projects where you would like to override the form messages of a plugin form without overridding the messages and labels in the form itself or the controller. Kind

[symfony-users] Symfony Form Framework: sfForm ArrayAccess

2008-06-23 Thread Marijn
tion of the different fields AND nice small template files. I haven't played around a lot with the new Form Framework so maybe I'm overlooking something.. Marijn --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

[symfony-users] Re: Symfony 1.1 beta 3 and generate-crud

2008-04-18 Thread Marijn
Damn I feel like a w*nker; After upgrading to the latest build, clearing the cache, rebuilding the model, regenerating crud actions the UPDATE problem referred to in the first post remains.. Any thoughts on this? Sorry. Still think symfony is a great framework by the way :-D Marijn On Apr 18

[symfony-users] Re: Symfony 1.1 beta 3 and generate-crud

2008-04-18 Thread Marijn
problem is that you can't remove it at either place.. For now I'll manage by just commenting it out but I am curious how this used to be [loading trac.symfony-project.com in the meanwhile to check older rev. ;-)] What type of follow up should this get? Anyway enjoy your weekend, Marijn On Ap

[symfony-users] Re: Symfony 1.1 beta 3 and generate-crud

2008-04-18 Thread Marijn
about this error. Thanks, Marijn On Apr 17, 10:25 pm, Marijn <[EMAIL PROTECTED]> wrote: > Hi Fabien, > > I don't know how to put this but upgrading symfony via pear to the > latest version with pear upgrade symfony/symfony-beta results in the > following error when ca

[symfony-users] Re: Symfony 1.1 beta 3 and generate-crud

2008-04-17 Thread Marijn
oload/sfCoreAutoload.class.php on line 14 PHP Fatal error: Cannot redeclare class sfCoreAutoload in $path_to_symfony$/symfony/autoload/sfCoreAutoload.class.php on line 28 I am sorry... Where can I have a look in log files that might give me a little more info? Thanks, Marijn On Apr 17, 7:

[symfony-users] Symfony 1.1 beta 3 and generate-crud

2008-04-17 Thread Marijn
D = NULL WHERE organizations.ORGANIZATION_ID IS NULL To me it seems that the second SQL statement is the cause of the problems. Am I correct? What is causing this? Help is very much appreciated and if you would like some of my files I will sent them per email. T

[symfony-users] Re: csrf_token required

2008-04-13 Thread Marijn
which looks like this: which is generated by these lines of PHP in my view: getCSRFFieldName()]->render() ?> Again, if somebody needs more info, I'll be glad to tell you all about it or send you my test-case files per email Thanks, Marijn On Apr 10, 8:07 pm, Marijn <[E

[symfony-users] Re: csrf_token required

2008-04-10 Thread Marijn
code to what it was originally. Clearing the cache doesn't solve anything... Ehm...:S Sorry for all these questions.. Marijn On Apr 10, 6:53 pm, "Thomas Rabaix" <[EMAIL PROTECTED]> wrote: > Marjin, > > I used the sfFrom class before the introduction of the secret in

[symfony-users] Re: csrf_token required

2008-04-10 Thread Marijn
ework, Marijn On Apr 10, 3:28 pm, Fabien POTENCIER <[EMAIL PROTECTED] project.com> wrote: > Do you use the 1.1 beta 2 or /branches/1.1? > > Do you use the code generated by the generate-crud CLI or have you > modified something? > > It will easier to help you out if you c

[symfony-users] Re: csrf_token required

2008-04-10 Thread Marijn
; .settings - cleared the cache a 1000 times - assured that my view renders a hidden csfr_token input field (which only has a name and an ID, not a value) - still get an error message the a csfr token is required Any thoughts? Help is very much appreciated :-) Marijn On Apr 9, 2:07 am, Marijn <[E

[symfony-users] Re: csrf_token required

2008-04-08 Thread Marijn
ated by symfony I still get the csfr required error. Do you have any thoughts on that? Thanks, Marijn On Apr 9, 1:12 am, Dustin Whittle <[EMAIL PROTECTED]> wrote: > Marijn, > > In symfony yaml files #app_my_setting# will be replace with the equivalent > of sfConfig::get(

[symfony-users] Re: How to get the HTTP_ACCEPT header with $this->getRequest()->getHttpHeader('HTTP_ACCEPT')

2008-04-08 Thread Marijn
.org/book/1_1/06-Inside-the-Controller-Layer#Accessing%20the%20Request for more info on this matter. Kind regards, Marijn On Mar 29, 6:46 pm, Marijn <[EMAIL PROTECTED]> wrote: > Hey everybody, > > I'm working on a filter that would serve my content as application/xml > +xhtml

[symfony-users] Re: csrf_token required

2008-04-08 Thread Marijn
the problem isn't solved yet... The code generated by your example is the following: Any thoughts..? Thanks, Marijn > > csrf_secret:  my super token > > Thomas > > On Tue, Apr 8, 2008 at 5:44 PM, Marijn <[EMAIL PROTECTED]> wrote: > > >  Hi Thomas,

[symfony-users] Re: csrf_token required

2008-04-08 Thread Marijn
just use some arbitrary string..? Thanks, Marijn On Apr 8, 5:18 pm, "Thomas Rabaix" <[EMAIL PROTECTED]> wrote: > I am not 100%  sure about that but you sould add a csrf secret in your > settings.yml > > all: >   .settings: >     # Form security secret (

[symfony-users] csrf_token required

2008-04-08 Thread Marijn
I am doing wrong? I haven't changed a thing after generating the crud actions. Thanks, Marijn --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email t

[symfony-users] Re: Call to undefined method sfWebResponse::setParameter.

2008-04-07 Thread Marijn
On Apr 7, 4:26 pm, Fabien POTENCIER <[EMAIL PROTECTED] project.com> wrote: > Marijn wrote: > > Hi everybody, > > > I just started using symfony a month ago so I figured I better move to > > 1.1 now, I really don't feel like learning about stuff that will

[symfony-users] Call to undefined method sfWebResponse::setParameter.

2008-04-07 Thread Marijn
t the parameterholder 'javascripts_included' on the response object. But if I run that filter now it says that the method setParameter is undefined. I figure that would be because the response object isn't built yet..? Are there changes in 1.1. regarding this which I am unaware of

[symfony-users] Re: Environment dependent settings in view.yml

2008-03-30 Thread Marijn
per.js' Cause if that is not possible I'll repost this in sym-dev to ask why this is not implemented and if it might be in the (near) future. Thanks, Marijn > > > > On Sun, Mar 30, 2008 at 9:24 AM, naholyr <[EMAIL PROTECTED]> wrote: > > > How could you need

[symfony-users] Re: Environment dependent settings in view.yml

2008-03-30 Thread Marijn
eed pretty well ;-) So, is this possible or...? Thanks, Marijn > > On 30 mar, 11:28, Marijn <[EMAIL PROTECTED]> wrote: > > > Hi everybody, > > > Is it possible to set configurations depending on the type of > > environment in view.yml like this: > >

[symfony-users] Environment dependent settings in view.yml

2008-03-30 Thread Marijn
I could just set PHP in my YML file which would check the environment but since I have quite a lot of javascript and css files that I keep in two versions that really makes the YML file quite unpleasant to read. Thanks, Marijn --~--~-~--~~~---~--~~ You received this

[symfony-users] How to get the HTTP_ACCEPT header with $this->getRequest()->getHttpHeader('HTTP_ACCEPT')

2008-03-29 Thread Marijn
7;t return anything. Does anybody know what I'm doing wrong here..? Thanks, Marijn --~--~-~--~~~---~--~~ 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@