ID: 48217 User updated by: mb at smartftp dot com Reported By: mb at smartftp dot com -Status: Open +Status: Bogus Bug Type: Zip Related Operating System: Windows Vista PHP Version: 5.2CVS-2009-05-10 (snap) New Comment:
I'm unable to reproduce it this way. Previous Comments: ------------------------------------------------------------------------ [2009-05-10 00:03:43] mb at smartftp dot com Description: ------------ ZipArchive is unable to open a zip file containing 247 files and 4 folders. I have created a .zip file using ZipArchive. This is all good. However when trying to open this zip archive ZipArchive->open fails with error 11. The zip file looks good since I'm able to open it with WinRAR etc. The test.zip with the test.php is provided in the following archive: http://www.smartftp.com/upload/zipbug.zip Regards, Mat SmartFTP Reproduce code: --------------- $extract = new ZipArchive; $open = $extract->open($file, ZIPARCHIVE::CHECKCONS); if($open === TRUE) { print("ok"); } else { print("error"); // readfile always works. Thus no permission problem. readfile($file); } Expected result: ---------------- ok Actual result: -------------- error and output of file. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48217&edit=1
