[GH-ISSUE #55] ERROR: Your Doctrine set-up is not working. #46

Closed
opened 2026-02-26 09:35:25 +03:00 by kerem · 1 comment
Owner

Originally created by @rotor-head on GitHub (Dec 7, 2013).
Original GitHub issue: https://github.com/opensolutions/ViMbAdmin/issues/55

Saw an old post with this title but no useful help from the poster. Here's the dump from the cli. The application.ini has been updated with all the goodies I need - why Doctrine is complaining is unclear unless I'm missing some env variables (though all the 3rd Party items live in the vimbadmin path.

vimbadmin]# bin/doctrine-cli.php create-tables
PHP Notice: Undefined index: connection_string in /usr/share/vimbadmin-2.2.2/library/ViMbAdmin/Resource/Doctrine.php on line 94

<html>
ERROR: Your Doctrine set-up is not working.

Could not parse dsn
#0 /usr/share/vimbadmin-2.2.2/library/Doctrine/Doctrine/Manager.php(435): Doctrine_Manager->_buildDsnPartsArray(NULL)
#1 /usr/share/vimbadmin-2.2.2/library/Doctrine/Doctrine/Manager.php(305): Doctrine_Manager->parseDsn(NULL)
#2 /usr/share/vimbadmin-2.2.2/library/ViMbAdmin/Resource/Doctrine.php(94): Doctrine_Manager->openConnection(NULL)
#3 /usr/share/vimbadmin-2.2.2/library/ViMbAdmin/Resource/Doctrine.php(55): ViMbAdmin_Resource_Doctrine->getDoctrine()
#4 /usr/share/vimbadmin-2.2.2/library/Zend/Application/Bootstrap/BootstrapAbstract.php(683): ViMbAdmin_Resource_Doctrine->init()
#5 /usr/share/vimbadmin-2.2.2/library/Zend/Application/Bootstrap/BootstrapAbstract.php(629): Zend_Application_Bootstrap_BootstrapAbstract->_executeResource('doctrine')
#6 /usr/share/vimbadmin-2.2.2/library/Zend/Application/Bootstrap/BootstrapAbstract.php(586): Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap('doctrine')
#7 /usr/share/vimbadmin-2.2.2/bin/doctrine-cli.php(66): Zend_Application_Bootstrap_BootstrapAbstract->bootstrap('doctrine')
#8 {main}

</html>

Originally created by @rotor-head on GitHub (Dec 7, 2013). Original GitHub issue: https://github.com/opensolutions/ViMbAdmin/issues/55 Saw an old post with this title but no useful help from the poster. Here's the dump from the cli. The application.ini has been updated with all the goodies I need - why Doctrine is complaining is unclear unless I'm missing some env variables (though all the 3rd Party items live in the vimbadmin path. vimbadmin]# bin/doctrine-cli.php create-tables PHP Notice: Undefined index: connection_string in /usr/share/vimbadmin-2.2.2/library/ViMbAdmin/Resource/Doctrine.php on line 94 <html><body><pre> ERROR: Your Doctrine set-up is not working. Could not parse dsn #0 /usr/share/vimbadmin-2.2.2/library/Doctrine/Doctrine/Manager.php(435): Doctrine_Manager->_buildDsnPartsArray(NULL) #1 /usr/share/vimbadmin-2.2.2/library/Doctrine/Doctrine/Manager.php(305): Doctrine_Manager->parseDsn(NULL) #2 /usr/share/vimbadmin-2.2.2/library/ViMbAdmin/Resource/Doctrine.php(94): Doctrine_Manager->openConnection(NULL) #3 /usr/share/vimbadmin-2.2.2/library/ViMbAdmin/Resource/Doctrine.php(55): ViMbAdmin_Resource_Doctrine->getDoctrine() #4 /usr/share/vimbadmin-2.2.2/library/Zend/Application/Bootstrap/BootstrapAbstract.php(683): ViMbAdmin_Resource_Doctrine->init() #5 /usr/share/vimbadmin-2.2.2/library/Zend/Application/Bootstrap/BootstrapAbstract.php(629): Zend_Application_Bootstrap_BootstrapAbstract->_executeResource('doctrine') #6 /usr/share/vimbadmin-2.2.2/library/Zend/Application/Bootstrap/BootstrapAbstract.php(586): Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap('doctrine') #7 /usr/share/vimbadmin-2.2.2/bin/doctrine-cli.php(66): Zend_Application_Bootstrap_BootstrapAbstract->bootstrap('doctrine') #8 {main}</pre></body></html>
kerem closed this issue 2026-02-26 09:35:25 +03:00
Author
Owner

@barryo commented on GitHub (Feb 15, 2014):

This is really an issue for the discussion mailing list as databases (certainly MySQL) work fine in general.

I'm generally doing a clean up of issues now that ViMbAdmin V3 has been released which
side-steps or fixes past issues or implements requested features,

Feel fee to open new issues relating to version 3 if your issue persists.

<!-- gh-comment-id:35150716 --> @barryo commented on GitHub (Feb 15, 2014): This is really an issue for the discussion mailing list as databases (certainly MySQL) work fine in general. > I'm generally doing a clean up of issues now that ViMbAdmin V3 has been released which > side-steps or fixes past issues or implements requested features, > > Feel fee to open new issues relating to version 3 if your issue persists.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ViMbAdmin-opensolutions#46
No description provided.