[development] Fwd: [infrastructure] [Drupal.org problem]
drupal4.6.5 - file.inc
dries at buytaert.net
Mon Jan 23 07:14:30 UTC 2006
Begin forwarded message:
> From: candy at xz.cz
> Date: Mon 23 Jan 2006 01:01:37 GMT+01:00
> To: infrastructure at drupal.org
> Subject: [infrastructure] [Drupal.org problem] drupal4.6.5 - file.inc
> Reply-To: candy at xz.cz, "A list for Drupal infrastructure
> maintainers \(eg. drupal.org, CVS, mailing lists\)"
> <infrastructure at drupal.org>
> CandySan sent a message using the contact form at
> HI! [solved problem]
> I had a problem with images (private downloads) and firefox on
> linux. The images would not be printed; FF/Linux says "broken
> image"; Opera/Linux
> ok; Windows not tested.
> The problem was found in the includes/file.inc file in function
> file_transfer. There is a line "ob_end_clean();" before sending data -
> this is the problem; Comment out this line solves the problem.
> One more improvement is in the same function in the while loop:
> after line
> "print fread($fd, 1024);" it is better to add line "ob_flush();
> to reduce memory consummation and some memory limits.
> P.S. sorry if it should be in some bug report, but it is solved...
> [ infrastructure | http://lists.drupal.org/listinfo/infrastructure ]
Dries Buytaert :: http://www.buytaert.net/
More information about the development