Bug #25306
closedThumbs in BE are not displayed but generatedt in typo3temp. BE only shows filename (twice) instead of image
0%
Description
BE typo3_src-4.5.2/t3lib/thumbs.php only shows filename instead of image
because somehow sometihing/a byte is in the output-buffer whitch makes the image-data invalid.
calling ob_clean() in line 252 like
if($fd = @fopen($this->output,'rb')) {
ob_clean();
header('Content-type: image/'.$outext);
fpassthru($fd);
fclose($fd);
} else {
$this->errorGif('Read problem!','',$this->output);
}
solves the problem, is a working workaround.
calling
uname a
------------
Linux 2.6.37-default #1 SMP Tue Feb 15 10:33:07 CET 2011 x86_64 x86_64 x86_64 GNU/Linux
rpm q php5
-------------
php5-5.2.12-0.1
(issue imported from #M17925)
Updated by Chris topher over 13 years ago
I guess it's a configuration issue.
Did it work with earlier versions of TYPO3?
Did you migrate to UTF-8 now?
Did you also switch the encoding of the configuration files to UTF-8?
This can cause the byte order mark from one of these files to be in the output buffer. Using UTF-8 without BOM prevents that.
Updated by Steffen Gebert over 13 years ago
I assume you have a white-space in an included file outside of , which is sent to the client.
Updated by Jrgen Leonhardt over 13 years ago
Hi there,
thanks a lot, the problem is solved. It was al line break on the very end of realurl_conf.php after ?>.
Things are hard from time to time.
Regards
Jürgen Leonhardt