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 <thomas.rab...@gmail.com>wrote: > 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 page when accessing /admin/dashboard. I have this defined in > my > > config.yml file: > > > > services: > > tock.tockflatpages.admin.grouppageengine: > > class: Tock\TockFlatPagesBundle\Admin\GroupPageEngineAdmin > > tags: > > - { name: tock.admin, manager_type: orm, group: tock_flatpages, > > label: flatpages } > > arguments: [Tock\TockFlatPagesBundle\Entity\GroupPageEngine, > > TockTockFlatPagesBundle:GroupPageEngineAdmin] > > > > Also I am using gedmo doctrineExtensions for my entity, could that be the > > cause ? > > > > > > On Mon, Apr 11, 2011 at 1:07 AM, Christophe COEVOET <s...@notk.org> > wrote: > > > >> 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 xxxx 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 something to > >>> configure ? Should I convert the objects to strings ? > >>> > >>> thx, > >>> Malc > >>> > >> You have to choice: > >> - say to your EntityChoiceField to use a given property of the entity > >> - implement __toString to make your class castable as string > >> Read the doc about the EntityChoiceField: > >> http://symfony.com/doc/2.0/book/doctrine/orm/form.html > >> > >> -- > >> Christophe | Stof > >> > >> > >> -- > >> 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 post to this group, send email to symfony-users@googlegroups.com > >> To unsubscribe from this group, send email to > >> symfony-users+unsubscr...@googlegroups.com > >> For more options, visit this group at > >> http://groups.google.com/group/symfony-users?hl=en > >> > > > > > > > > -- > > <br> > > Cezar > > > > -- > > 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 post to this group, send email to symfony-users@googlegroups.com > > To unsubscribe from this group, send email to > > symfony-users+unsubscr...@googlegroups.com > > For more options, visit this group at > > http://groups.google.com/group/symfony-users?hl=en > > -- > 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 post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- <br> Cezar -- 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 post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en