Fullscreen
Loading...
 
Skip to main content

Upload Mulitple Files Broken in 4.1 File Gallery Feature

Status
Open
Subject
Upload Mulitple Files Broken in 4.1 File Gallery Feature
Version
4.x
Category
  • Usability
  • Regression
  • Consistency
Feature
File Gallery (elFinder or standard UI)
Submitted by
Ed
Lastmod by
Ed
Rating
(0)
Description

Update!

  1. Unzip Zip Files (Batch Upload) is Broken for Windows and CentOS
  2. Adding Multiple files one at a time, then uploading in-batch is broken ONLY for Windows XP (CentOS works).


System Used:

1) Windows XP
XAMPP
Tiki 4.0 and 4.1 (12-15-2009)
IE 8 or Mozilla FF 3

2) CentOS 5.x
Tiki 4.0 and 4.1
IE 8

In Tiki 3.x it is possible to upload multiple files at one time to any file gallery by one of two methods:

1. Keep clicking the "Add" button and add select multiple files for uploading. Then finally click the "Upload" button.

2. Select a zip file to upload, and check the "Unzip" checkbox.

In Tiki 4.0/4.1 this feature is broken. The resulting behavior is that the upload progress-indicator (spoked-wheel animation) runs forever, and the Apache server must be restarted before the user can continue to upload any other files after the failed attempt at multiple-uploads.

For purposes of data/file migration to Tiki, this is a serious issue.
I'm not much of a PHP programmer, and I suspect other Tiki users are not either...so checking out the latest code from the head of a branch is probably not a great work-around (in general).

Files
  1. Unzipping Files When Uploading To File Gallery Bug In Tiki 4.1
  2. filegallib_php.zip
Workaround
The bug seems to be connected with the new file quota code in "filegallib.php". I succeeded in bypassing that new feature, and restoring the unzipping a zip file (batch upload) feature. See the attached PDF and zip file (containing the hacked version of filegallib.php that restores the batch-upload by zip feature).
Importance
9 high
Priority
45
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
3033
Created
Wednesday 10 February, 2010 12:08:28 UTC
by Ed
LastModif
Saturday 06 July, 2024 10:21:44 UTC


Show PHP error messages