I configured my project web to subdir upload, and installed zf2(version > 2.5) and it’s under the folder: vendor and vendor is under upload folder which has an index file in it’s public folder with composer.phar:
https://github.com/nginadofficial/nginad/blob/master/upload/composer.phar
After I installed the newer zf (2.*), it’s not able to find path and class from website, only first page is shownhere is the error:
Fatal error: Uncaught Zend\ModuleManager\Exception\RuntimeException: Module
(DashboardManager) could not be initialized.
in /home/nginad/upload/vendor/zendframework/zend-modulemanager/src/ModuleManager.php:203
Stack trace:
#0 /home/nginad/upload/vendor/zendframework/zend-modulemanager/src/ModuleManager.php(175):
Zend\ModuleManager\ModuleManager->loadModuleByName(Object(Zend\ModuleManager\ModuleEvent))
#1 /home/nginad/upload/vendor/zendframework/zend-modulemanager/src/ModuleManager.php(97):
Zend\ModuleManager\ModuleManager->loadModule('DashboardManage...')
#2 [internal function]:
Zend\ModuleManager\ModuleManager->onLoadModules(Object(Zend\ModuleManager\ModuleEvent))
#3 /home/nginad/upload/vendor/zendframework/zend-eventmanager/src/EventManager.php(490):
call_user_func(Array, Object(Zend\ModuleManager\ModuleEvent))
#4 /home/nginad/upload/vendor/zendframework/zend-eventmanager/src/EventManager.php(248):
Zend\EventManager\EventManager->triggerListeners('loadModules', Object(Zend\ModuleManager\ModuleEvent))
#5 /home/nginad/upl in /home/nginad/upload/vendor/zendframework/zend-modulemanager/src/ModuleManager.php on line 203
How to initialize https://github.com/nginadofficial/nginad/tree/master/upload/module/DashboardManager with newer zendframework?
What might be wrong, any hint? any fix will be appreciated.
Much appreciated any help, any hint!
Thanks,
Rob