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
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 fo
t; field_name: _token
>
> Emanuel Winblad
>
>
>
> 2011/6/14 Christophe Beyer
> Is it possible to disable the CRSF protection for one form ?
> What is the syntax of this option in the form config ?
>
> Thanks !
>
>
> --
> Christophe
&
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
Hello,
Can someone help me ?
Should I develop my own Twig function, or can I hope S2 provide (or will
provide) what I need ?
Thanks a lot,
--
Christophe
Le 8 juin 2011 à 09:09, Christophe Beyer a écrit :
> Hi,
>
> Is it possible to use the form_row block instead of this 3 li
Hi,
Is it possible to use the form_row block instead of this 3 lines, with the good
parameters ? :
{{ form_label(form.nom, 'MyName') }}
{{ form_errors(form.nom) }}
{{ form_widget(form.nom, { 'attr': {'class': 'red'}, 'help': 'MyHelp' }) }}
I tried this :
{{ form_row(form.nom, { 'label':'MyName
Right, I had a tab at this line. Thanks !
Ok for the DQL functions, I don't want to upgrade my PR6, so I'll wait the
first RC :)
--
Christophe Beyer
cbe...@cap-tic.fr
Le 8 avr. 2011 à 18:21, Christophe COEVOET a écrit :
> Le 08/04/2011 18:03, Christophe Beyer a écrit :
>
Exception' with
message 'Unable to parse line 28 ( mappings:).' i
How can I solve this (without upgrading) ?
Thanks !
Le 5 avr. 2011 à 17:23, Christophe COEVOET a écrit :
> Le 05/04/2011 15:03, Christophe Beyer a écrit :
>> I want to use the Doctrine f
I want to use the Doctrine function addCustomDatetimeFunction on my
EntityManager.
I tried this :
$config = new \Doctrine\ORM\Configuration();
$config->addCustomDatetimeFunction('MONTH',
'Doctrine\ORM\Query\AST\Functions\Month'); // My custom function
$em = $this->get('doctrine.orm.entity_mana
Hi,
Where can I find documentation, examples or best practices for Creating,
Reading, Updating and Deleting records in a DB with S2 and Doctrine2 : how to
implement routes, controllers, forms, templates... ?
Thanks,
--
Christophe
--
If you want to report a vulnerability issue on symfony, p
meter ? In this case, I want an integer
- assign a default value ?
I know I can make this with plain PHP, with regexp, "is_int" or "is_numeric"...
If I could do this with S2 it would make me happy :)
And is it possible to make such tests/assignments in the routing files ?
OK. Ticket created :
http://trac.symfony-project.org/ticket/9558
--
Christophe Beyer
cbe...@cap-tic.fr
Le 27 févr. 2011 à 22:03, Christophe COEVOET a écrit :
> Le 27/02/2011 21:56, Christophe Beyer a écrit :
>> Ok, thanks !
>>
>> It works fine in the controller, but
Le 27/02/2011 20:58, Christophe COEVOET a écrit :
Le 27/02/2011 20:48, Christophe Beyer a écrit :
Hello,
I want to display a template in two modes : the "normal" mode,
embedded in the main layout, and an ajax mode; without duplicate my
template of course.
1. In my controller, how
Hello,
I want to display a template in two modes : the "normal" mode, embedded
in the main layout, and an ajax mode; without duplicate my template of
course.
1. In my controller, how can I check if the requested url is an ajax
request (without adding any parameter) ?
2. In the Twig file, I
/.../symfony2/sandboxpr6/vendor/symfony/src/Symfony/Component/HttpKernel/Profiler/SQLiteProfilerStorage.php
on line 155
503 Service Unavailable
Who can help me ?
Thanks,
--
Christophe Beyer
Le 11 févr. 2011 à 13:50, stof a écrit :
> On Fri, 11 Feb 2011 13:45:31 +0100, Christo
This works great :
> {% block title %}My title - {{ parent() }}{% endblock %}
Nothing about this tip in the documentation, I could'nt know this.
Thanks !
--
Christophe
Le 11 févr. 2011 à 14:00, stof a écrit :
> On Fri, 11 Feb 2011 13:53:00 +0100, Christophe Beyer
> wro
Thanks, but the result is the same... :(
--
Christophe
Le 11 févr. 2011 à 13:50, stof a écrit :
> On Fri, 11 Feb 2011 13:45:31 +0100, Christophe Beyer
> wrote:
>> No, I didn't modify my config file in this way.
>>
>> What should I add in the config file ?
My main HTML layout looks like that :
{% block title 'Default title - example.com' %}
I want to have only to write this in my controller layout :
{% block title %}My title{% endblock %}
instead
{% block title %}My title - Default title - example.com{% endblock %}
Ton re
No, I didn't modify my config file in this way.
What should I add in the config file ?
I found nothing in the documentation :(
--
Christophe Beyer
cbe...@cap-tic.fr
Le 11 févr. 2011 à 13:32, stof a écrit :
> On Fri, 11 Feb 2011 13:07:49 +0100, Christophe Beyer
> w
Hi,
Since PR6, my zones where I want to display content using ESI tags display
nothing. This was OK in PR5.
-- main layout :
{% render 'MyBundle:Match:cadre' with {}, { 'standalone': true} %}
-- controller :
$response = $this->container->get('response');
$resp
doctrine:mapping:info
> --
> Software Architect & Engineer
> Blog: http://webmozarts.com
> Twitter: http://twitter.com/webmozart
>
>
>
> 2011/2/9 Christophe Beyer :
>> Hum... I got this error :
>>
>> [InvalidArgumentException]
>> Command &quo
Hum... I got this error :
[InvalidArgumentException]
Command "doctrine:schema:info" is not defined.
--
Christophe
Le 9 févr. 2011 à 12:47, Bernhard Schussek a écrit :
> It already tells you the problem. BreveRequest need to be mapped. Try
>
> $ app/console doctrine:
he form with the Breve Entity file instead
the BreveRequest file ?
--
Christophe Beyer
cbe...@cap-tic.fr
Le 9 févr. 2011 à 10:16, Bernhard Schussek a écrit :
> Hi Christophe,
>
> In your configure() method, add the call
>
>$this->setDataClass('Name\Space\B
eate fields"
So, what is wrong ?
My entity has an another name that "Breve", is that the problem for an
automatic mapping ?
Thanks a lot !
--
Christophe Beyer
cbe...@cap-tic.fr
--
If you want to report a vulnerability issue on symfony, please send it to
security at symf
Hello,
How can I desactivate the Twig auto escaping ?
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 you are subscribed to the Google
Groups "symfony users" group.
To po
Hello,
I got this error : Fatal error: Class 'Locale' not found in
/Users/./cache/dev/classes-726ce.php on line 1690
Here is my code :
---
$em = $this->get('doctrine.orm.entity_manager');
$article = new Article();
$form = new Form('article', $article, $this->get('validator'));
$form->add(n
I got this error in my S2 PR5 website :
Warning: SQLite3Stmt::execute() [sqlite3stmt.execute]: Unable to execute
statement: constraint failed in
/Users/me/symfony2/sandboxpr5/src/vendor/symfony/src/Symfony/Component/HttpKernel/Profiler/SQLiteProfilerStorage.php
on line 147
Fatal error: Call to
Hello,
I want to use ESI tag on my S2 (PR5) website, in Twig templates. It seems not
working, and I think the documentation is wrong :
http://docs.symfony-reloaded.org/guides/cache/http.html?highlight=standalone#using-edge-side-includes
{% render '...:list' with [], ['standalone': true] %}
Is
28 matches
Mail list logo