zend framework2 - Module (ZfcUser) could not be initialized -


after installing zfcbase , zfcuser in app error message:

'module (zfcuser) not initialized.' in zend/modulemanager/modulemanager.php on line 140 

i installed zfcbase , zfcuser in same way , location , zfcbase loads correctly.

the relevant code in modulemanager.php is:

/**      * load specific module name.      *      * @param    string $modulename      * @throws   exception\runtimeexception      * @triggers loadmodule.resolve      * @triggers loadmodule      * @return   mixed module's module class      */     public function loadmodule($modulename)     {         if (isset($this->loadedmodules[$modulename])) {             return $this->loadedmodules[$modulename];         }          $event = ($this->loadfinished === false) ? clone $this->getevent() : $this->getevent();         $event->setmodulename($modulename);          $this->loadfinished = false;          $result = $this->geteventmanager()->trigger(moduleevent::event_load_module_resolve, $this, $event, function ($r) {             return (is_object($r));         });          $module = $result->last();          if (!is_object($module)) {             throw new exception\runtimeexception(sprintf(                 'module (%s) not initialized.',                 $modulename             ));         } 

how able debug issue?

i suspect installed zfcuser cloning github repo , creating git submodule. i've run issues cloning entire application (to new machine example) without cloning each submodule in separately every time. encountered same error did otherwise.

as others have said, use composer unless have reason not so.


Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

C# WinForm - loading screen -