*Not supported*ZfTable 3.1. Awesome ZF2 table / grid (and much much more) generator with huge possibilities of decorating and conditioning. Integrated with DataTables, Doctrine 2, Bootstrap 2.0 and 3.0.
settings for doctrine in global.php are correct (because project works with it).
sql dump was imported (I see tables customer and product )
In ajaxDoctrineAction all is good while "$em = $this->getEntityManager();", after it error comes.
Maybe, "$this->getServiceLocator()->get('doctrine.entitymanager.zftable_default');" fails.
So, what wrong with it?
Which zfTable version did you use? I use version 3.1 and in Line 62$this->em = $this->getServiceLocator()->get('doctrine.entitymanager.orm_default');
used he the orm_default.
Dear @dudapiotr, I try examples, but they doesn't work. For example, Doctrine: Ajax response from /table/ajax-doctrine 500 Internal Server Error
settings for doctrine in global.php are correct (because project works with it). sql dump was imported (I see tables customer and product )
In ajaxDoctrineAction all is good while "$em = $this->getEntityManager();", after it error comes. Maybe, "$this->getServiceLocator()->get('doctrine.entitymanager.zftable_default');" fails. So, what wrong with it?