L
L
Lev Bazdyrev2015-01-18 22:54:48
Zend Framework
Lev Bazdyrev, 2015-01-18 22:54:48

Installing the Users module on Zend Framework?

Since I'm new to Zend'e, I have a number of errors and questions. The first one: installed the Users module ( https://github.com/kaushalkishorejaiswal/Users)the following errors appeared: Fatal error: Uncaught exception 'Zend\ServiceManager\Exception\ServiceNotFoundException' with message 'Zend\ServiceManager\ServiceManager::get was unable to fetch or create an instance for Zend\Db\Adapter\Adapter' in C: \OpenServer\domains\zend.cms\vendor\zendframework\zendframework\library\Zend\ServiceManager\ServiceManager.php:550 Stack trace: #0 C:\OpenServer\domains\zend.cms\vendor\Users\Module.php( 55): Zend\ServiceManager\ServiceManager->get('Zend\Db\Adapter...') #1 [internal function]: Users\{closure}(Object(Zend\ServiceManager\ServiceManager), 'authservice', ' AuthService') #2 C:\OpenServer\domains\zend.cms\vendor\zendframework\zendframework\library\Zend\ServiceManager\ServiceManager.php(923): call_user_func(Object(Closure), Object(Zend\ServiceManager\ServiceManager) ,'authservice', 'AuthService') #3 C:\OpenServer\domains\zend.cms\vendor\zendframework\zendframework\library\Zend\ServiceManager\ServiceManager.php(1057): Zend\ServiceManager\ServiceManager->createServiceViaCallback(Object (Closure), 'authservice', 'AuthService') #4 C:\OpenServer\domains\zend.cms\vendor\zendframework\zendframework\library\Zend\ServiceManager\ServiceManager.php(633): Zend\ServiceManager\ServiceManager- >createFromFactory('authservice', 'AuthService') #5 C:\OpenServer\domains\zend.cms\vendor\zendframework\zendframework\library\Zend\ServiceManager\ServiceManager.php(593): Zend\ServiceManager\ServiceManager-> doCreate('AuthService', 'authservice') #6 C:\OpenServer\domains\zend.cms\vendor\zendframework\zendframework\library\Zend\ServiceManager\ServiceManager.php(525):Zend\ServiceManager\ServiceManager->create(Array) #7 C:\OpenServer\domains\zend.cms\vendor\Users\Module.php(76): Zend\ServiceManager\ServiceManager->get('AuthService') #8 [internal function]: Users\Module->onBootstrap(Object(Zend\Mvc\MvcEvent)) #9 C:\OpenServer\domains\zend.cms\vendor\zendframework\zendframework\library\Zend\EventManager\EventManager.php( 468): call_user_func(Array, Object(Zend\Mvc\MvcEvent)) #10 C:\OpenServer\domains\zend.cms\vendor\zendframework\zendframework\library\Zend\EventManager\EventManager.php(207): Zend\ EventManager\EventManager->triggerListeners('bootstrap', Object(Zend\Mvc\MvcEvent), Array) #11 C:\OpenServer\domains\zend.cms\vendor\zendframework\zendframework\library\Zend\Mvc\Application.php (156): Zend\EventManager\EventManager->trigger('bootstrap',Object(Zend\Mvc\MvcEvent)) #12 C:\OpenServer\domains\zend.cms\vendor\zendframework\zendframework\library\Zend\Mvc\Application.php(260): Zend\Mvc\Application->bootstrap( Array) #13 C:\OpenServer\domains\zend.cms\public\index.php(17): Zend\Mvc\Application::init(Array) #14 {main} thrown in C:\OpenServer\domains\zend .cms\vendor\zendframework\zendframework\library\Zend\ServiceManager\ServiceManager.php on line 550
Help solve this issue!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vyrkmod, 2017-07-18
@vyrkmod

The event must be called . There is an example with a mailer below, to do by analogy. What specific event to call you have already written.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question