安装wordpress主题后出现乱码问题,请教?

图片描述

乱码问题如上图所示,然后在头部那里提示了三段话:
Warning: file_get_contents(http://cdn.yuxiaoxi.com/bymt_updata.php?bymt=new_version_free) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in /data/home/qxu1194140044/htdocs/wp-content/themes/BYMT-free/functions.php on line 450

Warning: file_get_contents(http://cdn.yuxiaoxi.com/bymt_updata.php?bymt=Publish_url_free) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in /data/home/qxu1194140044/htdocs/wp-content/themes/BYMT-free/functions.php on line 451

Warning: file_get_contents(http://cdn.yuxiaoxi.com/bymt_updata.php?bymt=down_url_free) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in /data/home/qxu1194140044/htdocs/wp-content/themes/BYMT-free/functions.php on line 452
本个不懂php,所以请教下这个问题是什么原因导致的?
或者访问http://www.iandworld.com 查看乱码提示 谢谢了

阅读 6.2k
3 个回答

这一般都是编码导致的,你可以尝试把主题头部的编码设置为UTF-8,为了保险,把数据库也设置为UTF-8。这样就行了

尝试换一个主题试试有没有这种情况出现,有可能是主题模板的问题

可以把报错的这行代码注释掉,目测是更新主题的代码。

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进