I have been told in my website that there are fatal errors and warnings following Z Framework 2 and this is my first time With Frye (as well as Freewak Zendand 2). These are ---
1. Alert: (F: \ xampp \ htdocs \ zf2-tutorial \ module \ album / config / module.config.php): Failed to open the stream: line F on 26: \ xampp \ htdocs \ zf2- tutorial \ modules \ Album No such file or directory such as \ Module.php 2. Warning: include (): failed opening 'F: \ xampp \ htdocs \ zf2- tutorial \ modules \ Album / config / 'for inclusion (include_path =' module.config.php.; F: \ XAMPP \ php \ pear ') in F: \ XAMPP \ htdocs \ zf2- tutorial \ modules \ album \ Module.php on line 26 3. Fatal error: ignored Ism 'Zend' ModuleManager \ Listener \ Exception \ InvalidArgumentException 'message merged with the config should be an array, implement Trawarsbl interface, or an instance of Zend \ Config \ Config. Gave boolean The "F: \ XAMPP \ htdocs \ zf2- tutorial \ vendor \ zendframework \ zendframework \ Library \ Zend \ ModuleManager \ listener \ ConfigListener.php: 317 Stack trace: # 0 F: \ XAMPP \ htdocs \ zf2- Tutorial \ Vendor \ zendframework \ zendframework \ Library \ Zend \ ModuleManager \ Listener \ ConfigListener.php (127): Zend \ ModuleManager \ Listener \ ConfigListener-> AddConfig ('album', incorrect) # 1 [internal function]: Zend \ ModuleManager \ Listener \ ConfigListener -> onLoadModule (Object (Zend \ ModuleManager \ ModuleEvent)) # 2 F: \ XAMPP \ htdocs \ zf2- tutorial \ vendor \ zendframework \ zendframework \ Library \ Zend \ EventManager \ EventManager.php (468): call_user_func (Array, Object (Zend \ ModuleManager \ ModuleEvent)) # 3 F: \ XAMPP \ htdocs \ zf2- tutorial \ vendor \ zendframework \ zendframework \ library \ Zend \ EventManager \ EventManager.php (207): Zend \ EventManager \ EventManager- & gt; In triggerLis F: \ XAMPP \ htdocs \ zf2- tutorial \ vendor \ zendframework \ zendframework \ \ Zend \ ModuleManager \ listener ConfigListener.php library \ line 317 I tried for 4 days I am searching for Soul, the statement in the web, but no one got it ... I have tried many times before, but have not solved any of the problems ........ any help please ..... .................................................. ..
In your module's Module.php file, there is something By way of lines: public event getConfig () {come back include __DIR__ '/config/module.config.php'; } This piece tries to include the file related to the Module.php file if the module class is under the zf-tutorial \ Module \ album, in it File zf-tutorial \ module \ album \ config \ module.config.php is included. The only thing that I am unsure about is the path. Windows uses \ as a separator, but the code has a / . This is a path zf-tutorial \ module \ album / config / module The result in config.php check it) Do you have this file (config / module.config .php) and b) If this is the case, then do it / to \ < / Code> with
No comments:
Post a Comment