数据库不更新doctrine2

时间:2016-12-22 15:30:22

标签: php symfony orm doctrine-orm

为什么我无法更新服务器中的数据库? 此提交在本地服务器中工作。 求助,我还不知道在哪里看

icc-> php app/console doctrine:schema:update
PHP Warning:  Uncaught exception 'Symfony\Component\Debug\Exception\ContextErrorException' with message 'Warning: require_once(/home/icc/web/icc.kdpu.edu.ua/public_html): failed to open stream: No such file or directory' in /home/icc/web/icc.kdpu.edu.ua/public_html/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/AnnotationDriver.php:236
Stack trace:
#0 /home/icc/web/icc.kdpu.edu.ua/public_html/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/AnnotationDriver.php(236): Symfony\Component\Debug\ErrorHandler->handleError(2, 'require_once(/h...', '/home/icc/web/i...', 236, Array)
#1 /home/icc/web/icc.kdpu.edu.ua/public_html/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/AnnotationDriver.php(236): Doctrine\Common\Persistence\Mapping\Driver\AnnotationDriver::getAllClassNames()
#2 /home/icc/web/icc.kdpu.edu.ua/public_html/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/MappingDriverChain.php(128): Doctrine\Common\Persistence\Mapping\Driver\Anno in /home/icc/web/icc.kdpu.edu.ua/public_html/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/AnnotationDriver.php on line 236
PHP Fatal error:  Doctrine\Common\Persistence\Mapping\Driver\AnnotationDriver::getAllClassNames(): Failed opening required '' (include_path='.:/usr/share/pear:/usr/share/php') in /home/icc/web/icc.kdpu.edu.ua/public_html/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/AnnotationDriver.php on line 236


  [Symfony\Component\Debug\Exception\FatalErrorException]
  Compile Error: Doctrine\Common\Persistence\Mapping\Driver\AnnotationDriver:
  :getAllClassNames(): Failed opening required '' (include_path='.:/usr/share
  /pear:/usr/share/php')

0 个答案:

没有答案