Closed t-schroeder closed 3 years ago
I'm not sure on which branch the fix should go. So I added pull requests for both the v3.3.6 and v3.4dev branches.
The cause of the error was that tempnam() already generates a file so you need the ZipArchive::OVERWRITE flag.
Closing this since a fix has been merged.
When I download submission via the "Download submissions" or "Download all submissions" buttons I get a zip file of size 0KB which cannot be opened. When I turn on Debugging in Moodle I get lots of "Invalid or uninitialized Zip object" warnings.