FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Images uploaded don't show up in message
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Image file is corrupted on download [message #184890 is a reply to message #184889] Thu, 13 February 2014 18:14 Go to previous messageGo to previous message
wferguss   Canada
Messages: 11
Registered: December 2013
Karma:
Junior Member
Figured it out, at least for my case. There was an extra linefeed at the end of the ckeditor.plugin file, which was being sent to the output buffer before the attachment file. If you're not using this plugin it might be something similar from another source.

I found it using debug statements that printed the length of the output buffer. In getfile.php, the output buffer length was 1 before the readfile command. I kept moving them backwards through the code until I found the point where the extra data was getting inserted, which was when the plugin file was included.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: flood check reset
Next Topic: Error in confirmation email in Greek Language
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu May 02 00:54:33 GMT 2024

Total time taken to generate the page: 0.04281 seconds