On giovedì 28 aprile 2011 at 01.27, JP wrote:
Hi everyone,
>
> I'm facing some issues after insert a "Patient" with a form generated with
> php symfony doctrine:generate-admin backend Patient --module=patient task.
> The form is inserting the data into a mysql DB correctly, but after the
> inse
Hi,
thanks for the info. I should read the blog more often.
Sebastian
--
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 g
Il giorno mercoledì 27 aprile 2011 02:13:12 UTC+2, David ha scritto:
>
> Yes, I built the model before loading. I was also able to replicate
> the errors in the doctrine sandbox. It looks like the real problem is
> that the doctrine data dump is not correctly adding quotes to the
> string fi
Il giorno mercoledì 27 aprile 2011 21:07:58 UTC+2, Ville Mattila ha scritto:
>
> Hi Francesco,
>
> First of all, I forgot to mention that this all is about Symfony 2.
>
Ouch ! so my links were not very useful :D
Unfortunately I'm not so confident with symfony2 form objects to give you a
fast r
hello,
in PR12 the form is not merged; you still have the previous form framework
you must update your core (vendors ) if you want to use "form.factory"
the beta version is not disponible yet, it will appeard next week ( as whrot
in symfony blog
http://symfony.com/blog/a-week-of-symfony-225-1
hello,
in PR12 the form is not merged; you still have the previous form framework
you must update your core (vendors ) if you want to use "form.factory"
the beta version is not disponible yet, it will appeard next week ( as whrot
in symfony blog
http://symfony.com/blog/a-week-of-symfony-225-18-2
Also, does anyone know how to tell if the logged in user is being
"impersonated"? I, of course, would like to have a link up top to
switch back to the original user when we're impersonating one.
On Apr 27, 3:20 pm, Roger Webb wrote:
> Greetings,
>
> I've set up a system using SF2 Security and U
Greetings,
I've set up a system using SF2 Security and User Impersonation.
Relevant lines from config.yml
firewalls:
user:
switch_user { role: ROLE_USER_ADMIN }
Switching to a user with "http://www.mydomain.com/blah?
_switch_user=username" works fine, but I am unable to switch back
Hi,
I'm trying to add a simple form following the Forms-Tutorial:
http://symfony.com/doc/2.0/book/forms.html
Symfony is telling me "The service "form.factory" does not exist." when I do
$form = $this->get('form.factory');
I searched the internet but didn't find anything and I had a look at the
Hi Francesco,
First of all, I forgot to mention that this all is about Symfony 2.
I've set up a quick test snippet to gist: https://gist.github.com/944930 .
Controller, form and data object are all there in one file. Template is
something I didn't include because it's only {{ contents }} and {{
On Tue, Apr 26, 2011 at 4:00 PM, Vincent Lechemin
wrote:
> 'data' => array('value1' => true, 'value2' => true)
After checking ArrayToBooleanChoicesTransformer, the right way to do it was:
'data' => array('value1', 'value2')
--
Vincent
--
If you want to report a vulnerability issue on symfony,
"@" seems to be a kludge :)
2011/4/27 Louardi Abdeltif
> I corrected the problem, I modified line 136 (file : *
> SITE_PATH/vendor/symfony/src/Symfony/Component/Security/Core/Authentication/Token/AbstractToken.php
> *)
>
> BEFORE:
> return serialize(array($this->user, $this->authenticated, $thi
Are you using PR12 of Symfony2?
There I got the same error and made an update of Symfony to the
current version from GitHub.
That fixed it.
--
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 subs
Hello,
I'd like to use 'ROLE_ALLOWED_TO_SWITCH' for someone else than the super admin.
But once a user has this role, he can switch to any role, even the super admin.
Even with the following configuration:
security:
access_decision_manager:
strategy: unanimous
Is there a way to limit t
I corrected the problem, I modified line 136 (file :
SITE_PATH/vendor/symfony/src/Symfony/Component/Security/Core/Authentication/Token/AbstractToken.php)
BEFORE:
return serialize(array($this->user, $this->authenticated, $this->roles,
$this->attributes));
AFTER:
return @serialize(array($this->
hi
i resolved the problem i forgot this lines [?][?]
$this->getResponse()->sendHttpHeaders();
$this->getResponse()->setContent(readfile($path));
thanks ftassi for your reply
2011/4/27 Hamza Tlili
> thanks for your reply
> i changed the upload _dir as you said i followed the example but the siz
thanks for your reply
i changed the upload _dir as you said i followed the example but the size of
the file always 0 octet
thanks
2011/4/26 ftassi
> In order to avoid unwanted downloads you have to put your file outside
> your web dir (maybe you can store files in data/). This will prevent dire
I have a notice with this new beta. when i use the prod environement i haven't
this notice.
Notice: serialize() [function.serialize]: "id" returned as member variable
from __sleep() but does not exist in
SITE_PATH/vendor/symfony/src/Symfony/Component/Security/Core/Authentication/Token/Abstrac
I just spent the day trying to figure out how can I get the value of a
configuration item from within my symfony task.
My configure function already adds the application and env options.
Doing a var_dump on $this->configuration confirms that I have an
sfApplicationConfiguration object. But how do
Hi all
I created a small library to integrate a bit Symfony2 in the Emacs
editor, I suppose not many of you use emacs, but if someone helps you
i put a link.
I have no intention to improve a lot, and I do not know very well
elisp and I created for my emacs a little better and make it even more
pr
Hello all,
I want use EntityChoiceField in my form with this new change (i use the last
update)
thanks.
--
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 "symf
Hi everyone!
We've started a Symfony2 project, which was based on PR9. Now we wanted to
update to the current PR12 (or the Beta release next week). I was just
wondering if is there any easy way to to that without starting a new project
and copy all the files we added/modified.
We use an SVN repo,
Hi,
You can use this personal style sheet on symfony book pages (example :
with firefox and webdev toolbar) and print these in pdf format.
body{
font-size: 1.1em;
}
.sensiolabs_network_bar, .header, .main_menu, .column_01,
.box_relative_content, .footer,
box_title{
display:none;
Hello Community,
When considering writting large apps with sf2, with a back and a
front, some questions are occuring, about how to structure things.
Say we have one large website with a front-end for end-users and a
back-end to feed the front-end, control objects, etc.
The two "apps" will use sa
Will the most used plugins in sf1.4 be ported to Sf2 ?
I use three plugins on my 1.4 project :
- sfDoctrineGuardPlugin
- sfDoctrineActAsTaggablePlugin
- sfFormExtraPlugin
sfDoctrineActAsTaggablePlugin adds a javascript widget for inputing
tags, I think I will be able to recreate it in Sf2. What a
Hence my question !
So I understand that it's not possible to do what I want ?
--
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
Ok, I guess I just didn't dig deep enough, and now I feel silly. There are
two security parameters that can be set under your firewall definition:
access_denied_handler
access_denied_url
The solution was so simple that it was incredibly easy for me to miss. :)
http://symfony.com/doc/2.0/book/se
I looked into the code and I found:
$builder->addEventListener(Events::onBindClientData,
function (FilterDataEvent $event) { ... });
Maybe it could help someone :)
--
Vincent
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.
Hmm, good point... lol
It doesn't look like the exception is uncaught but it's super late and I may
be missing something obvious. Either way, I'll give that a try. :)
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this
And also, how can I replace the previous preprocessData?
--
Vincent
--
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 gro
Hi,
I might be mistking, but isn't the 500 occuring because of the uncaught
exception? In that case, you would simply need to catch the exception and
than make sure the 403 error page is shown.
On the other hand, there should be a way to decide which page is shown when
the user doesn't have ac
Hello,
Is there a way to clear the cache of certain (not all) I18N
translation files? I have some dynamic I18N files which are updated by
the application as required and afterwards the changes are not
visible.
Regards,
Rytis
--
If you want to report a vulnerability issue on symfony, please send
I have a multilanguage Gallery with the following schema (propel, using
sfPropel15Plugin)
[code]
# Galleries
pi_gallery:
_attributes:
phpName: Gallery
isI18N: true
i18nTable: pi_gallery_i18n
_propel_behaviors:
sortable: ~
id: ~
article_id:
type: int
On 4/27/11 9:54 AM, winzou wrote:
Unfortunatly there isn't the "requirements" parameter of the route in
the request attributes. That's why I'm only fetching the name of the
route from the request attributes, and then use it to retrieve the Route
from the RouteCollection, to finaly reach the requ
Hi,
I've been struggling to get the MediaBundle (https://github.com/sonata-
project/MediaBundle) working.
I've went through the installation instructions (raw version of
https://github.com/sonata-project/MediaBundle/blob/master/Resources/doc/reference/installation.rst)
and also added "db_driver: o
Hello,
I'm currently working with the security component and I'm trying to find a
way to render a specialized error message when a user doesn't have access to
a certain part of my site. Right now, an AccessDeniedException triggers an
internal server error.
While this makes sense from a program
Unfortunatly there isn't the "requirements" parameter of the route in the
request attributes. That's why I'm only fetching the name of the route from
the request attributes, and then use it to retrieve the Route from the
RouteCollection, to finaly reach the requirements
via $route->getRequireme
37 matches
Mail list logo