Various problems in the initial use of thinkphp: unable to load controller Home, etc.
青蛙叫
青蛙叫 2019-03-31 02:26:10
0
3
1223
  1. Prerequisite question: When accessing the site, an error will be reported if index.php is not added. For example: localhost/thinkphp_3.2.3/index.php will output the welcome interface normally, while localhost/thinkphp_3.2.3 will A 403 error occurred. I wonder if the problem in the picture is related to this one;

  2. I am currently confused about these two problems and hope they can be solved.

    捕获1.JPG


青蛙叫
青蛙叫

reply all(2)
秋香姐家的小书童

Different versions of TP have different configuration methods

青蛙叫

Solved. It turns out that you cannot add modules in the entry file index.php like this: define('BIND_MODULE','Admin')
. Just remove this line directly. It is simply poisonous. I followed the introductory video to write it. However, the url path problem of index.php has not been solved yet.


Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template