On Sat, Aug 10, 2013 at 10:42 AM, András Csányi <sayusi.a...@sayusi.hu> wrote: > I'm going through the Getting started Zend Framework 2 tutorial and I > got the error message below at this [1] part of the material: > > Zend\ServiceManager\ServiceManager::get was unable to fetch or create > an instance for Zend\Db\Adapter\Adapter
Typically when this happens, one of the following has happened: - If you're using SQLite, the file permissions may be such that the web server cannot read and/or write to the file. Check the permissions of the database file. - If you're using MySQL, PostgreSQL, etc., make sure that your DB settings are correct: is the host correct? Are the credentials correct? Was the correct database specified? etc. Check these, and if you're still having issues, post back to the list. > [1] - > http://framework.zend.com/manual/2.0/en/user-guide/database-and-models.html#using-servicemanager-to-configure-the-table-gateway-and-inject-into-the-albumtable > > I googled around and I found that not I'm the only one who have to > face this issue [2] and [3], etc. But those articles are about > developer version of ZF2, however, I'm using ZF 2.2.2. > > [2] - > http://stackoverflow.com/questions/11355126/how-do-i-get-the-service-manager-in-zend-framework-2-beta4-to-create-an-instance > > [3] - > http://stackoverflow.com/questions/11688260/servicenotfoundexception-in-zendframework-2-example-from-rob-allen > > I have tried every solution described these articles and suggested by > the community without any success. My question is that is there any > solution for this problem? Does anybody has a link which describe a > working solution for this? > > Thanks for any help in advance! > > András > > -- > -- Csanyi Andras (Sayusi Ando) -- http://sayusi.hu -- > http://facebook.com/andras.csanyi > -- ""Trust in God and keep your gunpowder dry!" - Cromwell > > -- > List: fw-general@lists.zend.com > Info: http://framework.zend.com/archives > Unsubscribe: fw-general-unsubscr...@lists.zend.com > > -- Matthew Weier O'Phinney Project Lead | matt...@zend.com Zend Framework | http://framework.zend.com/ PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc -- List: fw-general@lists.zend.com Info: http://framework.zend.com/archives Unsubscribe: fw-general-unsubscr...@lists.zend.com