解决方案:安装wordpress出现500 Internal Server Error

做一个资讯站点的时候遇到一个wordpress不知道算不算常见的问题:程序安装的时候提示500 Internal Server Error

  那么最终百度谷歌找到以下解决方案:

  安装新版本wordpress出现500 Internal Server Error的问题:

  在./wp-includes/class-http.php的291行,改成

  $request_order = apply_filters( ‘http_api_transports‘, array( ‘streams‘ ), $args, $url );

  也就是去掉这几个字符。

  ‘curl‘,

  如图:

  注意:

  部分wordpess程序可能不是291行,那请搜索

  $request_order = apply_filters( ‘http_api_transports‘, array( ‘curl‘, ‘streams‘ ), $args, $url );

  然后将这一句代码替换为

  $request_order = apply_filters( ‘http_api_transports‘, array( ‘streams‘ ), $args, $url );

  

  然后覆盖到wp-includes文件夹下,覆盖前,为了防止出错,请备份下原文件。

  原文地址:http://www.jmdrkj.cn/251.html

时间: 2024-08-10 23:05:49

解决方案:安装wordpress出现500 Internal Server Error的相关文章

[nginx]nginx的一个奇葩问题 500 Internal Server Error phpstudy2018

[nginx]nginx的一个奇葩问题 500 Internal Server Error 解决方案 nginx 一直报500 Internal Server Error 错误,配置是通过phpstudy2018站点域名管理生成的. 默认是  root   "D:\php\phpstudy\PHPTutorial\WWW\foxphp"; 修改成这样就好了 root   "D:\\php\\phpstudy\\PHPTutorial\\WWW\\foxphp"; 查

安装Destoon系统出现500 Internal Server Error错误的原因

当我们初次安装Destoon B2B网站管理系统出现"500 Internal Server Error"错误,其原因有一下几点: 解决办法一.删除根目录下.htaccess文件,如果无效,请尝试方法二: 解决办法二.对于Liunx/Unix服务器,如果不支持0777属性,可修改 根目录config.inc.php $CFG['file_mod'] = 0777; 为 $CFG['file_mod'] = 0755 ; 然后,FTP修改已经被系统自动修改为0777属性的目录和文件为07

Tomcat 提示 HTTP Status 500 – Internal Server ErrorTomcat 提示 HTTP Status 500 – Internal Server Error

错误信息: 1 HTTP Status 500 – Internal Server Error 2 Type Exception Report 3 4 Message Error instantiating servlet class [Servlet.BeerSelect] 5 6 Description The server encountered an unexpected condition that prevented it from fulfilling the request. 7

HTTP Status 500 ? Internal Server Error

getWriter()和getOutputStream()不能同时调用 HTTP Status 500 ? Internal Server Error Type Exception Report Message getWriter() has already been called for this response Description The server encountered an unexpected condition that prevented it from fulfilli

在使用pydelicious时出现HTTP Error 500: Internal Server Error的错误的解决方法:

问题:在学习<集体智慧编程>的过程中,第二章中如果你遇到了pydelicious.PyDeliciousException: HTTP Error 500: Internal Server Error这样的错误具体的 解决方法我是在stack overflow上找到的,原文链接分为两个部分 http://stackoverflow.com/questions/29543799/pydelicious-get-popularprogramming- doesnt-return-any-valid

python urllib2导出elasticsearch数据时 返回 &quot;urllib2.HTTPError: HTTP Error 500: Internal Server Error&quot;

0.业务场景 将ES中某个index的某个字段的所有数据,导出到文件中 1.ES数据导出方法简述 ES数据导出方法,我主要找到了以下几个方面,欢迎大家补充: ES官方API:snapshot and restore module The snapshot and restore module allows to create snapshots of individual indices or an entire cluster into a remote repository like sha

EBS Webservice Timeout,HTTP Server Return &quot;500 Internal Server Error&quot;

http://blog.itpub.net/26687597/viewspace-1207571/ 基于Oracle EBS R12,开发了一个Webservice用于返回某项主数据,当请求的数据量非常大的时候(大于6000行的数据量),Oracle应用服务器总是给返回一个500 Internal Server Error.请求数据量小的时候,Webservice运行没有问题,能够正常返回请求数据. 客户端接到的报错: <!DOCTYPE HTML PUBLIC "-//IETF//DTD

使用Windows Live Writer发布CSDN博客出现500 Internal Server Error

今天按照<公告:CSDN博客频道支持Windows Live Writer离线写博客啦>学着使用Windows Live Writer写CSDN博客,结果碰到了评论中的500 Internal Server Error. 我在进行第三步"设置日志的远程发布网址,填写http://write.blog.csdn.net/xmlrpc/index "时(见上图)发生错误500 Internal Server Error.根据管理员先前的回复,这里出错的原因可能是用户名或密码错误

docker镜像下载出现:received unexpected HTTP status: 500 Internal Server Error

1.镜像下载总是出现报错:received unexpected HTTP status: 500 Internal Server Error 2.尝试多种方法: ①阿里云docke加速器:注册之后,配置好重新下载依然出现这种情况: ②尝试加上版本号: 原先我是直接复制https://hub.docker.com/r/library/上的: 之后改成这样: docker pull tomcat:9.0.30 直接去掉后面只留版本号,这样马上就下载好了 原文地址:https://www.cnblo