Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error loading Module #3

Closed
Paul75 opened this issue Oct 18, 2015 · 1 comment
Closed

Error loading Module #3

Paul75 opened this issue Oct 18, 2015 · 1 comment

Comments

@Paul75
Copy link

Paul75 commented Oct 18, 2015

Hello,

I download the module and add to my module directory. When I go to my website it mailed and do this :

Fatal error: Uncaught exception 'Zend\ModuleManager\Exception\RuntimeException' with message 'Module (SanAuth) could not be initialized.' in /srv/http/printaplus/hall/vendor/zendframework/zend-modulemanager/src/ModuleManager.php:195 Stack trace: #0 /srv/http/printaplus/hall/vendor/zendframework/zend-modulemanager/src/ModuleManager.php(169): Zend\ModuleManager\ModuleManager->loadModuleByName(Object(Zend\ModuleManager\ModuleEvent)) #1 /srv/http/printaplus/hall/vendor/zendframework/zend-modulemanager/src/ModuleManager.php(96): Zend\ModuleManager\ModuleManager->loadModule('SanAuth') #2 [internal function]: Zend\ModuleManager\ModuleManager->onLoadModules(Object(Zend\ModuleManager\ModuleEvent)) #3 /srv/http/printaplus/hall/vendor/zendframework/zend-eventmanager/src/EventManager.php(444): call_user_func(Array, Object(Zend\ModuleManager\ModuleEvent)) #4 /srv/http/printaplus/hall/vendor/zendframework/zend-eventmanager/src/EventManager.php(205): Zend\EventManager\EventManager->triggerListeners('loadModules', Object(Zend\ModuleManag in /srv/http/printaplus/hall/vendor/zendframework/zend-modulemanager/src/ModuleManager.php on line 195

Thanks for help

@samsonasik
Copy link
Owner

you need to copy the module to module/ directory, setup Db adapter with 'Zend\Db\Adapter\Adapter' key ( read the docs; http://zf2.readthedocs.org/en/latest/user-guide/database-and-models.html ), create user table https://github.com/samsonasik/SanAuth/blob/master/Module.php#L57, and follow the readme https://github.com/samsonasik/SanAuth/blob/master/README.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants