Re: [symfony-users] Re: AdminBundle - not able to make it work in PR10

2011-04-11 Thread Thomas Rabaix
The arguments signature has changed. You must add null as first argument. The white page is not normal, if you are in dev mode you should see an error stack On 11 avr. 2011, at 11:34, seven seven wrote: On my side the problem is that I don't receive any error. I am getting an empty admin

Re: [symfony-users] Re: AdminBundle - not able to make it work in PR10

2011-04-11 Thread seven seven
You mean like this : arguments: [null, TockTockFlatPagesBundle:GroupPageEngineAdmin] ? I am in dev mode, ah I was referring that no fields are present, the Admin template is there on the page, like there is no entity attached On Mon, Apr 11, 2011 at 12:51 PM, Thomas Rabaix

Re: [symfony-users] Re: AdminBundle - not able to make it work in PR10

2011-04-11 Thread Thomas Rabaix
The tag name is not valid. And it is how you should declare the arguments : arguments: [null, Tock\TockFlatPagesBundle\Entity\GroupPageEngine, TockTockFlatPagesBundle:GroupPageEngineAdmin] On 11 avr. 2011, at 11:56, seven seven wrote: You mean like this : arguments: [null,

Re: [symfony-users] Re: AdminBundle - not able to make it work in PR10

2011-04-11 Thread seven seven
Thanks ! That push me into a different area. I get an exception : RuntimeException: Please define a default `baseRouteName` value for the admin class `Tock\TockFlatPagesBundle\Admin\GroupPageEngineAdmin and also an error : FileLoaderImportException: Cannot import resource

Re: [symfony-users] Re: AdminBundle - not able to make it work in PR10

2011-04-11 Thread seven seven
Ok I'm stuck :( I didn't figure out why it does not find my entity . It only have my Entity classes manually written including my getters and setters , without running the doctrine:generate:entities command. I am asking if is there absolutely necessary of having XML or YML mapping of my entities

[symfony-users] Re: AdminBundle - not able to make it work in PR10

2011-04-10 Thread Malc
Basically it's working, but I always get some of the following error's: Catchable fatal error: Object of class could not be converted to string in src\web\vendor\symfony\src\Symfony\Component\Form \EntityChoiceField.php on line 243. Can anybody tell me , how to fix that ? Did I forget

Re: [symfony-users] Re: AdminBundle - not able to make it work in PR10

2011-04-10 Thread Christophe COEVOET
Le 10/04/2011 23:49, Malc a écrit : Basically it's working, but I always get some of the following error's: Catchable fatal error: Object of class could not be converted to string in src\web\vendor\symfony\src\Symfony\Component\Form \EntityChoiceField.php on line 243. Can anybody tell me