I don't think to see this command, thank you! It's works!
On 31 mai, 05:46, [BLZ]梁振警 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 t
No ideas? Someone writing tests and have proxies generated in cache?
On 29 mai, 15:35, spike3111 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 for do
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 for doctrine:
doctrine:
orm:
auto_generate_proxy_classes: true
auto_mapping: true
But nothing happens with Test mode...
Tha
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 Googl
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 wrote:
> Hi, as i undertood
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');
$thi
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 orm:generate-entit
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 wil
e();
$users = $statement->fetchAll();
On 18 sep, 20:10, Dennis Jacobfeuerborn
wrote:
> I'm not sure I understand what you are trying to say. I basically try
> to get this example
> going:http://docs.symfony-reloaded.org/guides/doctrine/dbal/over
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
wrote:
> Hi,
> I'm playing around in the sandbox to get a feel for Symfony2 (I
> already have Symfony1 experience). After tryin
to other ...
On 18 sep, 18:28, Richard D Shank wrote:
> Try capitalizing @entity (@Entity)
>
> On 09/18/2010 08:41 AM, spike3111 wrote:
>
> > I try to set up a simple custom repository, looking at the
> > documentation doctrine2. I first tried the command
> > doctrin
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
_em->createQuery('SELECT u FROM Applicati
m my iPhone4
>
> On Sep 17, 2010, at 9:13 PM, spike3111 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
doctrine-mongodb\lib\Doctrine\ODM\MongoDB
\Mongo.php on line 46
On 17 sep, 12:21, spike3111 wrote:
> Yes I have the latest version of the symfony sandbox, PR3, and it does
> not work.
>
> On 17 sep, 11:10, Henrik Bjornskov wrote:
>
> > have you installed Doctrine ODM Mong
Yes I have the latest version of the symfony sandbox, PR3, and it does
not work.
On 17 sep, 11:10, Henrik Bjornskov wrote:
> have you installed Doctrine ODM MongoDB ?
>
> On Sep 17, 9:56 am, spike3111 wrote:
>
> > If I created a new instance of the new Symfo
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 \ To
ncier
> 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:ma
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:
\Users\moi\Docum
; => 'Supprimer',
'template' => '%file%%input%%delete%
%delete_label%',
)));
$this->validatorSchema['photo_delete'] = new sfValidatorPass();
$this->setValidator('photo', new sfValidatorFile(array(
must be going wrong.
>
> > Can you post the content's of your CanardCategorie form's configure()
> > method please? And a couple of screenshots showing the admin interface (so
> > I can see the embedded forms and what they contain) and the "SQL queries"
&g
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 lif
22 matches
Mail list logo