Loading...
 
Skip to main content

server restarted and file upload blocked on file gallery where parent has a single quote on its name

Status
Pending
Subject
server restarted and file upload blocked on file gallery where parent has a single quote on its name
Version
2.x
Category
  • Error
  • Regression
Feature
File Gallery (elFinder or standard UI)
Submitted by
Xavier de Pedro
Rating
(0)
Description

At this site: http://www.moviments.net/ilp/
We had a file gallery called "Actes d'Assemblees i reunions" (without the surrounding double quotation marks)
http://moviments.net/ilp/tiki-list_file_gallery.php?galleryId=3

There was a child file gallery called: "Assemblea 080907" (without quotation marks)
http://moviments.net/ilp/tiki-list_file_gallery.php?galleryId=9

When I tried to upload a file (xls, "estat comptes.xls"), the server restarted in the middle of the upload and Firefox showed a "connection reset while loading page", etc.
I couldn't load other pages of this site or others on the same server for some seconds, but later on, server came up again.
So I could load other pages of the same tiki site. Then I tried again doing the same, and same behavior after attempting to upload that file: server restarted, etc.
After reloding file gallery, no file was uploaded, etc.

Then I went to the parent file gallery, and deleted at least the single quotation mark from the name, leaving that name as: "Assemblees i reunions"
Then the file could be uploaded with no problems at all on the child file gallery "Assemblea 080907"

This is the file, in case you want to reproduce with the same file, just in case:
http://moviments.net/ilp/tiki-download_file.php?fileId=20

Solution
I guess there must be some strings surrounded by single quotes some where, but I couldn't identify the problem on tiki-upload_file.php or tiki-upload_file.tpl (not skilled enough)
Importance
7
Priority
35
Demonstrate Bug on Tiki 19+
Please demonstrate your bug on show2.tiki.org
Demonstrate Bug (older Tiki versions)
Ticket ID
1999
Created
Saturday 30 August, 2008 17:12:50 UTC
by Unknown
LastModif
Saturday 30 August, 2008 17:12:50 UTC


Collapse/expand modules below
Show PHP error messages