Skip to Content Skip to Menu

UddeIM Fil Atachment

  • Lightme
  • Lightme
  • OFFLINE
  • Posts: 17
  • Thanks: 0
  • Karma: -2
14 years 7 months ago #127529 by Lightme
UddeIM Fil Atachment was created by Lightme
Hello my question is why if I send files too other members they cannot open it for example a picture, pdf or word document they can open it but the whole file is empty. If I login to the server backend and go too file manager then I can manualy open the files as an owner but the members wanted to do this and it dont work. All files are 644 permission and apache instead of ownner of the website.

I tried to delete the .htacces but even this dont work hope someone face the same problem and can help me solve this (yes I am a donator ;) )

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
14 years 7 months ago #127546 by slabbi
Replied by slabbi on topic Re:UddeIM Fil Atachment
Does the "uddeimfiles" folder have the correct access rights (try 0777)?

Are the files stored in that folder correctly?

When you save the files instead of open them directly, is that working?

Does this problem appear in FF and IE?

I think it is a server configuration error, that it does not handle the MIME type uddeIM uses for binary downloads correctly.

It is the first time that this problem has been reported, so I do not think it is uddeIM related.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

14 years 6 months ago #130870 by fernandojcl
Replied by fernandojcl on topic Re:UddeIM Fil Atachment
Hello.

I have a similar problem.

If I download zip or doc files attached to an uddeim message, then I cannot open them in my computer (the files get correctly to the uddeimfiles folder and if I download them from there, I have no problem to open them)
Curiously, I have no problem with pdf files.

Should I undestand it's a server problem?

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
14 years 6 months ago #130924 by slabbi
Replied by slabbi on topic Re:UddeIM Fil Atachment
It seems that the BOM for unicode files is added. Don't know why but maybe you can fix it this way:

Search in "attachment.php" for (should be the next to last function in that file)



Does it work now?

If it still does not work, add

error_reporting(0);

before the ob_clean(); line. That should supress all output that may corrupt the download.

Post edited by: slabbi, at: 2010/04/22 13:15

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer
Attachments:

Please Log in or Create an account to join the conversation.

14 years 5 months ago #131035 by fernandojcl
Replied by fernandojcl on topic Re:UddeIM Fil Atachment
I have used:

error_reporting(0);
ob_clean();

and it works!!!

I`m very grateful for your help.

Please Log in or Create an account to join the conversation.

Moderators: beatnantslabbikrileon
Powered by Kunena Forum