2011-01-22, 01:11:37
The archive zip created from the admin pages creates problems with Linux (Ubuntu 10.04) unzip and all programs using it, e.g. the Gnome program file-roller.
This seems to be caused by storing the directories, which are unzipped as files with size 0 (although a comment in zip.class.php seems to indicate that a directory flag is stored - but as external file format - MSDOS).
When I remove the $zipfile->add_dir calls in zip.php and basic.php, the archive works perfectly in Linux and Windows (at least with Total Commander).
This seems to be caused by storing the directories, which are unzipped as files with size 0 (although a comment in zip.class.php seems to indicate that a directory flag is stored - but as external file format - MSDOS).
When I remove the $zipfile->add_dir calls in zip.php and basic.php, the archive works perfectly in Linux and Windows (at least with Total Commander).