Support » Fixing WordPress » **Please Help** Timthumb issue..not working

  • I have an old free Newspress theme that used a very old version of TimThumb. Once the hack happened my hosting site is making me use the newest version of timthumb, the issue is it doesn’t work. The thumbnails will not show up at all (

    I check folder permissions and temp/cache are set to 755, hosting says they cannot set them to 777. The GD lib is there….

    Here is a thumb link: img src=”″ alt=”” width=”171″ height=”175″

    Can anyone give me some guidence? I don’t know what I need to do to fix it.


Viewing 15 replies - 1 through 15 (of 22 total)
  • Ok, I’m banging my head against a wall with this…I have MU and added the code to the functions.php, now I’m trying to figure out what I need to add to my index.php that calls the thumb.php

    This is what is looks like now:

    <div class=”post_thumb”>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php echo ‘<img src=”‘. get_bloginfo(‘template_url’). ‘/thumb.php?src=’. $thumb .’&h=’.$image_height.’&w=’.$image_width.’&zc=1&q=100″ alt=”” width=”‘.$image_width.'” height=”‘.$image_height.'” />’; ?></div>

    Any suggestions? Can someone point me in the right direction?

    Just an update…still haven’t gotton anywhere with it. Talking with the hosting site to see if I can use the old one so the site works until I get this figured out. I think the one I was using was fine because it was before the “External” site piece.

    So here is my 2 cents: LOL

    When i go to your side i get bad request here:



    Now look on one of my sites:



    I’m sure you have double and triple check that the thumb.php file is where it should be so in your case:

    My guess is you’re having permission problems because obviously your above examples should have worked as my examples did. My problems with thumb.php script similar to this always ends up being permissions.

    I had to have temp, cache, and script permissions at 777.

    What permission does your thump.php have?
    What permission does your wp-content/uploads folder have? Try making both 755 to see if it does anything?

    Also be sure all files in folders temp and cache have same permissions.

    Hope i didn’t just repeat everything you have already tried. LOL

    Let me know!

    Again i have to note that I had to give 777 permissions to make mine work.


    Thanks so much for the response. The permissions are all set to 755, but I don’t have permission to change them. I contacted my hosting site and they said:

    “Unfortunately, it is not possible to set permissions for particular file/folder in windows platform. However, I have reset permissions for the whole web directory for your account.”

    Do you know how this should be done on a Windows box? Thanks again, I’m about ready to give up on this one!


    I’m only familiar with an Linux set-up. When using running WordPress, stick with Linux. Your life will be MUCH easier.

    WordPress Running on a Linux Server is like a happy married couple that would never divorce because they are meant for each other.

    WordPress on Windows is that marriage where everything has to be changed to make things work.

    • Can you FTP into your site?
    • What FTP Client do you use? You usually edit permissions within the FTP Client. I Use FileZilla
    • Where are you hosting?
    • What do you pay for hosting?

    My best advice would be to move to a new server for these reasons.

    • You have control of you’re permissions
    • Your site might run better. (I have very long load times viewing your site.)

    10 Reasons Why Not to Host Your WordPress Blog on a Windows Platform
    Some extra backup:

    Thanks again Brad! I use FileZilla but I don’t have access to change permissions. I use for hosting and so far they have been horrible. I wish it was that easy to change but I just don’t have the time and the site is pretty large to move, I would rather not is what I’m saying.


    They have linux options but they are 4-5 times as much.

    Well, unfortunately I feel that moving to a different host is going to solve a lot if issue.

    I do migrations similar to this all the time. I think it could be done with just a few hours of work possibly faster.

    When i migrate WordPress from a Linux server to another Linux Server i can usually get it done within and hour or two. If you decide you would like someone to do it for you just let me know!

    Thanks for all the help Brad!

    That is backwards! Windows should always be more expensive then Linux.
    I Host 30 + websites on a Linux box for $25 month. You can find web hosting accounts with more than enough space and bandwidth for $3-$10 a month. Your thumb.php seems to be working now! I see images!

    If tells you Linux is more expensive that would be yet another reason to not use them.

    Linux is free open source software for hosting companies with no licensing restrictions which makes it cheap!

    Windows obviously is not open source and Hosting companies have to foot a big bill on licensing making it more expensive.

    The reason it is working is because I’m using the old thumb.php which should be ok because it doesn’t have any external site functionality in it (very old version).

    I’ll have to look into new hosting sites, has many things stacked against it.


    Just an update on this, I’m not sure what the issue is. I was finally able to re-write timthumb and get some logging because my host basically refuses to get me the php logs. Here is what I’m getting in logging…

    TimThumb Debug line 1085 [0.096342 : 0.007037]: Is a request for an internal file: /PleasantView/wp-content/uploads/2011/08/clip_image0023.jpg

    TimThumb Debug line 1085 [0.094562 : 0.007359]: Is a request for an internal file: /PleasantView/wp-content/uploads/2011/08/39w.jpg

    TimThumb Debug line 1085 [0.112154 : 0.015799]: Found file as //boswinfs02/home/users/web/b2048/ez.001pv003/PleasantView/wp-content/uploads/2011/08/clip_image0023.jpg

    TimThumb Debug line 1085 [0.111465 : 0.016900]: Found file as //boswinfs02/home/users/web/b2048/ez.001pv003/PleasantView/wp-content/uploads/2011/08/39w.jpg

    TimThumb Debug line 1085 [0.133363 : 0.021210]: Security block: The file specified occurs outside the document root.

    TimThumb Debug line 1085 [0.134354 : 0.022889]: Security block: The file specified occurs outside the document root.

    TimThumb Debug line 1085 [2.392520 : 2.259156]: Trying file as: //boswinfs02/home/users/web/b2048/ez.001pv003\\boswinfs02\home\users\web\b2048\ez.001pv003\PleasantView\wp-content\themes\newspress\thumb.php/PleasantView/wp-content/uploads/2011/08/clip_image0023.jpg

    TimThumb Debug line 1085 [2.418915 : 0.026383]: Could not find the local image:

    TimThumb Debug line 1085 [2.423611 : 0.009982]: Adding error message: Could not find the internal image you specified.

    What I don’t understand is the path “//boswinfs02/home/users/web/b2048/ez.001pv003/PleasantView/wp-content/uploads/2011/08/39w.jpg” should be right…


    Same insanely irritating problem happening here.. This all happened after upgrading timthumb, absolutely nothing else is changed.. I, unlike the OP have root on my server and perms are all set perfectly and have been tried in every which way so this isn’t an issue.. Same error logs is the exact same.. Here’s just how messed up it is..

    [Mon Oct 31 01:02:37 2011] [error] [client] TimThumb Debug line 1076 [0.000327 : 0.000198] Doc root is: /path/to/domain
    Found file as /path/to/domain/wp-content/uploads/2009/11/ComfortInn1.jpg
    [Mon Oct 31 01:02:37 2011] [error] [client] TimThumb Debug line 1076 [0.001643 : 0.000392]: Security block: The file specified occurs outside the document root.

    W-T-F?!?!?! it’s telling me that a file that lies within my specific Doc root is simulataneously outside my Doc root?!?! can someone just please shoot me to save me from having to go through this lunacy?

    I would make sure that you go through the debugging process to make sure you have hte same problem as me but here’s my fix:

    Upgraded Timthumbs not displaying images: Could not find the internal image you specified.

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘**Please Help** Timthumb issue..not working’ is closed to new replies.