Loading...
 
Skip to main content

File gallery; Upload error when trying to upload a file bigger than the permitted limit should be explicit

Status
Open
Subject
File gallery; Upload error when trying to upload a file bigger than the permitted limit should be explicit
Version
25.x
26.x
master
Category
  • Easy for Newbie Dev
  • Feature request
Feature
File Gallery (elFinder or standard UI)
Resolution status
New
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

At dev.t.o there is now an upload limit for file size set at 8MB.

I tried to upload a 12MB file and Tiki refused/failed to complete the operation.
The output displayed (to the user) look like this:

Image

It doesn't the user to correct the problem.
It may seems like a technical problem happens (Tiki is to blame) while this limit is by admin configuration (part of the plan).

It should be something like:
"You tried to upload a larger file than the maximum size permitted.
Please reduce your file size."

If you are admin it could even also display:
"This is a server setting related to your server's php.ini "Upload file size" parameter, see https://doc.tiki.org/Upload-file-size#Upload_file_size to modify your server's php.ini file.

(word-proofing is required)

Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8376
Created
Thursday 13 April, 2023 07:04:05 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Thursday 13 April, 2023 07:04:05 UTC


Show PHP error messages