<div dir="ltr">There is some issue in Dzip and Dunzip. Please take the copies from the older versions</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>With best regards,<br><br>S.T.Prasad (Skype: <a href="mailto:stprasad@stprasad.com" target="_blank">stprasad@stprasad.com</a>)</div><div>Founder and Chief Shikari<br><a href="http://www.vtigress.com" target="_blank">http://www.vtigress.com</a><br>The Purr-fect mate for vTiger<br></div><div>Certified Solution Partner for Asia and Africa</div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Mon, Aug 20, 2018 at 2:44 PM, mhadid <span dir="ltr"><<a href="mailto:mustapha.hadeed@gmail.com" target="_blank">mustapha.hadeed@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've tried multiple ways to export modules in Vtiger 7.1.0 with no luck. <br>
The exported file has a little size--around 10kb. Unzipping the file raises<br>
a corruption error<br>
<br>
Using built-in ModuleExport action<br>
<br>
------------------------------<wbr>------------------------------<wbr>------<br>
<br>
/vtigercrm/index.php?module=<wbr>ModuleManager&parent=Settings&<wbr>action=ModuleExport&mode=<wbr>exportModule&forModule={<wbr>ModuleName}<br>
<br>
<br>
Using Vtiger_PackageExport<br>
<br>
------------------------------<wbr>------------------------------<wbr>------<br>
require_once('vtlib/Vtiger/<wbr>Package.php');<br>
require_once('vtlib/Vtiger/<wbr>Module.php');<br>
require_once('includes/Loader.<wbr>php');<br>
<br>
$module = Vtiger_Module_Model::<wbr>getInstance($moduleName);<br>
<br>
if ($module == false) {<br>
echo "Module not found: $moduleName";<br>
return;<br>
} elseif (!$module->isExportable()) {<br>
echo 'Module not exportable: $moduleName';<br>
return;<br>
}<br>
<br>
$package = new Vtiger_PackageExport();<br>
$package->export($module, 'test/vtlib', "$moduleName.zip", true); # also<br>
tried setting the final argument to false to save it locally<br>
<br>
<br>
Using Vtiger_Package (following Vtiger wiki<br>
<<a href="http://community.vtiger.com/help/vtigercrm/developers/vtlib/package-export.html" rel="noreferrer" target="_blank">http://community.vtiger.com/<wbr>help/vtigercrm/developers/<wbr>vtlib/package-export.html</a>> <br>
)<br>
<br>
------------------------------<wbr>------------------------------<wbr>------<br>
require_once('vtlib/Vtiger/<wbr>Package.php');<br>
require_once('vtlib/Vtiger/<wbr>Module.php');<br>
require_once('includes/Loader.<wbr>php');<br>
<br>
$module = Vtiger_Module::getInstance($<wbr>moduleName);<br>
<br>
if ($module == false) {<br>
echo "Module not found: $moduleName";<br>
return;<br>
}<br>
<br>
$package = new Vtiger_Package();<br>
$package->export($module, 'test/vtlib', "$moduleName.zip", true); # also<br>
tried setting the final argument to false to save it locally<br>
<br>
<br>
Debugging Information<br>
<br>
------------------------------<wbr>------------------------------<wbr>------<br>
phpinfo: <a href="https://pastebin.com/raw/ndL2yYPC" rel="noreferrer" target="_blank">https://pastebin.com/raw/<wbr>ndL2yYPC</a><br>
<<a href="https://pastebin.com/raw/ndL2yYPC" rel="noreferrer" target="_blank">https://pastebin.com/raw/<wbr>ndL2yYPC</a>> <br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://vtiger-crm.2324883.n4.nabble.com/vtigercrm-developers-f4.html" rel="noreferrer" target="_blank">http://vtiger-crm.2324883.n4.<wbr>nabble.com/vtigercrm-<wbr>developers-f4.html</a><br>
______________________________<wbr>_________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br></div>