jperezmedina / timthumb

Automatically exported from code.google.com/p/timthumb
0 stars 0 forks source link

Could not open the lockfile for writing an image #251

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will Reproduce the problem?

1. using timthumb
2. I created an article. After I added a picture with this article thumbnail 
The command
3. but both the article and the picture does not appear on the main page.

What is the expected output? What do you see instead?

Warning: touch () [function.touch]: Unable to create file. / Cache / 
index.html, because Permission denied in / home / yilmazac / public_html / 
wp-content / themes / TheCorporation / timthumb.php on line 189

Warning: touch () [function.touch]: Unable to create file. / Cache / 
timthumb_cacheLastCleanTime.touch because Permission denied in / home / 
yilmazac / public_html / wp-content / themes / TheCorporation / timthumb.php on 
line 445

Warning: fopen 
(./cache/timthumb_int_582a0a701a2d06015240c78f31563c31.timthumb.txt.lock) 
[function.fopen]: failed to open stream: Permission denied in / home / yilmazac 
/ public_html / wp-content / themes / TheCorporation / timthumb.php on line 771

Warning: Can not modify header information - headers already sent by (output 
started at / home / yilmazac / public_html / wp-content / themes / 
TheCorporation / timthumb.php: 189) in / home / yilmazac / public_html / 
wp-content / themes / TheCorporation / timthumb.php on line 410
A error has TimThumb occured
The Following error (s) occured:

     Could not open the LockFile for writing an image.

Query String: src = 
http://www.yilmazacikel.com/wp-content/uploads/2011/08/Koala-300x225.jpg&h=185&w
=185&zc=1
TimThumb version: 2.8

What version of the product are you using? On what's operating system?
version 2.8 / Windows 7 Ultimate 64-bit

Please provide any additional information below.

Original issue reported on code.google.com by yilmazac...@gmail.com on 31 Aug 2011 at 8:02

GoogleCodeExporter commented 8 years ago
Thank you I solved the problem. I made the cache folder permissions to 777.

Original comment by yilmazac...@gmail.com on 31 Aug 2011 at 8:49

GoogleCodeExporter commented 8 years ago
glad you worked it out :)

Original comment by BinaryMoon on 1 Sep 2011 at 7:54

GoogleCodeExporter commented 8 years ago
Thanks for this!!  I had this same issue, and this solved it!!  :)

Original comment by andrew...@gmail.com on 15 Sep 2011 at 3:02

GoogleCodeExporter commented 8 years ago
welcome andrew. I am happy for your problem solved

Original comment by yilmazac...@gmail.com on 18 Sep 2011 at 8:35

GoogleCodeExporter commented 8 years ago
Thanks yilmazac...@gmail.com for giving this solution. Even i had the problem 
and scratching my head for so long.....

Original comment by viresh.s...@quagnitia.com on 15 Dec 2011 at 7:02

GoogleCodeExporter commented 8 years ago
thanks viresh

Original comment by yilmazac...@gmail.com on 17 Dec 2011 at 9:56

GoogleCodeExporter commented 8 years ago
Permissions should never be set anywhere to 777 for anything on a web server. 
What are you guys thinking?
Please provide a different workaround. 

Original comment by chez...@gmail.com on 17 Jan 2012 at 7:12

GoogleCodeExporter commented 8 years ago
I have the exactly same problem - not show images...

even i set to 755 or 777 the "cache" and "timthumb.php" 

any other post i added with pictures, its just how has to be show up.

http://www.autouvegsoos.hu/ujlap/car-listing/  --no pictures/images at all..

and the timthumb.php output: 
http://www.autouvegsoos.hu/ujlap/wp-content/themes/radial-theme/timthumb.php?src
=http://www.autouvegsoos.hu/ujlap/wp-content/uploads/2011/09/url9.jpg&w=70&h=70&
zc=1&q=100

the picture there: 
http://www.autouvegsoos.hu/ujlap/wp-content/uploads/2011/09/url9.jpg

Any ideahow to fix it?

Thanx :)

Zoltan

Original comment by jeanmaff...@gmail.com on 31 Jan 2012 at 5:00

GoogleCodeExporter commented 8 years ago
chez...@gmail.com I agree with your opinion. However, the problem will not be. 
You can build a security program for your web site's security. Visit 
http://www.websitedefender.com/ address. Not be a problem for you, you are 
given permission. I hope you could help.

Original comment by yilmazac...@gmail.com on 2 Feb 2012 at 2:40

GoogleCodeExporter commented 8 years ago
eanmaff ... @ gmail.com what your web site's infrastructure. Wordpress or 
Joomla or php. You do not know what I use. Maybe you are used may not support 
the version. Unfortunately, you will not find much help with the information he 
provided.

Original comment by yilmazac...@gmail.com on 2 Feb 2012 at 2:46