Controllers does not exist "PHPCMS controller does not exist workaround

Source: Internet
Author: User

There is no workaround for the controller.

How to Troubleshoot:

1. Check Links

2. Check if the file name is consistent with the link in the module

3. Check if the naming of the class in the file matches the file name

4. Check if the name of the action in the class is consistent with the link

Basically follow the above method can certainly troubleshoot errors.

First, analysis of the reasons

"Controller does not exist." In the literal sense that the controller does not exist, V9 seems to be a typical MVC model, find out where the source code in the wrong ... After I find this error is in the file phpcms/libs/classes/application.class.php under the function Load_controller () load controller , the controller is not loaded And the error that occurred. application.class.php This file is the PHPCMS application creation class Each step starts initializing to find its controller. It is TA's fault that I can't find it.

Second, why this error occurs

Some users say that Controller does not exist appears as member management. ;

Some users also say that the login background appears action does not exist.;


See "Index.php?m=doctor&c=doctor&siteid=1"

See m=*** and c=$$$, * * * is required to load the module, $$$ is the controller, need to load the file of this controller

The corresponding phpcms/modules$$$.php file

If this file does not exist, then the controller does not exist this error will appear.

You can find your own mistakes this time.,m=doctor& C=index Find out if the phpcms/modules/doctor/index.php file exists



Third, the solution:

The configuration file under caches\configs\system.php should be configured first.

Put the files in the original installation package and fix it.
Send on Phpcms replace default home www.php.cn/php-weizijiaocheng-352651.html

Controllers does not exist "PHPCMS controller does not exist workaround

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.