Welcome! To use this support forum, please Login or Join Today!

   

Updating thumb.php broke my images

{name}
Rank

Total Posts: 9

Joined 2011-08-08

PM

 

I just updated the “thumb.php” file as directed in this forum, only to have all my “uploaded” images stop working.  If I look at the url that the code is displaying it looks like this:

src="http://sitename.com/wp-content/themes/breeze/thumb.php?src=http://sitename.com/wp-content/uploads/2011/08/independence-slide.jpg&h=266&w=930" 


and for some reason, it’s not working. Any ideas?


Thanks!

{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 

The latest version of the timthumb script can be found here:
http://timthumb.googlecode.com/svn/trunk/timthumb.php

First, try updating the contensof thumb.php with this one, make sure the cache directory is writable (try 755 & 777) and owned by the same user.

I have seen one other occurrence of this in a shared hosting environment. The permissions with this update can be a little tricky. If you must roll back to the previous version, make sure the allow external variable is false so you won’t be compromising your site’s security.

{name}
Rank

Total Posts: 9

Joined 2011-08-08

PM

 

Ok, I just tried to update the file again and I checked the permissions which appear to be fine, and it’s still not showing those images… Where can I get the old file?

Thanks

{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 
{name}
Rank

Total Posts: 9

Joined 2011-08-08

PM

 

After I uploaded the old file, it’s working again… huh.  Well, I’ve set that variable to false, and I guess I’ll just leave it.

Thanks for all you help on this!

{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 

No problem. This one should be secure.
For safe measure, keep checking the updates with v.2. Hopefully they’ll get the issue sorted out pretty soon.