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

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

by

$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