mirror of
https://github.com/prasathmani/tinyfilemanager.git
synced 2026-04-27 11:25:54 +03:00
[GH-ISSUE #645] Zip Compressing multiple files does not work #458
Labels
No labels
Feature
Feature
Is It Really an Issue?
Need More Info
Request
Security
bug
duplicate
enhancement
enhancement
help wanted
invalid
pull-request
question
suggestion
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tinyfilemanager#458
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @luisalvarado on GitHub (Oct 15, 2021).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/645
Tried to compress 8 files and it failed (Total file size was 2 MB). Tried to compress one and it failed too. The context menu would also be a great idea where you right click a file or a group of selected files and it shows you the option to compress.
@sharon846 commented on GitHub (Nov 20, 2021):
I don’t know if it is related, but since the update to php 8.0, zip compression method via php has changed, check it out :)
@michael-milette commented on GitHub (Feb 13, 2022):
@luisalvarado,
Here are a few things you can check:
@srworkspace
The ZIP feature will not work for you. The function zip_open() is deprecated in PHP 8.x in favor of the Object API, see ZipArchive::open().
@prasathmani , this and all references to zip_* functions will need to be fixed in order to make this feature PHP 8 compatible. Fortunately, the solution is backward compatible to PHP 5.2:
https://github.com/prasathmani/tinyfilemanager/blob/master/tinyfilemanager.php#L2599
Best regards,
Michael Milette
@luisalvarado commented on GitHub (Feb 13, 2022):
It is nothing related to the system since it was the first thing developers check.