0

When I execute this query I get correct result

    $entity = $em->getRepository('SurgeryPatientBundle:Visits')
                 ->countDoctorVisits(13, '2013-03-01', '2013-05-30');

But If look like this

$entity = $em->getRepository('SurgeryPatientBundle:Visits')->findAll();

I get Error 500, /var/log/mysql.err is empty also /var/log/mysql.log

What and how I should show ? And how fixed this

4

1 回答 1

-1

我有同样的问题,这是教义缓存中的错误。仔细检查您的缓存目录和所有子目录是否具有 755 权限

更具体地说,它无法在 app\cache\dev\doctrine\orm\Proxies 目录中写入其中一个代理文件...手动创建它也有效(要获得文件名,请查看日志文件)

于 2016-04-24T13:58:02.670 回答