thinkphp-ThinkController:dispay method does not exist!

WBOY
Release: 2016-10-17 09:11:16
Original
2281 people have browsed it

thinkphpphp

Recently, I wrote a program based on the teaching method in the ThinkPHP video tutorial and checked that there are no errors. The program has been shared on Baidu Netdisk, and the sharing address is: http://pan.baidu.com/s/1i5NSxZf. Please download and put it in the Apache root directory, enter http:localhost/thinkphp/admin.php?c=menu&a=index in the browser, and the following message will appear:
ThinkController: The dispay method does not exist (see the figure below for details)! May I ask why? what should I do? thinkphp-ThinkController:dispay method does not exist!
There is a second question:
There are two sentences in the program: use ThinkController;
class IndexController extends Controller {
This means that there is a Controller folder under the Think folder, and there is a Controller class below it, but I am in the file The class file Controller.class.php file cannot be found in the ThinkPHPLibraryThinkController folder. Where is it?

Reply content:

http://www.thinkphp.cn/topic/23030.html

The first problem has been solved. I mistakenly wrote display as dispay. There is a second question left: there are two sentences in the program: use ThinkController;
class IndexController extends Controller {
This shows that there is a Controller folder under the Think folder, and there is a Controller class below it, but I cannot find the class file Controller.class.php file in the folder ThinkPHPLibraryThinkController. Where is it?

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!