Hongmu Notes
Home Program Notes

Program Notes

In the final analysis, programmers taking notes is an efficient behavior of recording work experience. It can not only record the various technical problems encountered in the process of program development, but also record the beneficial experiences gained in learning technical knowledge. It can both help...

What to do if you forget your password for Empire CMS? A quick and efficient solution.

What to do if you forget your password for Empire CMS? A quick and efficient solution. Program Notes Empire cms

Since I am using the Baota Panel, let me use it as an example. Step 1: Log in to the database management panel and locate the EmpireCMS administrator table: `phome_enewsuser`. Step 2: Clear all data from this table. Step 3: Select this table and execute the following SQL statement: `INSERT INTO `phome_enewsuser` (`userid`, `username`, `p...`);`
👁 343
WordPress issue: pages freezing due to image transcoding

WordPress issue: pages freezing due to image transcoding Program Notes wordpress

Last night, while uploading an image, for some reason, the uploaded image was automatically transcoded. Transcoding type: BASE64 encoding. For an image on a website, simply upload it to your server and then access the link – the image will then be displayed. However, there is another approach: directly transcoding the image; then you can simply access the converted image using its encoded URL. Problem description: When an image is relatively small (e.g., only a few KB in size), transcoding it and then hosting it on a website can help avoid...
👁 154
Detailed Tutorial on Migrating EmpireCMS Blog Data to WordPress

Detailed Tutorial on Migrating EmpireCMS Blog Data to WordPress Program Notes wordpress

PS1: Second revision – now supports data transfer between categories, posts, and tags. PS2: If the post IDs consistently don't match, you can try clearing the WordPress post category data table and relationship tables. I previously used Typecho for my blog, but later migrated to Empire; however, Empire has too many features – using it for a blog feels like putting a large hammer into a small hole! Additionally, I often record important code snippets in my blog – all of which I've painstakingly written...
👁 548
How do I disable revisions and automatic draft saving in WordPress?

How do I disable revisions and automatic draft saving in WordPress? Program Notes wordpress

WordPress's automatic article revision tracking feature logs every time you edit an article in the后台; each revision is recorded as a separate entry in the `wp_posts` table. Due to the interplay between article revisions and automatic saving, the article ID often grows larger over time. While this typically does not cause significant issues for your WordPress installation, an excessive number of article versions can place a considerable burden on your storage space and database...
👁 375
What should I do if the Redis Object Cache plug-in cannot be linked after wordpress redis changes the password?

What should I do if the Redis Object Cache plug-in cannot be linked after wordpress redis changes the password? Program Notes wordpress

Problem description: My wordpress site server uses pagoda panel, installed php8.0, and installed redis on the extension panel, and installed Redis Object Cache plug-in in wordpress. In fact, in general, you don't need to do anything, just start it directly. However, it is unsafe for radis not to set a password, which is a risky loophole, so I still think it is better to set a password, …
👁 258
Imperial cms imitation website tutorial corresponding notes

Imperial cms imitation website tutorial corresponding notes Program Notes Empire cms

Hello everyone, welcome to learn the imperial cms imitation website tutorial. I am Hong Mu qq1810216796 QQ exchange group: 9589723231 Imperial cms website installation. Hello everyone, welcome to learn the imperial cms imitation website tutorial. I am Hong Mu qq: 1810216796 qq exchange group: 958972323 Build an imperial program. If you have a server and have built an imperial website on the server, then...
👁 3413
2025 Apple cms imitation war tutorials and notes

2025 Apple cms imitation war tutorials and notes Program Notes Apple cms

Lesson 2: Install Apple CMS Objectives of this section: 1. Install Apple CMS. Lesson 3: Introduction of the template homepage 1. Download the target site page. After checking that the page required by the template is normal 1. Create a folder with a custom name under the template file (template) 2. Enable our template in the background 3. Put the resource file inside (template) 4. Import the template file and download the website imitation gadget https://wwi...
👁 1177
Empire paging query code

Empire paging query code Program Notes Empire cms

$file_page = "juhe.txt"; $num = 50; if(file_exists($file_page)){ $page_num = file_get_contents($file_page); }else{ $page_num = 0; } $page_i…
👁 232
Empire cms blog template backup

Empire cms blog template backup Program Notes Empire cms

I've prepared the template, and since I don't want to discard it – as I might need it in the future – I've decided to keep it safe! However, changing the template later on with Empire CMS could be quite troublesome, so I've simply shared the code directly. Much of this template consists of PHP code, so please don't download it; this is for personal backup purposes only. Link: https://pan.baidu.com/s/1caeeOl79tDCQDIczknRwZA?pwd=cm...
👁 232
Empire cms scroll to load more articles

Empire cms scroll to load more articles Program Notes Empire cms

To load content manually, you will need to use PHP + jQuery + AJAX: Create a new PHP file named get_news_index.php and upload it to the /e/action directory: <?php require('../class/connect.php'); require('../class/dbSql.php');...
👁 282
1 8 9 10 11 12 23