11 Frequently Error When Upload WordPress Network Up And Use
This article is mainly for you are new to wordpress only, some doctor familiar with wordpress do not throw stones.
The first error is the database connection error
1.Error establishing a database connection
This error is so easy to edit, just check the file wp-config.php back
[Codesyntax lang = “php”]
define (‘WP_CACHE’, true); / / Added by WP-Cache Manager
define (‘DB_NAME’, ‘kaka’);
/ ** MySQL database username * /
define (‘DB_USER’, ‘root’);
/ ** MySQL database password * /
define (‘DB_PASSWORD’,”);
/ ** MySQL hostname * /
define (‘DB_HOST’, ‘localhost’);
/ ** Database Charset to use in creating database tables. * /
define (‘DB_CHARSET’, ‘utf8’);
/ ** The Database Collate type. Do not change this if in doubt. * /
define (‘DB_COLLATE’,”);
[/ Codesyntax]
attention to three parameters need to see is the database name, user name and password. Watch carefully and report back is ok.
One more thing to note is that user’s right, you have to full right then, if you forget the password or do not know how that user rights, you create another user and to inform the users that is ok, so is the fastest then.
2.Chi wealth are also a few other sites homepage error
This is the most common, you just on the home page but some pages not to be, in wp-admin still.
Resolved as follows, you log in to the admin and viewing permalink’re in, I think 90% is the mode you are in the post name. You just go to the permalink and click update is ok now.
When in localhost you should leave permalink in default mode, so you will not see this error, but any way you admin to update the permalink.
3 Admin page displays disorder in WordPress page
When you go to the admin page and display it without CSS, the path to the css file does not exist (do not load the css file), all the links are sorted by a disorder like this:
Solution 1: Proxy & Firewall
Please check your internet connection using a proxy or firewall or not. These often lock CSS files and make it not load into your admin page. Manually delete the proxies and firewalls cookies and cache, and then press F5 to reload the page.
Solution 2: Update to WordPress Plugins
If you have a set menu for the admin page as ‘Admin Drop Down Menu’ plugin or ‘Lighter Menus’ plugin, make the latest version update for it. If not yet, then deactivate the plugin.
4 Warning: Can not modify header information – headers already sent by
You receive an error message like this when on your website or blog:
“Warning: Can not modify header information – headers already sent by (output started at / path / blog / wp-config.php: 34)”
As soon as you update the new version for your WordPress or just install WordPress.
Solution:
Remove white space, newline or other unnecessary things in wp-config.php
1 Download wp-config.php with FTP
2 Open the file wp-config.php
3 Remove spaces before
4 Make sure the first characters in this file will be without a space in between
5 Remove all whitespace after?>.
mà không còn bất cứ một khoảng trắng nào.”>6 Make sure that the last character in the wp-config.php file is?> Without any spaces.
in php errors very frequently encountered, I will do an article about this issue later. You find all the characters, spaces outside “” It’s ok.
This error can occur in other files, so you should read carefully to portable specify the file and edit the same as above.
5. Admin Page and external WordPress blog will not display anything
This error usually appears as soon as you install a WordPress theme or just updated to the new version. Both sites are white without a word, and the Admin page.
Solution 1: Rename the folder of the theme you just installed by FTP
By another name for the theme you just installed, your WordPress will automatically return to its default theme, and so that you can log in to the Admin page. The steps are as follows:
Step 1: Go to the wp-content/themes using FTP
Step 2: Rename the newly installed theme. For example: Rename from “twentytwenty” to “twentytwenty-temp
Step 3: Log in to your WordPress admin page.
Step 4: Check your theme is compatible with WordPress version is used or not.
Step 5: Check if the theme you are using contains the code that is not executable or not. (This also must have programming experience new Asia).
I think if you can dig out the code to handle it well, did not choose another theme, then edit the CSS to fit, do not spend too much time editing a theme is error.
Solution 2: Rename the folder “Plugins” other name
Step 1: Navigate to the folder wp-contents by FTP
Step 2: Rename the plugin folder “plugins-temp”.
Step 3: Create a new folder and name it “plugins” folder in wp-contents.
Step 4: Try to log into wp-admin.
Step 5: Move your plugin folder “plugins-temp” folder to “plugins” and activate them one by one.
Step 6: Check if the plugin is not compatible with the version of WordPress you are using and delete it and instead another plugin with similar functionality.
6. Fatal error: Allowed memory size of 33554432 bytes exhausted
When you upload an image with a relatively large size in your post and get the message as:
“Fatal error: Allowed memory size of 33554432 bytes exhausted”
To solve this problem you will fix a limit upload size, you can set a limit of 32MB, 64MB, 128MB or 256MB, depending on the host that you are using.
Solution 1: Edit the php.ini file
If you have the right to access and edit the php.ini file, please update to limit upload size by changing the value of the memory_limit parameter in the php.ini file as follows:
memory_limit = 64M; Maximum amount of memory a script may consume (64MB) If this line is the default display, try instead 128M 64M
Solution 2: Edit the file. Htaccess
You insert the following code into the file. Htaccess
php_value memory_limit 64M
Solution 3: Tools used in the wp-config.php file
Insert the following code in this file:
Increasing memory allocated to PHP
define (‘WP_MEMORY_LIMIT’, ’64M ‘);
Solution 4: Create a php.ini file inside the folder wp-admin
Step 1: Open Notepad
Step 2: Insert the following code into Notepad.
memory_limit = 64M;
Step 3: Save and name it “php.ini”.
Step 4: Upload it to the folder “wp-admin”
7. You are not authorized to view this page (403 error)
You will get errors like this when you enter your username and password
“You are not authorized to view this page. (403 error) ”
Solution: Insert the index.php to the Directory Indexes
If your website or blog is set in the Windows host, then it is the fault Directory Indexes
1. Login to Control Panel
2 Click Web Option
3 In the Directory Indexes option
4 Insert index.php to the Directory Indexes
8 Fatal error undefined function is_network_admin ()
You get the text “Fatal error undefined function is_network_admin ()” as soon as you log in to the Admin page after updating new version for WordPress
Solution: Update WordPress manually
1 Download the latest version of WordPress and unzip it.
2 Backing up your WordPress site
3 Rename the folder wp-includes and wp-admin wp-includes.bak and wp-admin.bak
4 Upload the folder wp-includes and wp-admin file that you unzipped into the host by FTP
5 Upload all files from the wp-content folder you unzipped earlier into the folder wp-content available on the host.
6 Upload all remaining files that you extract to the item on the host and allow them to overwrite each other.
7 Remove. Maintenance in a folder in your WordPress site with FTP
8 Log in to the admin page and you will be given a link as “http://domain.com/wordpress/wp-admin/upgrade.php”, please click on the link and follow the instructions.
9 Remove all cache (cache) to check for changes.
For more details, you can refer to the article http://codex.wordpress.org/Updating_WordPress#Manual_Update
9 Do not log into Admin
You will not login to the Admin page and get a 404 error page
Solution 1: Update the path in the Database
If you have access to phpMyAdmin, then updated in the database
1 Log on cPanel, click select phpMyAmin under the Databases
2 Select the name of the database you are using. for example: Username_wrdp1.
3 In wp_options (note: prefix wp_ may differ from your side), click the Browse button
4 Search siteurl below option_name field
5 Click the Edit Field
6 Change the value of your in option_value by domain
7 At the end of the page, click the Go button
Solution 2: Update access folder
1 Go to the directory “/ wp-admin” FTP
2 Right-click the folder wp-admin and click on File Attributes
3 Update the value to 755 and check the recurse into subdirectories
4 Click Ok
5 Repeat steps 1 through 4 for the / wp-content and wp-includes
6 Open the web browser and try logging in again, press Ctrl + F5 to clear the cache
10 “Briefly unavailable for scheduled maintenance”
You get the words “Briefly unavailable for scheduled maintenance” as soon as you make the automatic update to WordPress.
Solution: Remove file. Maintenance
File. Maintenance is placed into WordPress in the process of updating to inform visitors to your web page is being remodeled. If the update fails, it will generate an error, this file continues in your installation folder. so you have to use your hands to clear it away.
1 Access to the root directory by FTP
2 Find the file. Maintenance
3 Remove the file. Maintenance out of the folder
Once you solved this problem, you can proceed to update your WordPress site.
11 Can not Delete Plugin for WordPress
You can not completely remove the plugin if you have to delete it even with FTP
Solution: Remove the plugin using the Secure Shell (SSH)
Maybe because your plugin hidden deep in the hidden folders that you do not see the FTP.
If you have access to SSH into your blog:
1 Log in to the site using SSH
2 Use the SSH command to the path “.. / Wp-content / plugins /”
3 Use the ls-al command to see the full list of folders
4 Remove the plugin that you want to delete using the rm command (plugin folder name)
This is only 9 errors they search online, you know there are other errors, please share yourself and people at home.
This article comes from the main page and I add to it more fully, these are very common error in wordpress, you use wordpress, then certainly are errors in 11 errors in this article.
Click like if the article is of interest to you.
Chào bạn
Nhờ bạn tư vấn về theme GrandCollege, mình cài wordpress dưới Localhost và sử dụng theme GrandCollege thì ok nhưng khi mình đưa lên Host thì OPTION của theme này lại không SAVE được rồi khi mình vào chỉnh sửa bài viết hay trang thì đều không hiển thị nội dung của trang or bài viết, có cách nào để chỉnh ko bạn, mình muốn hỏi là lỗi do theme hay là do host, bạn giúp đỡ mình nha,
Cám ơn bạn thật nhiều
chào bạn, nghe bạn nói mình cũng không thể xác định được lỗi được, để xác đinh, bạn thử active 1 theme khác xem có bị lỗi hay không
– nếu bị lỗi như vậy luôn thì bạn tắt tất cả các plugin xem, nếu tắt mà hoạt động bình thường thì bạn bật lại từng plugin xem cái nào bị lỗi
– nếu thay theme khác mà không bị lỗi thì bạn xem lại theme đó xem có lỗi j không, thường là nằm trong file functions.php gây ra lỗi khi vào admin
chúc bạn may mắn
Ah chà lỗi mình gặp thật sự không có trong này, nếu có thể tác giả vui lòng hướng dẫn mình nhé.
Khi chuyển host từ nhà cung cấp A sang nhà cung cấp B, vấn đề là upload hình ảnh khi viết bài mới hoặc sử bài đều không được, mình đã check kỹ CMOD/ Data / Source, đều bình thường, kiểm tra host xem có thích hợp với WP không thì kết quả rất tốt, chỉ riêng khi chuyển WP đã có data thì lại không cho upload hình theo bài viết thế mới lạ chứ, (mình đã disbale tất cả plugin để tránh xung đột) – htaccess simple / đặt lại permalink là default, CMOd upload folder 755 . vấn đề là nó vẫn thế không có gì thay đổi, help ! Nếu có thể bạn gửi e-mai cho mình nhé !