Export module using Module Management doesn’t work

In many cases when you want to export module using Module Management you get a corrupt zip file because of wrong file size calculation.

If you are using Vtiger 6.5.x, please roll back to vtiger 6.4 Zip library from : http://code.vtiger.com/vtiger/vtigercrm/raw/6.4.0/vtlib/thirdparty/dZip.inc.php

Then in /vtlib/Vtiger/Zip.php replace this:
$zipfilesize = $disk_file_size + ($disk_file_size % 1024);
With this:
$zipfilesize = $disk_file_size;

Share this post

Leave a Reply

Your email address will not be published. Required fields are marked *