我更新了一个客户端Wordpress到3.5.2,现在不能通过wp-admin登录。
登录表单会出现,但一旦我点击“登录”按钮,我就会重定向到一个带有单个.的空白页面。如果输入错误的密码,也会发生同样的情况。
我已经签出了登录麻烦代码,并尝试替换wp-login.php文件并禁用所有插件。我也遇到了同样的问题。
前面的位置似乎很好。
调试中的appreas是什么?
Warning: Cannot modify header information - headers already sent by (output started at /home/stretton/public_html/fo/wp-content/themes/freya/lib/widgets/banners-125.php:13) in /home/stretton/public_html/fo/wp-login.php on line 369
Warning: Cannot modify header information - headers already sent by (output started at /home/stretton/public_html/fo/wp-content/themes/freya/lib/widgets/banners-125.php:13) in /home/stretton/public_html/fo/wp-login.php on line 381编辑:我也尝试过:
这些也没什么好运气
发布于 2013-07-05 03:10:15
重命名活动主题并强制将其还原为“二十二个”。主题问题有时仍然会导致管理错误。但一旦主题恢复,你应该能够进入管理,即使前端是白色屏幕。
要找出导致前端白屏幕的原因(或者,如果需要的话,也可以使用后端),请使用Debug。请参阅调试
添加到wp-config.php中
define( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', true );
debug.log文件将出现在wp内容中。和/或,添加这一行
define( 'WP_DEBUG_DISPLAY', true);
也可以将它们转储到浏览器中。
https://stackoverflow.com/questions/17480293
复制相似问题