In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces what common faults there are in WordPress. It is very detailed and has certain reference value. Friends who are interested must finish it!
Common failure handling Scheme of WordPress
After you start using WordPress to build your site, you may encounter some errors and problems. We have collected some of the most common failures and solutions in the process of using WordPress for your reference. I hope it will be helpful to your site-building process.
First of all, you can confirm whether the failure is caused by the cloud platform. For WordPress failures caused by cloud platforms, please refer to our cloud platform documentation for solutions.
Here are a few common failures that we have sorted out for you:
The WordPress database service could not be started
Reason: may be insufficient disk space, insufficient memory, wrong configuration file.
Solution: first troubleshoot through the command, determine the problem, and then release memory.
# View disk space df-lh# to view memory usage free-lh
Database connection errors occur frequently when WordPress is running?
Reason: the most likely reason is that the database is running abnormally due to insufficient memory.
Solution: increase memory + enable CDN. CDN can greatly reduce the server memory overhead while speeding up the website.
An error occurred while uploading pictures in WordPress
There are several possibilities for an error when WordPress uploads a file:
Reason: the size of the picture exceeds the server limit.
Solution: please refer to this chapter Environmental Management-> PHP configuration to modify the uploaded file size.
Reason: the actual format of the picture is not consistent with the suffix.
Solution: for example, the real format of a WordPress9.jpg image is Wordpress9.jpeg, and an error will be reported when uploading. If the suffix is changed to jpeg, the upload is normal. In fact, when the real format is not consistent with the suffix, there will be no preview effect in the file on the Windows system.
Permission issues (more common in IIS).
WordPress appears to be resolved and is performing routine maintenance. Please come back in a minute.
Reason: the reason for this prompt is that the .maintenance file is generated in the Wordpress installation directory of the website.
Resolve:
If there is, just delete it and return to normal.
If it does not exist, then create a new .maintenance, the content is blank, refresh, return to normal and then delete it.
WordPress cannot send mail
Reason: WordPress sends mail by default through the mail () function, which requires that the server itself is configured with the mail function. In practice, transforming the server into a mail server is a very complex task and difficult to maintain.
Solution: it is recommended to install a SMTP plug-in to solve the problem of sending mail: WP-Mail-SMTP.
WordPress 5.0switch back to the old classic editor of "Classic Editor"
Reason: there is a significant difference between the editor and the post-Wordpress5.0 version. Without discussing the advantages and disadvantages of the editor, we found that after the editor upgrade, the user's theme could not adapt to the new editor, so that visual editing could not be done.
Solution: if you want the theme to be visually edited, you must enable the Classic Editor. The way to enable it is very simple, just install the plug-in "Classic Editor".
WordPress background upgrade network can not be opened, the official website can not be opened?
Reason: WordPress is a foreign website, the background upgrade address is also foreign, if the website can not be opened, the background upgrade can not be carried out.
Solution: if you urgently need to upgrade, please refer to our WordPress manual upgrade documentation
The WordPress administrator loses privileges and cannot log on to the background normally?
Reason: the background management of WordPress is divided into permissions, and the highest authority is Super Admin. When the wordpress administrator is unable to enter the background normally due to loss of privileges.
Solution: you can restore permissions by entering the PhpMyAdmin database management tool.
Log in to the database management tool phpMyAdmin: http:// server ip/phpMyAdmin/
Find the data tables related to the user: wp_users and wp_usermeta
Go to wp_users first and check your administrator user name. The id of Super Admin user is usually 1, which is not modified.
Then go to the wp_usermeta table and find the wp_user_level,wp_capabilities field. If the value of the corresponding account wp_user_level is not 10, please change it to 10 (half of the super admins are 10, with the highest authority). Check the wp_ capabilities.If it is not "administrator", you can directly change it to: aadministrator 1: {administrator 13: "administrator";}
Log in again.
These are all the contents of this article entitled "what are the common faults in WordPress?" Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.