Home CMS Tutorial PHPCMS phpcms controller does not exist

phpcms controller does not exist

Nov 18, 2019 am 10:32 AM
phpcms does not exist controller

phpcms controller does not exist

The controller does not exist. Solution:

1. Troubleshooting method

1. Check the link;

2. Check whether the file name under the module is consistent with the link;

3. Check whether the name of the class in the file is consistent with the file name;

4. Check the operation in the class Is the naming consistent with the link?

Basically, you can definitely troubleshoot errors by following the above methods.

2. Analysis of the reasons

“Controller does not exist.” Literally speaking, the controller does not exist. V9 seems to be a typical MVC model. Find the source code where this error occurs... After my search, this error is in the file phpcms/libs/classes/application.class.php What appears below is the function load_controller() When loading the controller, an error occurs because the controller cannot be loaded.

application.class.php This file is the PHPCMS application creation class Each step of initialization requires finding its controller. If it can't be found, it's an error.

3. Why does this error occur

Some users said that Controller does not exist. appeared during member management; some users also said that Controller does not exist. appeared when logging into the background;

Reanalyzed the function load_controller() and its call And the relationship, I found this: when managing members, if there is such a Controller does not exist

phpcms controller does not exist

, first right-click on the Controller does not exist page to view the properties.

phpcms controller does not exist

Find "index.php?m=member&c=member&a=manage&menuid=72&pc_hash=QauE2I" and see m=*** and c=$$$, right? $$$ is the controller, and the file of this controller needs to be loaded.

In this example, the file to be loaded is phpcms/modules/member/member.php, and the corresponding file is phpcms/modules/***/$$$.php. If this file does not exist, it will The error Controller does not exist appears.

Some students said that the Controller does not exist when logging into the background. For the same reason, take a look at where it appears when logging into the background:

Login URL:

phpcms controller does not exist

An error occurred:

phpcms controller does not exist

This time you can find where the error is,

m=admin & c=index

Check whether the phpcms/modules/admin/index.php file exists.

4. Solution

First configure the configuration file under caches\configs\system.php, and then put the files in the original installation package into That's it.

Recommended tutorial: phpcms tutorial

The above is the detailed content of phpcms controller does not exist. For more information, please follow other related articles on the PHP Chinese website!

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to properly calibrate your Xbox One controller on Windows 11 How to properly calibrate your Xbox One controller on Windows 11 Sep 21, 2023 pm 09:09 PM

Since Windows has become the gaming platform of choice, it's even more important to identify its gaming-oriented features. One of them is the ability to calibrate an Xbox One controller on Windows 11. With built-in manual calibration, you can get rid of drift, random movement, or performance issues and effectively align the X, Y, and Z axes. If the available options don't work, you can always use a third-party Xbox One controller calibration tool. Let’s find out! How do I calibrate my Xbox controller on Windows 11? Before proceeding, make sure you connect your controller to your computer and update your Xbox One controller's drivers. While you're at it, also install any available firmware updates. 1. Use Wind

How to use CodeIgniter4 framework in php? How to use CodeIgniter4 framework in php? May 31, 2023 pm 02:51 PM

PHP is a very popular programming language, and CodeIgniter4 is a commonly used PHP framework. When developing web applications, using frameworks is very helpful. It can speed up the development process, improve code quality, and reduce maintenance costs. This article will introduce how to use the CodeIgniter4 framework. Installing the CodeIgniter4 framework The CodeIgniter4 framework can be downloaded from the official website (https://codeigniter.com/). Down

Learning Laravel from scratch: Detailed explanation of controller method invocation Learning Laravel from scratch: Detailed explanation of controller method invocation Mar 10, 2024 pm 05:03 PM

Learning Laravel from scratch: Detailed explanation of controller method invocation In the development of Laravel, controller is a very important concept. The controller serves as a bridge between the model and the view, responsible for processing requests from routes and returning corresponding data to the view for display. Methods in controllers can be called by routes. This article will introduce in detail how to write and call methods in controllers, and will provide specific code examples. First, we need to create a controller. You can use the Artisan command line tool to create

What is laravel controller What is laravel controller Jan 14, 2023 am 11:16 AM

In laravel, a controller (Controller) is a class used to implement certain functions; the controller can combine related request processing logic into a separate class. Some methods are stored in the controller to implement certain functions. The controller is called through routing, and callback functions are no longer used; the controller is stored in the "app/Http/Controllers" directory.

How to jump to the details page in phpcms How to jump to the details page in phpcms Jul 27, 2023 pm 05:23 PM

How to jump to the details page in phpcms: 1. Use the header function to generate a jump link; 2. Loop through the content list; 3. Get the title and details page link of the content; 4. Generate a jump link.

Laravel Study Guide: Best Practices for Controller Method Calls Laravel Study Guide: Best Practices for Controller Method Calls Mar 11, 2024 am 08:27 AM

In the Laravel learning guide, calling controller methods is a very important topic. Controllers act as a bridge between routing and models and play a vital role in the application. This article will introduce the best practices for controller method calling and provide specific code examples to help readers better understand. First, let's understand the basic structure of controller methods. In Laravel, controller classes are usually stored in the app/Http/Controllers directory. Each controller class contains multiple

What framework is phpcms? What framework is phpcms? Apr 20, 2024 pm 10:51 PM

PHP CMS is a PHP-based open source content management system for managing website content. Its features include ease of use, powerful functionality, scalability, high security, and free open source. It can save time, improve website quality, enhance collaboration and reduce development costs, and is widely used in various websites such as news websites, blogs, corporate websites, e-commerce websites and community forums.

WeChat Login Integration Guide: PHPCMS Practical Combat WeChat Login Integration Guide: PHPCMS Practical Combat Mar 29, 2024 am 09:18 AM

Title: WeChat Login Integration Guide: PHPCMS in Action In today’s Internet era, social login has become one of the essential functions of a website. As one of the most popular social platforms in China, WeChat’s login function is also used by more and more websites. This article will introduce how to integrate the WeChat login function in the PHPCMS website and provide specific code examples. Step 1: Register a WeChat Open Platform Account First, we need to register a developer account on the WeChat Open Platform and apply for the corresponding development permissions. Log in [WeChat open platform]

See all articles