While using the Tiny File Manger, I selected two files that I uploaded and clicked on the Zip icon to zip the two files together, but got the error: "Operations with archives are not available". Is there a nuBuilder setting I need to change for this to work?
I was able to use the .tar function instead, since Winzip is able to open .tar files. However, it would be nice to have the .zip functionality.
Welcome to the nuBuilder Forums!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Operations with archives are not available
-
- nuBuilder Team
- Posts: 4482
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 75 times
- Been thanked: 504 times
- Contact:
Re: Operations with archives are not available
I asked ChatGPT:
The error comes from Tiny File Manager, not nuBuilder. Zip archives require the PHP ZipArchive (or zlib) extension. Without it, you get the message:
"Operations with archives are not available".
Tar works because Tiny File Manager can fall back to PharData.
Solution
Enable the ZipArchive extension in PHP:
Debian/Ubuntu:
RedHat/CentOS:
Windows: Uncomment in php.ini and restart Apache/IIS.
Note
No nuBuilder setting is needed. Once ZipArchive is enabled, the Zip function in Tiny File Manager will work.ve\[/i] is enabled, the Zip function in Tiny File Manager will work.
The error comes from Tiny File Manager, not nuBuilder. Zip archives require the PHP ZipArchive (or zlib) extension. Without it, you get the message:
"Operations with archives are not available".
Tar works because Tiny File Manager can fall back to PharData.
Solution
Enable the ZipArchive extension in PHP:
Debian/Ubuntu:
Code: Select all
sudo apt-get install php-zip && sudo service apache2 restart
Code: Select all
sudo yum install php-pecl-zip && sudo systemctl restart httpd
Code: Select all
extension=zip
Note
No nuBuilder setting is needed. Once ZipArchive is enabled, the Zip function in Tiny File Manager will work.ve\[/i] is enabled, the Zip function in Tiny File Manager will work.