wp-admin shows blank page, how to fix it?

2019-03-11 05:54发布

I am working with WordPress 3.5.8. Yesterday I made some changes into it to a friend. I don't know what happened, but after some time when I try to log in at wp-admin side and execute URL www.mysite.com/wp-admin it shows me a blank page. How do I solve this? I have searched over the internet and blogs. I found it could be related to hosting problems or brute force-attack, but I don't think that that's what happened to my site.

Links I visited:

标签: php wordpress
21条回答
看我几分像从前
2楼-- · 2019-03-11 06:32

I also had a blank screen for my blog. The solution was to copy up a backup copy of wp-config,php somehow the 'live' wp-config.php had been replaced with a file size of zero.

In my case I had the same problem. Helped remove the wp-config.php file. Wordpress created new wp-config.php file and wp-admin is working flawlessly now. Rename plugins, themes folder does not help.

查看更多
Melony?
3楼-- · 2019-03-11 06:33

i have wasted a lot of time to solve it , But the only solution i find is to rename your word press plugins folder and active theme , and your wp-admin will be visible , so then you can change and check for suspected plugin or theme.

查看更多
成全新的幸福
4楼-- · 2019-03-11 06:34

That white screen of death happened to my blog, and what I did was that I renamed the theme and plugin, and everything was back to normal.

查看更多
霸刀☆藐视天下
5楼-- · 2019-03-11 06:37

first of all check your internet its connect!

second is turn on WP_DEBUG and write this codes in wp-config.php

define('WP_DEBUG',true);
error_reporting('E_ALL');
ini_set('display_errors',1);

third is rename themes and plugins folder that in wp-content folder to other name sush as

pluginss , themess

S F my english!

查看更多
太酷不给撩
6楼-- · 2019-03-11 06:38

Try turning on WP Debug. If this is happening due to a PHP error (which I bet that it is), you will be able to see what's going on and fix the error.

查看更多
地球回转人心会变
7楼-- · 2019-03-11 06:39

My case was that I had generated code for three custom content types and then just pasted all the code in functions.php without renaming the "function custom_post_type" part of each function. After renaming like e.g "function employees", it worked like a charm....it displayed.

查看更多
登录 后发表回答