如何解决服务器配置问题
How To resolve server configuration issue
在我的仪表板顶部显示两个错误...
Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /public_html/couponinuse.com/wp-includes/update.php on line 295
提前致谢
假设这是来自本地主机安装.....
这是因为您的互联网连接状况不佳。我经常看到它。它所做的只是在搜索 wordpress.org 时减慢您的本地主机站点的速度,仅此而已。它只是 Wordpress 检查网络更新(可能还有字体)。
这很烦人,但您无需采取任何措施。
我已经通过在 wp-config.php 文件底部添加以下行解决了这个问题。
define('WP_HTTP_BLOCK_EXTERNAL', false);
我使用以下步骤修复了 Ubuntu OS 上的错误
- 打开终端或 (Ctrl+t) 并输入 ping api.wordpress.org
- 记下终端上 ping 的 ip 地址。通过键入 Ctrl+c
关闭操作
- 键入 sudo gedit /etc/hosts 并在主机文件
中像这样 (198.xxx.xxx.xxx api.wordpress.org) 添加 ipaddress 后跟 api.wordpress.org
希望这对其他跑步者有所帮助 Ubuntu OS
在我的仪表板顶部显示两个错误...
Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /public_html/couponinuse.com/wp-includes/update.php on line 295
提前致谢
假设这是来自本地主机安装.....
这是因为您的互联网连接状况不佳。我经常看到它。它所做的只是在搜索 wordpress.org 时减慢您的本地主机站点的速度,仅此而已。它只是 Wordpress 检查网络更新(可能还有字体)。
这很烦人,但您无需采取任何措施。
我已经通过在 wp-config.php 文件底部添加以下行解决了这个问题。
define('WP_HTTP_BLOCK_EXTERNAL', false);
我使用以下步骤修复了 Ubuntu OS 上的错误
- 打开终端或 (Ctrl+t) 并输入 ping api.wordpress.org
- 记下终端上 ping 的 ip 地址。通过键入 Ctrl+c 关闭操作
- 键入 sudo gedit /etc/hosts 并在主机文件 中像这样 (198.xxx.xxx.xxx api.wordpress.org) 添加 ipaddress 后跟 api.wordpress.org
希望这对其他跑步者有所帮助 Ubuntu OS