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.

Published 1 min read


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;

Need help with Vtiger CRM?

We develop extensions, integrations and custom solutions for Vtiger CRM. Tell us what you need and we will suggest the next step.