Hi Luke,

that is my problem. I recently started with ZF2 and followed this tutorial:

http://www.jasongrimes.org/2012/01/using-doctrine-2-in-zend-framework-2/

 

Even the github at

https://github.com/doctrine/DoctrineORMModule

"only" states:

"The module depends on  <https://github.com/doctrine/orm> Doctrine ORM
2.3.*,  <https://github.com/doctrine/dbal> Doctrine DBAL 2.3.*,
<https://github.com/doctrine/migrations> Doctrine Migrations. You have to
download/install those packages and have them autoloaded."

 

Sorry, but I couldn't find a hint where to put this autoloading. Is there a
specific file in should put it in for global access, should it be added to a
module only config or

by setting an include path inside the virtual host or my index.php and how?

 

Thanks in advance!

 

Von: luk [via Zend Framework Community]
[mailto:[email protected]] 
Gesendet: Mittwoch, 19. September 2012 16:36
An: tridem
Betreff: Re: WG: [ZF2][Doctrine2] Autogeneration of entity classes

 

tridem wrote

A short question: 

Where do I have to set the autoloading for Doctrine since I am getting this 
error: 

Fatal error: Class 'Doctrine\Common\Annotations\AnnotationRegistry' not 
found in. 

Please make sure that your Doctrine lib is properly integrated with Zend
Framework. For me it looks like it isn't. 

Cheers, -- Luke Mierzwa 

 

  _____  

If you reply to this email, your message will be added to the discussion
below:

http://zend-framework-community.634137.n4.nabble.com/WG-ZF2-Doctrine2-Autoge
neration-of-entity-classes-tp4656940p4656941.html 

To unsubscribe from Zend Framework Community, click
<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.j
tp?macro=unsubscribe_by_code&node=634137&code=bGlzdHNAdHJpZGVtYXBwcy5jb218Nj
M0MTM3fC0xNTA0MjEyMTQ5>  here.
 
<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.j
tp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml
.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.v
iew.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aema
il.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Ae
mail.naml> NAML 





--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/WG-ZF2-Doctrine2-Autogeneration-of-entity-classes-tp4656940p4656956.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to