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
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
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
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://
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
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
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
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
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
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
$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
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
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
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
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
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
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
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
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.
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
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 .??
>
> >&
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
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
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
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
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
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
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
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
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
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
>
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
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
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
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
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
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
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
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
/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
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
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
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
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
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
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:
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
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
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
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
; .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
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(
.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
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,
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 (
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
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
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
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
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:
>
>
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
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@
62 matches
Mail list logo