Hi,
I'm using the beta4, with MAMP on Apple Mac.
I have this error on launching the "doctrine:schema:update" command :
Warning: PDO::__construct(): [2002] No such file or directory (trying to
connect via unix:///var/mysql/mysql.sock) in
/Users/.../beta4/vendor/doctrine-dbal/lib/Doctrine/DB
I think, I had a similar problem.
Try this in the Profile constructor:
public function __construct() {
$this->profileAddress = new
\Doctrine\Common\Collections\ArrayCollection();
}
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.co
By the way: I submitted a patch to allow logout path and logout target
path to be localized as well:
https://github.com/symfony/symfony/pull/1277#issuecomment-1345322
On Jun 10, 2:33 pm, theinterned wrote:
> Ah great! Thanks so much.
>
> This looks like the commit
> here:https://github.com/symf
Hi,
Just wanted to give a response here ,I solved it, it was because of the
fallback option and the fact I didn't understood properly the
internationalization logic. It is working with the below code:
framework:
translator:
enabled:true
fallback: ro
Thanks !
On F
I've fixed my problem,
In the Twig documentation (http://www.twig-project.org/doc/templates.html) i've
found this :
{% autoescape false %} Everything will be outputed as is in this block{%
endautoescape %}
So like Chirstophe said, the output escaping is enabled by default. Adding
{% autoesc
Found myself in the doc :
http://symfony.com/doc/2.0/book/forms.html#csrf-protection
I looked for "CRSF" instead of "CSRF" in the doc :)
--
Christophe
Le 14 juin 2011 à 14:42, Christophe Beyer a écrit :
> Thanks, but what I want is to disable the CRSF protection for only one form,
> not for
On Beta4, I receive for every error that happens a 324
(net::ERR_EMPTY_RESPONSE): Connection Closed Response.. This response stays
the same even when I change url URL until I reload or restart my apache.
This did not happen before (just tried it with beta1 before).. I first
noticed it after upgr
Le 14/06/2011 14:47, Jérémy Simonklein a écrit :
Hi all,
I would want to create 2 different classes "GT" and "FT" from a parent
class "T".
I want GT and FT to have same attributes thant T, but FT and GT should
have two additionnal different attributes.
How can I do it ?
I've searched for "doc
class T {
protected $commonField1;
protected $commonField2;
}
class GT extends T {
protected $otherField1;
protected $otherField2;
}
class FT extends T {
protected $otherField3;
protected $otherField4;
}
This is for plain PHP... If you need to implement that in Doctrine 2 you
j
Hi all,
I would want to create 2 different classes "GT" and "FT" from a parent class
"T".
I want GT and FT to have same attributes thant T, but FT and GT should have
two additionnal different attributes.
How can I do it ?
I've searched for "doctrine inheritance" but nothing about it for Sympho
Thanks, but what I want is to disable the CRSF protection for only one form,
not for all the framework (In 99/100 case I need this important protection)...
--
Christophe
Le 14 juin 2011 à 14:39, Emanuel Winblad a écrit :
> Hi!
>
> Check the configuration reference for the FrameworkBundle
Hi!
Check the configuration reference for the FrameworkBundle:
http://symfony.com/doc/current/reference/configuration/framework.html
I think it's found here:
framework:
/***/
# form configuration
form:
enabled:true
csrf_protection:
enabled:true
fie
Is it possible to disable the CRSF protection for one form ?
What is the syntax of this option in the form config ?
Thanks !
--
Christophe
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because
Hi
The solution to this problem was already created.
Read this:
http://symfony.com/doc/2.0/book/installation.html#configuration-and-setup
There you will see how to setup your permissions to avoid "sudo chmod..."
stuff every time.
--
If you want to report a vulnerability issue on symfony, pl
Hmm it seems I have some very bad luck... it doesnt work for me with the new
directory strucuture of mappings...
these are my errors in detail:
https://groups.google.com/forum/#!topic/symfony-users/W3Gp-RQJIUI
--
If you want to report a vulnerability issue on symfony, please send it to
security
I have just created a clean installation with beta4, added all needed
bundles (in my case, doctrine-mongodb, doctrine-mongodb-odm,
DoctrineMongoDBBundle, FOS UserBundle, StofDoctrineExtensions)
these are the versions:
con@conbuntu:~/www/lab/Symfony_Standard_2.0.0BETA4-run-test/Symfony$ git
subm
My model looks like this:
Order --1m-- Address --1---m-- AddressType
Actually there are 3 different AddressType.
I would like to split the collection of Address in these 3 types in my form.
Actually, I tried it with this code:
$builder->add('send_addresses', 'collection', array(
'type
Hello all,
I've been looking for information on how to extend the plugin
sfGuardUser in the following situation:
I have several users and several groups.
And in each group the user has a different set of permissions.
I thought about creating multiple entries in the table
sf_guard_profile
or crea
18 matches
Mail list logo