简体   繁体   English

本地主机中的 Wordpress 空白页

[英]Wordpress blank page in localhost

I downloaded the Wordpress Site via FTP, but I can't access in wp-admin, homepage...我通过 FTP 下载了 Wordpress 站点,但是在 wp-admin、主页无法访问...

If I create a test.html file, show page Blank.如果我创建一个 test.html 文件,显示页面空白。

WP_DEBUG is set to TRUE, but not returns a error. WP_DEBUG 设置为 TRUE,但不返回错误。

I rename the theme folder, and the plugins folder, but nothing happen, blank page.我重命名了主题文件夹和插件文件夹,但没有任何反应,空白页面。

If in the index.php file I add this code die(Hello World!);如果在 index.php 文件中我添加了这个代码 die(Hello World!); show message, so, it's access to index.php.显示消息,因此,它可以访问 index.php。

It's only happen in localhost, in the production environment it's works fine.它只发生在本地主机中,在生产环境中它工作正常。

Any solution?有什么解决办法吗?

Have assigned the front page from the admin panel?已经从管理面板分配了首页?

https://prnt.sc/1wpqv5a https://prnt.sc/1wpqv5a

I can Fix this.我可以解决这个问题。

The problem is in the file wp-load.php, I replace this file with another versión wordpress.问题出在文件 wp-load.php 中,我用另一个版本的 wordpress 替换了这个文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM