Loading...
 
Skip to main content

After a version update, if a gallery dir is forgotten no error appears when loading gallery but Apache crashes...

Status
Closed
Subject
After a version update, if a gallery dir is forgotten no error appears when loading gallery but Apache crashes...
Version
6.x
7.x
Category
  • Error
Feature
File Gallery (elFinder or standard UI)
Image Gallery
Resolution status
Fixed or Solved
Submitted by
Ushindi Gedeon
Lastmod by
Ushindi Gedeon
Rating
(0)
Description

Hi,

After a version upgrade (any data transfer etc...), if a dir containing gallery is forgotten in the new installation (nothing is perfect), it seems that there is no check when the gallery is loaded, this can (most of time) crash Apache.

nota : I have not tested for "files" only for "images" but I pur it into the the categories before I imagin that the problem exist on both.

Checked on 6.x and 7.1

Solution

1- Check the dir existence before trying to access it. (an option can be to test the dir existence at the display of list of galleries and put a flag for the gallery into the list
2- When loading check again and send a message which allows either :
1- cancel (the administrator will do the necessary), then put a flag in gallery list
2- goto or invite to "gallery parameters" if admin is logged to change the dir
3- rebuild the gallery (data organization can be lost but not elementary components) :
- keep the list of file and data but invite to (flag) and allow to reload the image or file.
__
This is a todo__ (I have no time to do it)

Workaround
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
3964
Created
Wednesday 10 August, 2011 23:08:13 UTC
by Bernard TREMBLAY
LastModif
Thursday 02 July, 2026 09:56:20 UTC


Show PHP error messages