Title: timthumb lockfile error
Last modified: August 20, 2016

---

# timthumb lockfile error

 *  [tedhowardnz](https://wordpress.org/support/users/tedhowardnz/)
 * (@tedhowardnz)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/timthumb-lockfile-error/)
 * Can anyone help with the following error message:
 * Warning: fopen(./cache/timthumb_int_231fa74f70d57a1d7f66b6919fad3e9a.timthumb.
   txt.lock) [function.fopen]: failed to open stream: Permission denied in /home/
   recfish/recfish.co.nz/wp-content/themes/LondonLive/thumb.php on line 777
    A TimThumb
   error has occured
 * The following error(s) occured:
    Could not open the lockfile for writing an image.
 * Query String : src=http://www.recfish.co.nz/wp-content/uploads/2011/03/group-
   surfcasting.jpg&w=340&h=192&zc=1&q=100
    TimThumb version : 2.8
 * In the main screen the image is not showing, just a broken link.
    The file is
   present, in the right location.

Viewing 11 replies - 1 through 11 (of 11 total)

 *  [Jon Dingman](https://wordpress.org/support/users/jdingman/)
 * (@jdingman)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/timthumb-lockfile-error/#post-2769856)
 * Maybe your /cache/ files aren’t writable. I would try contacting your web host
   to see if there are any permission issues.
 *  Thread Starter [tedhowardnz](https://wordpress.org/support/users/tedhowardnz/)
 * (@tedhowardnz)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/timthumb-lockfile-error/#post-2769874)
 * Have sent off a request to webhost – unfortunately it is now the weekend here
   in New Zealand.
 * Have just been informed of another somewhat more pressing issue.
 * It seems that only I, as administrator, can see the site. Everyone else just 
   sees weird characters –
    Try for yourself – [http://www.recfish.co.nz](http://www.recfish.co.nz)
 *  [Jon Dingman](https://wordpress.org/support/users/jdingman/)
 * (@jdingman)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/timthumb-lockfile-error/#post-2769875)
 * Ah, I’ve run into this issue in the past.
 * Do you have any sort of caching plug installed?
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/timthumb-lockfile-error/#post-2769876)
 * Yep gibberish. Hacked? Tim thumb has caused major hacking problems in the past…
 *  Thread Starter [tedhowardnz](https://wordpress.org/support/users/tedhowardnz/)
 * (@tedhowardnz)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/timthumb-lockfile-error/#post-2769877)
 * Hi Jonathan
    Yes – there is a caching Plugin – W3 Total Cache – and when I look
   at it’s settings it is enabled, but browser caching and and minify are not enabled.
   There are options to autoinstall both.
 * While I have been programing for many years, and am familiar with the concept
   of caching, I have not encountered this particular tool before, and have no knowledge
   of what it is actually doing or why it is there.
 * Page caching is enabled, and is set to disk basic
    Minify is active, but with
   thewarnings above, probably isn’t doing what it ought.
 *  [Jon Dingman](https://wordpress.org/support/users/jdingman/)
 * (@jdingman)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/timthumb-lockfile-error/#post-2769878)
 * I would disable that for the time being, until your web host can get back to 
   you.
 * It’s probably with permissions and the files are getting locked up incorrectly.
 *  Thread Starter [tedhowardnz](https://wordpress.org/support/users/tedhowardnz/)
 * (@tedhowardnz)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/timthumb-lockfile-error/#post-2769879)
 * Just tried to autoinstall the browser rules, and got:
 * The browser cache rules could not be modified. Please run **chmod 777 /home/recfish/
   recfish.co.nz/.htaccess** to resolve this issue.
 *  Thread Starter [tedhowardnz](https://wordpress.org/support/users/tedhowardnz/)
 * (@tedhowardnz)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/timthumb-lockfile-error/#post-2769880)
 * Disabling the cache did nothing, still looks like garbage on my wife’s machine–
   still perfectly readable on mine.
 * Weird!
 *  [Jon Dingman](https://wordpress.org/support/users/jdingman/)
 * (@jdingman)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/timthumb-lockfile-error/#post-2769881)
 * try clearing out the .htaccess file back to the original state, it could be using
   the old caching files still.
 *  Thread Starter [tedhowardnz](https://wordpress.org/support/users/tedhowardnz/)
 * (@tedhowardnz)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/timthumb-lockfile-error/#post-2769883)
 * Hi Jonathan
 * Which .htaccess file – lots of them, in lots of different folders?
    What out 
   it to be?
 * Most seem to have 3 lines:
    Options -Indexes Order deny,allow Deny from all
 * the one in the root folder has:
 * #BEGIN Image Upload HTTP Error Fix
    <IfModule mod_security.c> <Files async-upload.
   php> SecFilterEngine Off SecFilterScanPOST Off </Files> </IfModule> #END Image
   Upload HTTP Error Fix
 *  [selnomeria](https://wordpress.org/support/users/selnomeria/)
 * (@selnomeria)
 * [13 years ago](https://wordpress.org/support/topic/timthumb-lockfile-error/#post-2770088)
 * it maybe not a problem of .htaccess, but you need to enter that thumb.php folder,
   and set “cache” folder’s **permission to 755 or 777**.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘timthumb lockfile error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 11 replies
 * 4 participants
 * Last reply from: [selnomeria](https://wordpress.org/support/users/selnomeria/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/timthumb-lockfile-error/#post-2770088)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
