请求的控制器 News 没有定义

详细错误原因:

您请求访问控制器 News 的动作 View
但控制器 News 对应的类 Controller_News 没有定义。

调用参数 :
Array
(
    [controller] => News
    [action] => View
    [newsid] => 2178
)

解决:

请检查是否创建了 Controller_News 类的定义文件:

Controller\News.php

[Copy To Clipboard]


<?php

// Controller\News.php

class Controller_News extends FLEA_Controller_Action
{

    function actionView()
    {

    }
}


Exception: FLEA_Exception_MissingController
Message: 缺少控制器 "News".


Filename: E:\wamp\www\FLEA\FLEA\Dispatcher\Simple.php [77]
#3 FLEA_Dispatcher_Simple::_executeAction('News', 'View', 'Controller_News')

Filename: E:\wamp\www\FLEA\FLEA.php [816]
#2 FLEA_Dispatcher_Simple::dispatching()

Filename: E:\wamp\www\index.php [11]
#1 FLEA::runMVC()