ferenznetworks / timthumb

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

TimThumb Cache Issues - Safari 4.0.x (White Screens / Missing Thumbs) #81

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Using Safari 4.0.x
2. On Verio Hosting VPS 
3. TimThumb.php at www.habershamhome.com

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

Works fine at first, after a few refreshes, Safari goes to a white screen.  If 
I comment out this: line 480 
header("HTTP/1.1 304 Not Modified"); Then the white screens stop, but 
thumbnails come up missing.  Possible 
related issue here: http://forums.slideshowpro.net/viewtopic.php?id=23293  All 
other browsers work fine.

What version of the product are you using? On what operating system?

1.12 - Max OSX, Safari 4.0.5 (Issue happened on 4.0.4 and 4.0.3 as well)

Please provide any additional information below.

Original issue reported on code.google.com by chip....@gmail.com on 25 Mar 2010 at 2:25

Attachments:

GoogleCodeExporter commented 8 years ago
I get this same problem using timthumb here:
http://www.nicolayeoman.com/index.php/gallery_home/

Only appears to affect Safari?

Please let me know if you find a fix!
Thanks
Matt

Original comment by voodoo...@gmail.com on 31 Mar 2010 at 3:32

GoogleCodeExporter commented 8 years ago
I get the same problem on MediaTemple (ve) hosting.  In addition:

Frequently, images load partially (such as an image that is supposed to load to 
a height of 292px only loads to 
270px, leaving the rest black.  Often, when images are loaded only partially, 
after 30 seconds - 1 minute of 
having the page displayed, the partially loaded images will just disappear 
entirely, being replaced by the 
"broken image" question mark.  The issue I just described also happened twice 
in Chrome 5.0.375.55 for on 
Mac OS X 10.6, but Chrome has never experienced the "white screen" error, and 
after those two instances, it 
has been working fine.

Very much appreciation to anybody who can fix this soon!  Thanks!

Original comment by BH8...@gmail.com on 7 Jun 2010 at 1:17

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Getting the same "white out" issue at http://www.biostheoretikos.com using 
Safari 4 & 5, hosting is Verio LINUX VPS.

A temp fix is to add the following to your .htaccess file, however this is NOT 
a complete fix since it disables all caching and can impact load speed.

#Start TimThumb Cache Disable
Header unset ETag
Header unset Last-Modified
#End TimThumb Cache Disable

Need permanent fix.  Thanks!

Original comment by webmas...@scherrtech.com on 24 Jun 2010 at 3:12

GoogleCodeExporter commented 8 years ago
no idea what the problem is with this but if you could try the latest version 
of the script and let me know how that goes I'd appreciate it. There have been 
a lot of changes recently that have improved stability for me so perhaps one of 
them has helped here.

Thanks

Original comment by BinaryMoon on 15 Sep 2010 at 4:38

GoogleCodeExporter commented 8 years ago
Thank you for the update.  Yes, have done some preliminary testing and it 
appears to have fixed the blank white page issue in Safari.  Cannot test in the 
proper environment because it is changing the export from jpg to png.

The script current converts all images to the larger png format with large load 
times regardless of original format.  

Was previously using version 1.08 by christoph.boecken's at 
http://code.google.com/p/timthumb/issues/detail?id=28#c13 and that properly 
coverted to jpg and allowed the adjustment of quality setting.

This may be a topic for another thread, but is there jpg export with quality 
setting with version 1.15?

Thanks!

Original comment by webmas...@scherrtech.com on 15 Sep 2010 at 10:48

GoogleCodeExporter commented 8 years ago
Again, please accept my apologies for posting this here (please move it to the 
appropriate area) but finished editing version 1.15 of the script to function 
as jpg export only for all formats.  

Appear to have gotten things working and no blank white screen in Safari.

The cache directory now shows all jpg's of proper size (k).  Please review the 
edits to the script as I may have broken something else without knowing it.  
Thanks!

Original comment by webmas...@scherrtech.com on 15 Sep 2010 at 11:55

Attachments:

GoogleCodeExporter commented 8 years ago
Hi - the current version of the script does export jpgs quite happily. It will 
resize jpgs as jpgs, and gifs and pngs as png. The reason for using png is that 
it retains the transparency information, which get's totally erased with jpg.

It's for this reason that I won't update the code to use jpg only

If you can show me a jpg that is not being converted to a jpg cache file then 
I'd be happy to take a look, but I am pretty sure that's not happening. It did 
happen a while ago - but has been fixed for a few months, and I've had 
independent confirmation from other users.

Original comment by BinaryMoon on 27 Sep 2010 at 3:16

GoogleCodeExporter commented 8 years ago
Hi. Unfortuanately, I still seem to experience this problem using v116 and 
safari 5.0.3 (mac) - if i refresh the page a few times, eventually I get the 
black/white screen..
http://www.nicolayeoman.com/index.php/gallery_home/

I just updated to v119 but had a problem with some of the thumbs not displaying 
- i deleted the files in the cache folder but the problem persisted (each 
refresh it is the same thumbs not showing) - is there something I have to do 
each time I update the timthumb.php script to clear the cache/get all working 
again properly?

Anybody else still have problems with this?
Thanks

Original comment by voodoo...@gmail.com on 4 Jan 2011 at 3:48

GoogleCodeExporter commented 8 years ago
after some more investigation, the white screen thing seems to be a safari 
problem that happens to many sites..
http://discussions.apple.com/thread.jspa?messageID=12441876�

though on the sites I host it only *seems* to happen on this one site, which 
incidently is the only one that uses timthumb. It could of course be some other 
code in the site  - it has been built using expression engine which may also be 
the culprit, I just thought it worth noting here for reference..

Original comment by voodoo...@gmail.com on 11 Jan 2011 at 10:44

GoogleCodeExporter commented 8 years ago

Original comment by BinaryMoon on 11 Jun 2011 at 9:11