zembereck / timthumb

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

Could note create the index.html file. #311

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

You can see it here on the site with error - 
http://rswebeir0001.bitnamiapp.com/wordpress/wp-content/themes/striking/includes
/timthumb.php?src=/wp-content/uploads/2011/12/rightsizelogowhite200.png&h=150&w=
290&zc=1 

Original image CAN be displayed - 
http://rswebeir0001.bitnamiapp.com/wordpress/wp-content/uploads/2011/12/rightsiz
elogowhite200.png 

What is the expected output? What do you see instead?
Expect the image but get

"A TimThumb error has occured 

The following error(s) occured: 
Could note create the index.html file. 

Query String : 
src=/wp-content/uploads/2011/12/rightsizelogowhite200.png&h=150&w=290&zc=1 
TimThumb version : 2.8.5" 

What version of the product are you using? On what operating system?
2.8.5, Ubuntu Linux
Linux ip-10-58-163-12 2.6.32-317-ec2 #36-Ubuntu SMP Fri Jul 8 18:12:30 UTC 2011 
x86_64 GNU/Linux
Striking 5.1 Wordpress 3.3
Hosting on AWS EC2 via bitnami stack

Please provide any additional information below.

Timthumb isn't displaying any images. 

/opt/bitnami/apps/wordpress/htdocs/wp-content/themes/striking/cache has 777 
permissions 
/opt/bitnami/apps/wordpress/htdocs/wp-content/themes/striking/cache has 777 
permissions 

bitnami@ip-xx-xx-xx-xx:/opt/bitnami/apps/wordpress/htdocs/wp-content/themes/stri
king/cache$ ls -las 
total 24 
4 drwxrwxrwx 4 bitnami bitnami 4096 2011-12-29 12:58 . 
4 drwxr-xr-x 14 bitnami bitnami 4096 2011-12-29 12:44 .. 
4 drwxrwxrwx 2 bitnami bitnami 4096 2011-12-29 12:44 backup 
4 drwxrwxrwx 2 bitnami bitnami 4096 2011-12-29 13:03 images 
0 -rwxrwxrwx 1 bitnami bitnami 0 2011-12-29 12:44 index.html 
8 -rw-r--r-- 1 daemon daemon 7563 2011-12-30 13:01 skin.css 

Original issue reported on code.google.com by paul.sea...@rightsize.co.uk on 30 Dec 2011 at 6:25

GoogleCodeExporter commented 9 years ago
Fixed with

/opt/bitnami/apps/wordpress/htdocs/wp-content/themes/striking/cache/images$ 
chmod 777 index.html

Original comment by paul.sea...@rightsize.co.uk on 31 Dec 2011 at 1:02

GoogleCodeExporter commented 9 years ago
glad you worked it out

Original comment by BinaryMoon on 4 Jan 2012 at 7:37

GoogleCodeExporter commented 9 years ago
@paul

is it really the only permission you changed?

i am having the same issue after moving a wordpress install, all works except 
for the timtumb.php?src= part

Any tips?

Original comment by wesweaty...@gmail.com on 16 Feb 2012 at 7:36

GoogleCodeExporter commented 9 years ago
http://www.binarymoon.co.uk/2010/11/timthumb-hints-tips/
http://kaptinlin.com/support/discussion/comment/13658

I had to change timthumb-config.php to support getting images from Amazon 
(external source).

bitnami@ip-10-58-163-12:/opt/bitnami/apps/wordpress/htdocs/wp-content/themes/str
iking/includes$ vi timthumb-config.php

<?php
define ('ALLOW_EXTERNAL', TRUE);
define ('FILE_CACHE_DIRECTORY', '../cache/images');
define ('MAX_WIDTH', 1500);
define ('MAX_HEIGHT', 1500); 

Original comment by paulseat...@gmail.com on 16 Feb 2012 at 8:54