{"id":1608,"date":"2022-08-30T15:17:57","date_gmt":"2022-08-30T15:17:57","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/27\/zend-framework-2-doctrine-2-installation-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:17:57","modified_gmt":"2022-08-30T15:17:57","slug":"zend-framework-2-doctrine-2-installation-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/zend-framework-2-doctrine-2-installation-collection-of-common-programming-errors\/","title":{"rendered":"zend framework 2 + doctrine 2 installation-Collection of common programming errors"},"content":{"rendered":"<p>Zend Framework 2 + Doctrine 2<\/p>\n<p>Refering to this question, I have a simple question about the installation process.<\/p>\n<p>Since I&#8217;m using Zend Server CE on a Windows 8 machine, and I don&#8217;t have a GitHub account, I had to manually download DoctrineModule and DoctrineORM Module to the vendor folder. My question is, do I also need to download Doctrine library and cd it to the vendor folder?<\/p>\n<p>*EDIT<\/p>\n<p>I installed through GIT, I get this error in my php_error.log<\/p>\n<pre><code>[13-May-2012 01:37:22] PHP Fatal error:  Uncaught exception 'ReflectionException' with message 'Class Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver does not exist' in C:\\Zend\\Apache2\\htdocs\\zf2\\vendor\\DoctrineORMModule\\Module.php:71\nStack trace:\n#0 C:\\Zend\\Apache2\\htdocs\\zf2\\vendor\\DoctrineORMModule\\Module.php(71): ReflectionClass-&gt;__construct('Doctrine\\ORM\\Ma...')\n#1 [internal function]: DoctrineORMModule\\Module-&gt;registerAnnotations(Object(Zend\\Module\\ModuleEvent))\n#2 C:\\Zend\\Apache2\\htdocs\\zf2\\vendor\\ZendFramework\\library\\Zend\\EventManager\\EventManager.php(463): call_user_func(Array, Object(Zend\\Module\\ModuleEvent))\n#3 C:\\Zend\\Apache2\\htdocs\\zf2\\vendor\\ZendFramework\\library\\Zend\\EventManager\\EventManager.php(205): Zend\\EventManager\\EventManager-&gt;triggerListeners('loadModules.pos...', Object(Zend\\Module\\ModuleEvent), NULL)\n#4 C:\\Zend\\Apache2\\htdocs\\zf2\\vendor\\ZendFramework\\library\\Zend\\Module\\Manager.php(87): Zend\\EventManager\\EventManager-&gt;trigger('loadModules.pos...', Object(Zend\\Module\\Manager), Object(Zend\\Module\\ModuleEvent))\n#5 C:\\Zend\\Apache2 in C:\\Zend\\Apache2\\htdocs\\zf2\\vendor\\DoctrineORMModule\\Module.php on line 71\n<\/code><\/pre>\n<p>Here&#8217;s Module.php<\/p>\n<p id=\"rop\"><small>Originally posted 2013-11-27 12:01:36. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>Zend Framework 2 + Doctrine 2 Refering to this question, I have a simple question about the installation process. Since I&#8217;m using Zend Server CE on a Windows 8 machine, and I don&#8217;t have a GitHub account, I had to manually download DoctrineModule and DoctrineORM Module to the vendor folder. My question is, do I [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,8],"tags":[],"class_list":["post-1608","post","type-post","status-publish","format-standard","hentry","category-uncategorized","category-zend-framework"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1608","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=1608"}],"version-history":[{"count":1,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1608\/revisions"}],"predecessor-version":[{"id":8881,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1608\/revisions\/8881"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1608"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1608"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1608"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}