search
HomeCMS TutorialPHPCMSphpcms controller does not exist
phpcms controller does not existNov 18, 2019 am 10:32 AM
phpcmsdoes not existcontroller

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
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
phpcms是什么框架phpcms是什么框架Apr 20, 2024 pm 10:51 PM

PHP CMS 是一种基于 PHP 的开源内容管理系统,用于管理网站内容,其特点包括易用性、强大功能、可扩展性、安全性高和免费开源。它可以节省时间、提升网站质量、增强协作并降低开发成本,广泛应用于新闻网站、博客、企业网站、电子商务网站和社区论坛等各种网站。

phpcms怎么跳转到详情页phpcms怎么跳转到详情页Jul 27, 2023 pm 05:23 PM

phpcms跳转到详情页方法:1、使用header函数来生成跳转链接;2、循环遍历内容列表;3、获取内容的标题和详情页链接;4、生成跳转链接即可。

微信登录集成指南:PHPCMS实战微信登录集成指南:PHPCMS实战Mar 29, 2024 am 09:18 AM

标题:微信登录集成指南:PHPCMS实战在今天的互联网时代,社交化登录已经成为网站必备的功能之一。微信作为国内最流行的社交平台之一,其登录功能也被越来越多的网站所采用。本文将介绍如何在PHPCMS网站中集成微信登录功能,并提供具体的代码示例。第一步:注册微信开放平台账号首先,我们需要在微信开放平台上注册一个开发者账号,申请相应的开发权限。登录[微信开放平台]

2023年最新phpcms视频教程推荐(二次开发必学)2023年最新phpcms视频教程推荐(二次开发必学)Oct 25, 2019 pm 03:45 PM

很多站长使用PHPCMS进行二次开发建站,PHP中文网特意推出了phpcms视频教程,大家可以随时随地免费观看视频教程,不需要从百度网盘下载,非常方便。

phpcms有评论功能吗phpcms有评论功能吗Feb 16, 2023 am 10:06 AM

phpcms有评论功能。phpcms内置评论模块,提供了让网站的浏览者发布自己见解的功能,使得浏览者可以互动,相互交流自己的看法,来增加网站人气。PHPCMS的评论用户留言的功能,同时还增加了审核功能,防止言论中出现违禁词汇等。对网站管理者而言,PHPCMS的评论模块可以方便的管理用户评论,可以根据时间、关键字、是否审核等条件查找并管理留言内容。

phpcms用什么数据库phpcms用什么数据库Feb 21, 2023 pm 06:57 PM

phpcms用mysql数据库。phpcms是一个PHP开源网站管理系统,采用PHP+MYSQL做为技术基础进行开发。PHPCMS V9采用OOP方式进行基础运行框架搭建,支持的PHP版本是PHP5及以上、支持的MYSQL版本是MySql 4.1以上版本。

phpcms怎么实现微信登陆phpcms怎么实现微信登陆Mar 09, 2023 am 09:33 AM

phpcms实现微信登录的方法:1、在根目录新建“wechat.php”;2、在“\phpcms\modules\member\index.php”下增加“public function wechat() {...}”;3、在“foreground.class.php”文件中通过wechat函数判断用户是否登录即可。

phpcms怎么修改站点名称phpcms怎么修改站点名称Feb 24, 2023 am 09:29 AM

phpcms修改站点名称的方法:1、使用管理员登录后台页面;2、在顶部的菜单栏找到“设置”选项单击,然后在左侧的菜单出找到“站点管理”;3、找到需要修改的站点,点击该站点域名右面的修改链接;4、在弹出的窗口中修改站点名称即可。

See all articles

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

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)