I don't think to see this command, thank you! It's works!
On 31 mai, 05:46, [BLZ]梁振警 liangzhenj...@gmail.com wrote:
i don't know why it does not generate automatically, but you can
generate it yourself by run this command:
app/console doctrine:generate:proxies -e test
2011/5/31 spike3111
No ideas? Someone writing tests and have proxies generated in cache?
On 29 mai, 15:35, spike3111 gilles.gauthie...@gmail.com wrote:
Hello,
I try to know how to generate proxies in test mode ? In dev and prod,
proxies are generated in the cache folder.
In config.yml I have this option
Look at this link
http://www.doctrine-project.org/docs/orm/2.0/en/reference/association-mapping.html
Bonne continuation
--
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
Hello,
I try to use access_denied_url, normally would call my Route, my
controller and my view, but displays only the basic error page.
#security.yml
firewalls:
main:
pattern: .*
anonymous: true
access_denied_url: /hoho/error403
#routing.yml
hoho:
In your code you use @validation, but now it's @assert
Example from http://symfony.com/doc/2.0/book/validation.html
// Acme/BlogBundle/Author.php
class Author
{
/**
* @assert:Choice({male, female})
*/
protected $gender;
}
On 12 avr, 12:45, kassel alvaro.tou...@gmail.com wrote:
Hello,
I have a form to send pictures, but when I want to display picture it
doesn't work:
class PhotosForm extends Form
{
public function configure()
{
$this-setDataClass('Nt\\SocialBundle\\Entity\\Photos');
$this-add('nom');
Hello,
I wondered why it was not possible to update a file. dcm.yml example,
in which we modify the schema for any reason, and we can not use the
command update for the entity that has existed with Doctrine2?
$ php doctrine orm:generate-entities --update-entities
$ php doctrine
Ok Tim, your solution works, the documentation said to use getService.
I looked again the documentation on the site of symfony, and it just
changed in my opinion, and now the code is just $em =
$this['doctrine.orm.entity_manager'];
So what to choose? If the documentation has been updated, so I
I try to set up a simple custom repository, looking at the
documentation doctrine2. I first tried the command
doctrine:generate:repositories, which does not make mistakes, but that
does not work either. So I created a class Entity
CustomCategorieRepository
?php
namespace
=Application\HelloBundle\Entity\CategorieRepository
And control doctrine: generate: repositories works well!
it can be used to other ...
On 18 sep, 18:28, Richard D Shank deve...@zestic.com wrote:
Try capitalizing @entity (@Entity)
On 09/18/2010 08:41 AM, spike3111 wrote:
I try to set up a simple
You have to look in the cache, the methods generated there. Surely
this is getDoctrine_Dbal_DefaultConnectionService() you need.
On 18 sep, 19:37, Dennis Jacobfeuerborn djacobfeuerb...@gmail.com
wrote:
Hi,
I'm playing around in the sandbox to get a feel for Symfony2 (I
already have Symfony1
://docs.symfony-reloaded.org/guides/doctrine/dbal/overview.html
That doesn't mention getDoctrine_Dbal_DefaultConnectionService()
anywhere.
On Sep 18, 7:57 pm, spike3111 gilles.gauthie...@gmail.com wrote:
You have to look in the cache, the methods generated there. Surely
If I created a new instance of the new Symfony Bundle \ Bundle \
DoctrineMongoDBBundle \ DoctrineMongoDBBundle (), and I start the
console hello php / console, an error message
C: \ Users \ Me \ Documents \ devweb \ sandsf2 hello php / console
PHP Fatal error: Class 'Doctrine \ ODM \ MongoDB \
Yes I have the latest version of the symfony sandbox, PR3, and it does
not work.
On 17 sep, 11:10, Henrik Bjornskov jegerhen...@gmail.com wrote:
have you installed Doctrine ODM MongoDB ?
On Sep 17, 9:56 am, spike3111 gilles.gauthie...@gmail.com wrote:
If I created a new instance of the new
\Mongo.php on line 46
On 17 sep, 12:21, spike3111 gilles.gauthie...@gmail.com wrote:
Yes I have the latest version of the symfony sandbox, PR3, and it does
not work.
On 17 sep, 11:10, Henrik Bjornskov jegerhen...@gmail.com wrote:
have you installed Doctrine ODM MongoDB ?
On Sep 17, 9:56 am
my iPhone4
On Sep 17, 2010, at 9:13 PM, spike3111 gilles.gauthie...@gmail.com wrote:
I have idea to look for into the cache. I found a method :
getDoctrine_Odm_Mongodb_DocumentManagerService() ! Great !
Now i have a new problem when i try to test:
config.yml:
doctrine_odm.mongodb
Hello,
I test the sandbox PR3, and I wanted to test the command
doctrine:mapping:import with a simple database with three tables
(categories, articles, members). I have the following exception:
[ErrorException]
Runtime Notice: Only variables should be passed by reference in C:
Sensio CEO - symfony lead developer
sensiolabs.com | symfony-project.org | fabien.potencier.org
Tél: +33 1 40 99 80 80
On 9/14/10 11:01 AM, spike3111 wrote:
Hello,
I test the sandbox PR3, and I wanted to test the command
doctrine:mapping:import with a simple database with three tables
don't burden the group with this)
Cheers, Daniel
On 18.08.2010, at 16:39, spike3111 wrote:
Hello,
I use the plugi ahDoctrineEasyEmbeddedRelationsPlugin to embed forms.
My schema is basic, I have a pet that may have a type of crying, a
type of displacement, a place to live and belong
',
'path' = $this-getObject()-getCanardDirPath(),
'required' = false
)));
On 19 août, 09:28, spike3111 gilles.gauthie...@gmail.com wrote:
Daniel,
Thank for you help, I send you the email.
And here my form:
$this-setWidget('intitule', new
Hello,
I use the plugi ahDoctrineEasyEmbeddedRelationsPlugin to embed forms.
My schema is basic, I have a pet that may have a type of crying, a
type of displacement, a place to live and belong to a group. So a four
relationships one to many.
I wanted my embed forms of animals in the middle of
21 matches
Mail list logo