WordPress小部件插件图像未显示(相反显示乱码)



我正试图修复一个朋友网站上的插件问题。插件小部件应该显示x2个图像&一些链接,但在我朋友的网站上,图片显示为乱码。我找不到造成这种情况的原因。

问题代码位于探索网上的互联网市场

它应该如何显示@在线测试

我已经尝试删除所有插件来检查冲突&我甚至尝试在受影响的网站上重新安装WordPress,但没有成功。

我不确定这个问题的原因(我在某个地方看到,如果直接从数据库中获取图像代码而不引用图像MIME类型,则会显示垃圾代码?这可能发生在这里,或者网络托管有问题?)。

我期待着有帮助的回复

<更新编辑&lt&lt&lt&lt;>

刚刚看到cpanel错误日志:〔2011年8月19日星期五14:29:10〕〔error〕〔client 119.63.196.78〕PHP警告:fclose():提供的参数不是第123行/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/ibcxwizard.PHP中的有效流资源〔2011年8月19日星期五14:29:10〕〔error〕〔client 119.63.196.78〕PHP警告:curl_setopt():提供的参数不是第112行/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/ibcxwizard.PHP中的有效文件句柄资源〔2011年8月19日星期五14:29:10〕〔error〕〔client 119.63.196.78〕PHP警告:fopen(/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/update100100.png〔2011年8月19日星期五14:29:10〕〔error〕〔client 119.63.196.78〕PHP警告:fclose():提供的参数不是第88行/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/ibcxwizard.PHP中的有效流资源〔2011年8月19日星期五14:29:10〕〔error〕〔client 119.63.196.78〕PHP警告:curl_setopt():提供的参数不是第77行/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/ibcxwizard.PHP中的有效文件句柄资源〔2011年8月19日星期五14:29:10〕〔error〕〔client 119.63.196.78〕PHP警告:fopen(/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/IBX100100.png)〔function.fopen〕:无法打开流:在第74行/home/emo/public_html/wp-content-plugins/ibcxwiard_v1.02/ibcxwizard.PHP中权限被拒绝〔Fri Aug 19 14:29:10 2011〕〔error〕〔client 119.63.196.78〕PHP警告:fclose():提供的参数不是第56行/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/ibcxwizard.PHP中的有效流资源〔Fri Aug 19 14:29:10 2011〕〔error〕〔client 119.63.196.78〕PHP警告:fwrite():提供的参数不是第55行/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/ibcxwizard.PHP中的有效流资源〔2011年8月19日星期五14:29:10〕〔error〕〔client 119.63.196.78〕PHP警告:fopen(/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/control.txt)〔function.fopen〕:无法打开流:在第54行/home/emo/public_html/wp-content-plugins/ibcxwiard_v1.02/ibcxwizard.PHP中权限被拒绝〔2011年8月19日星期五14:19:19〕〔error〕〔client 74.104.341.67〕PHP警告:fclose():提供的参数不是第123行/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/ibcxwizard.PHP中的有效流资源,referer:http://exploreinternetmarketingonline.com/wp-content/plugins/ibcxwizard_v1.0/IBCX100100.png〔2011年8月19日星期五14:19:19〕〔error〕〔client 74.104.341.67〕PHP警告:fclose():提供的参数不是第123行/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/ibcxwizard.PHP中的有效流资源,referer:http://exploreinternetmarketingonline.com/wp-content/plugins/ibcxwizard_v1.0/IBCX100100.png〔Fri Aug 19 14:19:19 2011〕〔error〕〔client 74.104.341.67〕PHP警告:curl_setopt():提供的参数不是第112行/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/ibcxwizard.PHP中的有效文件句柄资源,referer:http://exploreinternetmarketingonline.com/wp-content/plugins/ibcxwizard_v1.0/IBCX100100.png〔2011年8月19日星期五14:19:19〕〔error〕〔client 74.104.341.67〕PHP警告:fopen(/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/upd100100.pnghttp://exploreinternetmarketingonline.com/wp-content/plugins/ibcxwizard_v1.0/IBCX100100.png〔Fri Aug 19 14:19:19 2011〕〔error〕〔client 74.104.341.67〕PHP警告:fclose():提供的参数不是第88行/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/ibcxwizard.PHP中的有效流资源,referer:http://exploreinternetmarketingonline.com/wp-content/plugins/ibcxwizard_v1.0/IBCX100100.png〔Fri Aug 19 14:19:19 2011〕〔error〕〔client 74.104.341.67〕PHP警告:curl_setopt():提供的参数不是第112行/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/ibcxwizard.PHP中的有效文件句柄资源,referer:http://exploreinternetmarketingonline.com/wp-content/plugins/ibcxwizard_v1.0/IBCX100100.png〔2011年8月19日星期五14:19:19〕〔error〕〔client 74.104.341.67〕PHP警告:fopen(/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/upd100100.pnghttp://exploreinternetmarketingonline.com/wp-content/plugins/ibcxwizard_v1.0/IBCX100100.png〔Fri Aug 19 14:19:19 2011〕〔error〕〔client 74.104.341.67〕PHP警告:fclose():提供的参数不是第88行/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/ibcxwizard.PHP中的有效流资源,referer:http://exploreinternetmarketingonline.com/wp-content/plugins/ibcxwizard_v1.0/IBCX100100.png〔Fri Aug 19 14:19:19 2011〕〔error〕〔client 74.104.341.67〕PHP警告:curl_setopt():提供的参数不是第77行/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/ibcxwizard.PHP中的有效文件句柄资源,referer:http://exploreinternetmarketingonline.com/wp-content/plugins/ibcxwizard_v1.0/IBCX100100.png〔2011年8月19日星期五14:19:19〕〔error〕〔client 74.104.341.67〕PHP警告:fopen(/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/IBX100100.png)〔function.foppen〕:无法打开流:在第74行/home/emo/public_html/wp-content-plugins/ibcxwiard_v1.02/ibcxwizard.PHP中权限被拒绝,refer:http://exploreinternetmarketingonline.com/wp-content/plugins/ibcxwizard_v1.0/IBCX100100.png〔Fri Aug 19 14:19:19 2011〕〔error〕〔client 74.104.341.67〕PHP警告:fclose():提供的参数不是第56行/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/ibcxwizard.PHP中的有效流资源,referer:http://exploreinternetmarketingonline.com/wp-content/plugins/ibcxwizard_v1.0/IBCX100100.png〔Fri Aug 19 14:19:19 2011〕〔error〕〔client 74.104.341.67〕PHP警告:fwrite():提供的参数不是第55行/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/ibcxwizard.PHP中的有效流资源,referer:http://exploreinternetmarketingonline.com/wp-content/plugins/ibcxwizard_v1.0/IBCX100100.png〔2011年8月19日星期五14:19:19〕〔error〕〔client 74.104.341.67〕PHP警告:fopen(/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/control.txt)〔function.fopen〕:无法打开流:在第54行/home/emo/public_html/wp-content-plugins/ibcxwiard_v1.02/ibcxwizard.PHP中权限被拒绝,refer:http://exploreinternetmarketingonline.com/wp-content/plugins/ibcxwizard_v1.0/IBCX100100.png〔Fri Aug 19 14:19:19 2011〕〔error〕〔client 74.104.341.67〕PHP警告:curl_setopt():提供的参数不是第77行/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/ibcxwizard.PHP中的有效文件句柄资源,referer:http://exploreinternetmarketingonline.com/wp-content/plugins/ibcxwizard_v1.0/IBCX100100.png〔2011年8月19日星期五14:19:19〕〔error〕〔client 74.104.341.67〕PHP警告:fopen(/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/IBX100100.png)〔function.foppen〕:无法打开流:在第74行/home/emo/public_html/wp-content-plugins/ibcxwiard_v1.02/ibcxwizard.PHP中权限被拒绝,refer:http://exploreinternetmarketingonline.com/wp-content/plugins/ibcxwizard_v1.0/IBCX100100.png〔Fri Aug 19 14:19:19 2011〕〔error〕〔client 74.104.341.67〕PHP警告:fclose():提供的参数不是第56行/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/ibcxwizard.PHP中的有效流资源,referer:http://exploreinternetmarketingonline.com/wp-content/plugins/ibcxwizard_v1.0/IBCX100100.png〔Fri Aug 19 14:19:19 2011〕〔error〕〔client 74.104.341.67〕PHP警告:fwrite():提供的参数不是第55行/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/ibcxwizard.PHP中的有效流资源,referer:http://exploreinternetmarketingonline.com/wp-content/plugins/ibcxwizard_v1.0/IBCX100100.png〔2011年8月19日星期五14:19:19〕〔error〕〔client 74.104.341.67〕PHP警告:fopen(/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/control.txt)〔function.fopen〕:无法打开流:在第54行/home/emo/public_html/wp-content-plugins/ibcxwiard_v1.02/ibcxwizard.PHP中权限被拒绝,refer:http://exploreinternetmarketingonline.com/wp-content/plugins/ibcxwizard_v1.0/IBCX100100.png〔2011年8月19日星期五14:19:17〕〔error〕〔client 74.104.341.67〕PHP警告:fclose():提供的参数不是第123行/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/ibcxwizard.PHP中的有效流资源〔2011年8月19日星期五14:19:17〕〔error〕〔client 74.104.341.67〕PHP警告:curl_setopt():提供的参数不是第112行/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/ibcxwizard.PHP中的有效文件句柄资源〔2011年8月19日星期五14:19:17〕〔error〕〔client 74.104.341.67〕PHP警告:fopen(/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/update100100.png〔2011年8月19日星期五14:19:17〕〔error〕〔client 74.104.341.67〕PHP警告:fclose():提供的参数不是第88行/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/ibcxwizard.PHP中的有效流资源〔2011年8月19日星期五14:19:17〕〔error〕〔client 74.104.341.67〕PHP警告:curl_setopt():提供的参数不是第77行/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/ibcxwizard.PHP中的有效文件句柄资源〔2011年8月19日星期五14:19:17〕〔error〕〔client 74.104.341.67〕PHP警告:fopen(/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/IBX100100.png)〔function.fopen〕:无法打开流:在第74行/home/emo/public_html/wp-content-plugins/ibcxwizard_v10.2/IBXwizard.PHP中权限被拒绝〔2011年8月19日星期五14:19:17〕〔error〕〔client 74.104.341.67〕PHP警告:fclose():提供的参数不是第56行/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/ibcxwizard.PHP中的有效流资源〔2011年8月19日星期五14:19:17〕〔error〕〔client 74.104.341.67〕PHP警告:fwrite():提供的参数不是第55行/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/ibcxwizard.PHP中的有效流资源〔2011年8月19日星期五14:19:17〕〔error〕〔client 74.104.341.67〕PHP警告:fopen(/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/control.txt)〔function.foppen〕:无法打开流:在第54行/home/emo/public_html/wp-content-plugins/ibcxwiard_v1.02/ibcxwizard.PHP中权限被拒绝〔2011年8月19日星期五14:17:15〕〔error〕〔client 112.2.254.250〕PHP警告:fclose():提供的参数不是第123行/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/ibcxwizard.PHP中的有效流资源〔2011年8月19日星期五14:17:15〕〔error〕〔client 112.2.254.250〕PHP警告:curl_setopt():提供的参数不是第112行/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/ibcxwizard.PHP中的有效文件句柄资源〔2011年8月19日星期五14:17:15〕〔error〕〔client 112.2.254.250〕PHP警告:fopen〔2011年8月19日星期五14:17:15〕〔error〕〔client 112.2.254.250〕PHP警告:fclose():提供的参数不是第88行/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/ibcxwizard.PHP中的有效流资源〔2011年8月19日星期五14:17:15〕〔error〕〔client 112.2.254.250〕PHP警告:curl_setopt():提供的参数不是第77行/home/eimo/public_html/wp-content/plugins/ibcxwizard_v1.02/ibcxwizard.PHP中的有效文件句柄资源

(还有更多!一个大错误日志)

这意味着什么?它有助于找到解决方案吗?

如果没有源代码,很难修复,但失败站点上的小部件似乎正在将数据库的内容转储到流中,而不是生成指向它的链接。要么您没有运行完全相同的小部件代码,要么顶级Apache配置中存在一些差异,导致小部件输出出错。

编辑:第二台服务器的一些配置细节已关闭。工作服务器有以下HTTP响应标头:

Server: Apache mod_fcgid/2.3.6 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635

不工作的服务器具有以下HTTP响应标头:

Server: Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.10

当不使用mod_fcgi时,插件需要的某些东西可能会失败?

最新更新