2012-12-30 00:02 阅读 38

WP Timthumb路径错误 - 可能缓存相关? [关闭]

I copied a subdomain ( with a wp install from one server to another. Long story short, while I made the transfer and the DNS for the domain had not been yet redirected to the new server, I used my server's preview URL which was:

Now that the DNS transfer is over, I changed the two rows in the wp_options table that had the url above to the new one:

EVERYTHING works ok EXCEPT for timthumb.php's pathing.

My suspicion is that it somehow stored the previous url before the dns change took place and is now using that which leads to problems...

This can be seen in the homepage

where the sliding gallery is devoid of thumb images save for a handful (for some odd reason, this handful has a proper pathing even if its very long)

If you fetch the source for the missing images, you get for example:

which leads to an error

So I can't help but wonder how to set the pathing timthumb uses to the correct one.

Regards Sotkra

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

1条回答 默认 最新

  • 已采纳
    dongxiaolin2801 dongxiaolin2801 2012-12-30 00:52

    Timthumb.php was within themes/eVid/

    So I went to the admin panel, disabled evid as a theme, enabled the standard twentyeleven theme, disabled it and re-enabled eVid... bam, it updated its filepaths and now everything works perfectly.

    点赞 评论 复制链接分享