我已經嘗試了很多通過谷歌搜索,但我還沒有找到合適的解決方案。誰能幫我嗎?即使我試圖通過路由來更改module.config
文件代碼以及我已嘗試使用application.config
文件在文件中添加模塊名稱,但它不起作用。如何在zend 2.3中運行管理模塊?
Fatal error: Uncaught exception 'Zend\Mvc\Router\Exception\InvalidArgumentException' with message 'Missing "type" option' in D:\xampp\htdocs\myproject\vendor\zendframework\zendframework\library\Zend\Mvc\Router\SimpleRouteStack.php:269 Stack trace: #0 D:\xampp\htdocs\myproject\vendor\zendframework\zendframework\library\Zend\Mvc\Router\Http\TreeRouteStack.php(163): Zend\Mvc\Router\SimpleRouteStack->routeFromArray(Array) #1 D:\xampp\htdocs\myproject\vendor\zendframework\zendframework\library\Zend\Mvc\Router\Http\TreeRouteStack.php(113): Zend\Mvc\Router\Http\TreeRouteStack->routeFromArray(Array) #2 D:\xampp\htdocs\myproject\vendor\zendframework\zendframework\library\Zend\Mvc\Router\SimpleRouteStack.php(140): Zend\Mvc\Router\Http\TreeRouteStack->addRoute('controllers', Array) #3 D:\xampp\htdocs\myproject\vendor\zendframework\zendframework\library\Zend\Mvc\Router\SimpleRouteStack.php(84): Zend\Mvc\Router\SimpleRouteStack->addRoutes(Array) #4 D:\xampp\htdocs\myproject\vendor\zendframework\zendframework\library\Zend\Mvc\Router\Ht in D:\xampp\htdocs\myproject\vendor\zendframework\zendframework\library\Zend\ServiceManager\ServiceManager.php on line 909
你有什麼錯誤嗎?如果不是,你可以激活錯誤,讓我們知道錯誤說什麼? – peterpeterson 2014-10-07 09:33:21
嗨Sudo.ie我添加了錯誤,請看看它。 – 2014-10-07 10:43:54
它看起來像路由問題,請粘貼路由也使用代碼格式。 – peterpeterson 2014-10-07 11:03:09