WordPress第一次上线,就出现了主题的图片显示不出来,服务器是centos linux的,查看图片,出现错误代码
“Could not find the internal image you specified”
解决方法,打开主题下的timthumb.php文件,注释
if(! defined('ALLOW_ALL_EXTERNAL_SITES') ) define ('ALLOW_ALL_EXTERNAL_SITES', true); // Less secure.
修改成
define ('ALLOW_ALL_EXTERNAL_SITES', TRUE);
位置大概在第33行。
原文地址:http://stackoverflow.com/questions/12426802/timthumb-could-not-find-the-internal-image-you-specified
转载文章,版权归作者所有,转载请联系作者。作者:,来源:
最新评论