drupal7请求异常,执行时间过长的解决方法 -- 根据你的系统或网络设置Drupal不能读取网页,造成功能缺失

drupal7请求错误,执行时间过长的解决办法

根据你的系统或网络设置Drupal不能读取网页,造成功能缺失。可能是web服务器配置或PHP设置引起的,可用更新、获取更新源、使用OpenID
录或使用其他网络服务的下载信息都需要解决这个问题。若确定Drupal可正常读取网页但仍然出现此消息,你可以在你的 settings.php 文件底部添加 $conf['drupal_http_request_fails'] = FALSE;

Your Status report page located at admin/reports/status returns the following error

HTTP request status Fails
Your system or network configuration does not allow Drupal to access web pages, resulting in reduced functionality. This could be due to your webserver configuration or PHP settings, and should be resolved in order to download information about available updates, fetch aggregator feeds, sign in via OpenID, or use other network-dependent services.

Error screenshot. Under section HTTP request status

settings.php(修改只读权限)
中末尾添加这一句

$conf['drupal_http_request_fails'] = FALSE;

 

 

settings.php文件的位置如下:/htdocs/sites/default/settings.php

有可能找不到,该文件可能被隐藏或者默认没有。

如果没有,复制/htdocs/sites/default/default.settings.php,修改文件名重新上传即可。

如果直接在线编辑无法保存或者无法上传覆盖,修改文件属性为777即可,修改保存或上传后改回444

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据