Free Web Hosting Forum
(#1 (permalink))
Old
Junior Member
moszilla is on a distinguished road
 
Posts: 17
Join Date: Jul 2010
Unhappy timthumb - 07-21-2010, 01:59 PM

I have a problem with my site

I don't understand why I can't see The thumbnails.


In localhost this template works really nice. Did you have a solution for this issue ?
Attached Images
File Type: jpg timthumb.jpg (18.9 KB, 31 views)
Reply With Quote
Sponsored Links
(#2 (permalink))
Old
Beim's Avatar
Senior Member
Beim is on a distinguished road
 
Posts: 387
Join Date: May 2009
Location: Michigan
Send a message via AIM to Beim
Default 07-22-2010, 12:58 PM

Ur coding is corrupted somewere in the site. If you want, you can pm your source and I can fix it for you to work on 000webhost.


- Jay
000webhost Support
Reply With Quote
(#4 (permalink))
Old
Junior Member
moszilla is on a distinguished road
 
Posts: 17
Join Date: Jul 2010
Unhappy 07-22-2010, 06:10 PM

my website sorry

I don't know if this is a problem of the script

Thanks in advance
Reply With Quote
(#5 (permalink))
Old
Bad Karma[CORE]'s Avatar
Guilty as charged
Bad Karma[CORE] is on a distinguished road
 
Posts: 6,133
Join Date: May 2008
Default 07-22-2010, 06:59 PM

i think it´s down to the script in combination with the server setup. I use the same script (timthumb) on my server and it works perfectly fine
Reply With Quote
(#6 (permalink))
Old
Junior Member
moszilla is on a distinguished road
 
Posts: 17
Join Date: Jul 2010
Default 07-23-2010, 09:24 AM



OK fine, i am not a specialist, but finally I have found the solution on google and your forum in fact. It's a problem of script :

Wordpress | Thumbnail Resizer (timthumb.php) Problem

this code give us the solution in the script.

}

$fileSize = filesize ($cache_file);

$buffer = file_get_contents($cache_file);

ob_get_clean();
ob_start();



header ('Last-Modified: ' . $gmdate_mod);
header ('Cache-Control: max-age=9999, must-revalidate');
header ('Expires: ' . $gmdate_mod);
header ('Accept-Ranges: bytes');
header ('Content-Type: ' . $mime_type);
header ('Content-Length: ' . $fileSize);

echo $buffer;
$sContents = ob_get_contents();
ob_end_clean();
echo $sContents;
}

thanks a lot for your reply
Attached Files
File Type: zip timthumb.php 3.zip (6.4 KB, 86 views)
Reply With Quote
(#8 (permalink))
Old
Junior Member
zanozik is on a distinguished road
 
Posts: 1
Join Date: Sep 2010
Thumbs up Working! - 09-02-2010, 05:37 AM

I can also confirm that your solution has worked. Just needed to CHMOD cache to 777, upload your moded script and everything was up and running
Thank You a lot!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.2
vBulletin Skin developed by: vBStyles.com