Loading...
 
Skip to main content

9.x svn to 10.x svn: files don't get uploaded to file galleries

Status
Closed
Subject
9.x svn to 10.x svn: files don't get uploaded to file galleries
Version
10.x
Category
  • Error
  • Regression
Feature
File Gallery (elFinder or standard UI)
Resolution status
Fix on the Way
Submitted by
Xavier de Pedro
Lastmod by
Xavier de Pedro
Rating
(0)
Description

I confirm that I saw this serious issue in a production site of myself using tiki 10.x (svn r44603). This site of mine was upgraded in early january from tiki 9.x svn to 10.x svn. And nowadays when uploading some jpg images, they are not displayed, the image name seems to be truncated the extension (foo.jpg is converted into foo, it seems). And the error message in my case indicates a valid path (as it was working fine for a year in the server, etc.; no changes on that side; I doubled checked and perms are fine for apache to write in those folders, etc).

The hash corresponding to the file (as indicated in the error message shown in the browser) does not exist in the server, so it seems that the file does not get uploaded to that folder.

I can provide more details (or even maybe access to my production server) to some dev willing to debug this issue.



I started to see report in the user forums in t.o about (potentially) similar issues. Example:
https://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=45767&thread_sort_mode=commentDate_asc#comments

Workaround

The issue with images that I experienced has been fixed by jonnyb in r44666 (trunk) and r44667 (10.x)
http://sourceforge.net/p/tikiwiki/code/44667

In the end the problem seems to be with image resize in one file gallery, not with local perms (the image was deleted after the resize, it seems).

Importance
8
Priority
40
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
4365
Created
Thursday 24 January, 2013 11:07:52 UTC
by Xavier de Pedro
LastModif
Tuesday 29 January, 2013 14:17:43 UTC


Show PHP error messages