我试图在uSquare中创建一个新项目,但是当我插入一个图像时,我只看到一个中断图像图标并且对我发现的问题进行了调查
A TimThumb error has occured
The following error(s) occured:
An error occured fetching image.
Query String : src=http://eryagame.altervista.org/blog/blog_eng/wp-content/uploads/2014/04/Fotostupida.jpg&w=180&h=125
TimThumb version : 2.8.10
我试图找出问题所在,但找不到它......
答案 0 :(得分:0)
简单地说,您的图片不存在(http://eryagame.altervista.org/blog/blog_eng/wp-content/uploads/2014/04/Fotostupida.jpg)。
我还建议你升级到最新的timthumb版本2.8.13(http://timthumb.googlecode.com/svn/trunk/timthumb.php)
答案 1 :(得分:0)
对于在子域模式下使用域映射的WP站点,只需打开timthumb.php并更改第215行
FROM:
$this->myHost = preg_replace('/^www\./i', '', $_SERVER['HTTP_HOST']);
TO:
$this->myHost = preg_replace('/^www\./i', '', 'yoursubdomain.yourwordpressmultisite.com');