Home  >  Article  >  Backend Development  >  为什么提示无法加载控制器?

为什么提示无法加载控制器?

WBOY
WBOYOriginal
2016-07-06 13:53:417321browse

这是控制器的代码和路径

display();
    }
}
?>

为什么提示无法加载控制器?

这是视图模板的路径

为什么提示无法加载控制器?

我是这样访问的

http://localhost/a/qq/index.php/home/first/qq

然后提示这个错误
为什么提示无法加载控制器?

回复内容:

这是控制器的代码和路径

display();
    }
}
?>

为什么提示无法加载控制器?

这是视图模板的路径

为什么提示无法加载控制器?

我是这样访问的

http://localhost/a/qq/index.php/home/first/qq

然后提示这个错误
为什么提示无法加载控制器?

为什么提示无法加载控制器?
注意类名

看你用的应该是TP框架,TP框架的控制器文件名和类名要保持统一。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn