Advertisement
Guest User

Untitled

a guest
Jun 14th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 KB | None | 0 0
  1. Fatal error: Uncaught exception 'ZendX_Doctrine2_Exception' with message 'Invalid Doctrine DBAL Connection Options given.' in /var/www/applications/rend/library/ZendX/Doctrine2/Application/Resource/Entitymanagerfactory.php:222 Stack trace: #0 /var/www/applications/rend/library/ZendX/Doctrine2/Application/Resource/Entitymanagerfactory.php(114): ZendX_Doctrine2_EntityManagerFactory->_createEntityManager() #1 /var/www/applications/rend/library/ZendX/Doctrine2/Application/Resource/Entitymanagerfactory.php(40): ZendX_Doctrine2_EntityManagerFactory->createEntityManager() #2 /opt/ZF/library/Zend/Application/Bootstrap/BootstrapAbstract.php(680): ZendX_Doctrine2_Application_Resource_Entitymanagerfactory->init() #3 /opt/ZF/library/Zend/Application/Bootstrap/BootstrapAbstract.php(623): Zend_Application_Bootstrap_BootstrapAbstract->_executeResource('entitymanagerfa...') #4 /opt/ZF/library/Zend/Application/Bootstrap/BootstrapAbstract.php(583): Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap(NULL) #5 /opt/ZF/library/Zend/Appli in /var/www/applications/rend/library/ZendX/Doctrine2/Application/Resource/Entitymanagerfactory.php on line 222
  2.  
  3.  
  4. from application.ini
  5. resources.entitymanagerfactory.db.driver = "pdo_mysql"
  6. resources.entitymanagerfactory.db.user = "mydbuser"
  7. resources.entitymanagerfactory.db.dbname = "mydb"
  8. resources.entitymanagerfactory.db.host = "localhost"
  9. resources.entitymanagerfactory.db.password = "mypass"
  10. resources.entitymanagerfactory.query.cache = "Doctrine\Common\Cache\ApcCache"
  11. resources.entitymanagerfactory.metadata.cache = "Doctrine\Common\Cache\ApcCache"
  12. resources.entitymanagerfactory.metadata.driver = "Doctrine\ORM\Mapping\Driver\AnnotationDriver"
  13. resources.entitymanagerfactory.metadata.proxyDir = APPLICATION_PATH "/../data/proxies"
  14. resources.entitymanagerfactory.metadata.entityDir[] = APPLICATION_PATH "/models/entity"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement