Loading...
 
Architecture / Installation

Architecture / Installation


Re:Broken Download from Files Stored in Directory

posts: 111 Taiwan

here is the fix, I wonder how it is there, I'll induire more about the context and the upstreaming of the solution.

edit lib/tikilib.php replace line 1459

Copy to clipboard
$query = "select path,galleryId,filename,filetype,data from tiki_files where fileId='$id'";

by

Copy to clipboard
$query = "select path,galleryId,filename,filetype,data,filesize from tiki_files where fileId='$id'";

(the difference is in the filesize)...

Thanks for your reporting !

mose

There are no comments at this time.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting