Corrupt files after uploading

Get help with problems, or report & discuss bugs in Collabtive

Re: Corrupt files after uploading

Postby Serkol » 03.11.2014, 14:08


It was the encryption... actually it was lines 146-147 for me... anyway

I removed the following line with 2 forward slashes from 'managefile.php'

Code: Select all
//$myfile->encryptFile($file["tmp_name"], $settings["filePass"]);


Although I have only tested it on IE and my iphone so far.

Is there a reason for so much encryption? I mean if they are stored on my server arent the files fairly safe anyway? :?:

Thank you again for helping me disable the encryption, it now works just how I want :mrgreen:
Posts: 11
Joined: 27.10.2014, 23:27

Re: Corrupt files after uploading

Postby davidgarcia0001 » 06.11.2014, 02:34

I followed your instruction without any luck. I sent you a private message.

Remiguel wrote:@davidgarcia0001
I send you a private message with instructions. Do you have tried them?

Check your database first. In setting table have a look to be sure you haven't any double password under "filePass".
Posts: 16
Joined: 10.03.2013, 03:48

Re: Corrupt files after uploading

Postby davidgarcia0001 » 13.11.2014, 04:25

I have tried the solutions in this thread and I have not had any luck decrypting the files. I am willing to pay someone to help me decrypt the files. Please send me a private message if you are willing to help solve this problem.
Posts: 16
Joined: 10.03.2013, 03:48

Re: Corrupt files after uploading

Postby Remiguel » 19.11.2014, 23:50

Hi David

I assumed you were a Spanish speaker, sorry for my private message in Spanish. Here are my questions translated so that I get a starting point to try to provide you with support:

Do you have direct access to the Collabtive database?
Do you have more than one password under "filePass" in the setting table?
Do you have issue by opening some files or all are affected?
Posts: 96
Joined: 10.06.2014, 09:34
Location: Spain / France

Re: Corrupt files after uploading

Postby onda » 26.11.2014, 13:50

Followed all steps not to encrypt when updating, however having lots of issues while trying to display images and open .pdf, meaning some open some don't or taking along time. any ideas?
Posts: 95
Joined: 26.11.2012, 16:16

Re: Corrupt files after uploading

Postby safdar78 » 02.09.2020, 12:34

Philipp wrote:The method upload() in class.datei.php is only for legacy browser support and rarely used (IE7/8/9 basically).
All other browsers go through uploadAsync() , which doesnt do any encryption at this stage. I will refactor this as soon as i remove IE7/8/9 file support :P

Instead actual encryption is done in managefile.php line 77
Code: Select all
   //encrypt files in their tmp location
       $myfile->encryptFile($file["tmp_name"], $settings["filePass"]);

Remove this line.

Also read this:
http://collabtive.o-dyn.de/forum/viewto ... 188#p24914

Basically with Collabtive 2.0 you need to log in and download a file from the web interface to open it.
You can not open it directly in the upload directory of Collabtive with a filemanager, or download it with FTP.

Safari, Firefox (Mac OS), Internet Explorer (Win) can not open files (tested with pdf, doc and docx files) after download!

Only chromium (Mac OSX) works up to now successfully!

I can't confirm the problems on windows. However there are 2 known bugs:
* You can't use the links from file-uploaded mail notifications - they point to the encrypted files
* Upload in IE7/8/9 is broken (and will be removed next release)
Posts: 1
Joined: 07.01.2017, 13:03


Return to Problems and Bugs

Who is online

Users browsing this forum: No registered users