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
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
Christophe Beyer cbe...@cap-tic.fr
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
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 all
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 lines
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 :
Ok thanks
' 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 function addCustomDatetimeFunction on my
EntityManager
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 =
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 the line {% extends ajax
- 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 ?
Thanks,
--
Christophe Beyer
cbe...@cap-tic.fr
--
If you want
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
/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 can I check if the requested url is an ajax
request (without adding any
/.../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, Christophe Beyer
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');
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 cbe...@cap-tic.fr
wrote
My main HTML layout looks like that :
!DOCTYPE html
html
head
meta http-equiv=Content-Type content=text/html; charset=utf-8 /
title{% block title 'Default title - example.com' %}/title
I want to have only to write this in my controller layout :
{% block title %}My title{%
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 cbe...@cap-tic.fr
wrote:
No, I didn't modify my config file in this way.
What should I add in the config file ?
I found nothing
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 cbe...@cap-tic.fr
wrote
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\BreveRequest');
The namespace needs to be corrected, of course
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
://webmozarts.com
Twitter: http://twitter.com/webmozart
2011/2/9 Christophe Beyer cbe...@cap-tic.fr:
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
, 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 symfony-project.com
You received this message because you are subscribed to the Google
Groups
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
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(new
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
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
26 matches
Mail list logo