search
HomeCMS TutorialEmpire CMSHow to solve the error table 'empirecms.phome_ecms_' doesn't exist in Empire CMS

How to solve the error table 'empirecms.phome_ecms_' doesn't exist in Empire CMS

How to solve the error table ‘empirecms.phome_ecms_’ doesn’t exist in Empire CMS?

When I was doing "data update" today, after clicking "Refresh all information content pages", the prompt "Table 'empirecms.phome_ecms_' doesn't appears in the "Refresh data table: article" item exist

When I was doing "data update" today, after clicking "Refresh all information content pages", a prompt appeared in the "Refresh data table: article" item:

The code is as follows:

Table ‘empirecms.phome_ecms_’ doesn’t exist 
update ***_ecms_ set havehtml=1 where id=” limit 1

After searching on the Internet, it was explained like this:

The code is as follows:

Cause: You modified the system model to which the column belongs, because the column It turns out that the system model to which it belongs has information itself, but you have changed the system model to which it belongs, so that the column to which the information belongs cannot be found, causing an error.

Solution: Modify the column and change it back to the original system model, then go to the management information to delete all the information in the column, and finally modify the column and change it back to the new system model it belongs to. This will solve the problem.

However, this explanation makes it difficult to solve the problem, because a website has many columns. How can you judge which column caused it to modify the system model? Besides, I really can’t remember that I have modified the system model!

So here is a relatively simple and direct solution, which is to execute the following SQL statements in sequence:

The code is as follows:

select id from phome_ecms_news where id not in (select id from phome_ecms_news_data_1) 
delete from phome_ecms_news where id not in (select id from phome_ecms_news_data_1)

The above is the detailed content of How to solve the error table 'empirecms.phome_ecms_' doesn't exist in Empire CMS. 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

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)
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment