Loading...
 
Skip to main content

File Galleries - Reupload file from disk

Status
Open
Subject
File Galleries - Reupload file from disk
Version
18.x
Category
  • Bug
Feature
File Gallery (elFinder or standard UI)
Resolution status
New
Submitted by
fidel
Lastmod by
fidel
Rating
(1)
Description

Version 18.2

If i navigate as default user to an existing file gallery, select a file, open it's file informations (Get Info) and choose "Edit properties" i do have the option to re-upload a file from disk.

I assume this should upload a new file and replace the existing one. It should as well keep the existing ID.

For the default user i do get a blank page after pressing save, and the apache error log shows the following

Fri Sep 14 11:15:38.891167 2018 php7:notice pid 12030 client 172.20.2.114:57704 PHP Notice: Undefined index: fileId in /var/www/html/lib/filegals/filegallib.php on line 3501, referer: http://tiki.x.y/tiki-list_file_gallery.php?galleryId=12Question
Fri Sep 14 11:15:38.891711 2018 php7:warn pid 12030 client 172.20.2.114:57704 PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/lib/filegals/filegallib.php:3501) in /var/www/html/lib/tikiaccesslib.php on line 1142, referer: http://tiki.x.y/tiki-list_file_gallery.php?galleryId=12Question
Fri Sep 14 11:15:42.113287 2018 php7:notice pid 12030 client 172.20.2.114:57704 PHP Notice: Undefined index: fileId in /var/www/html/lib/filegals/filegallib.php on line 3501, referer: http://tiki.x.y/tiki-list_file_gallery.php?galleryId=12Question
Fri Sep 14 11:15:42.113706 2018 php7:warn pid 12030 client 172.20.2.114:57704 PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/lib/filegals/filegallib.php:3501) in /var/www/html/lib/tikiaccesslib.php on line 1142, referer: http://tiki.x.y/tiki-list_file_gallery.php?galleryId=12Question
Fri Sep 14 11:15:55.943791 2018 php7:notice pid 12032 client 172.20.2.114:57754 PHP Notice: Undefined index: fileId in /var/www/html/lib/filegals/filegallib.php on line 3501, referer: http://tiki.x.y/tiki-list_file_gallery.php?galleryId=12Question
Fri Sep 14 11:15:55.944216 2018 php7:warn pid 12032 client 172.20.2.114:57754 PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/lib/filegals/filegallib.php:3501) in /var/www/html/lib/tikiaccesslib.php on line 1142, referer: http://tiki.x.y/tiki-list_file_gallery.php?galleryId=12Question

I don't get this error with my admin user account.

Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6779
Created
Friday 14 September, 2018 09:33:58 UTC
by fidel
LastModif
Friday 14 September, 2018 11:56:33 UTC


Show PHP error messages