<div dir="ltr"><div><div><div>Hi Stacy<br><br></div>If fails before downloading zip there can be a permission issue. If so check whether CRM directory and all folder and files under the ownership of apache / nginx user?  <br></div><div><br></div><div><br><br></div>Thanks<br></div>Sutharsan Jeganathan<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 20, 2016 at 4:53 PM, Stacey Johnson <span dir="ltr"><<a href="mailto:stacey.johnson110@gmail.com" target="_blank">stacey.johnson110@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">That is what I did. Exported module still corrupted... <div><br></div><div>Stacey</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 20, 2016 at 5:56 PM, Matteo Baranzoni <span dir="ltr"><<a href="mailto:info@greenbitweb.com" target="_blank">info@greenbitweb.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">you can try this: <div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><?php<br>ini_set("error_reporting", "6135");<br>include_once 'includes/main/WebUI.php';<br>include_once 'vtlib/Vtiger/PackageExport.php';<br>include_once 'include/utils/utils.php';<br>require_once 'includes/Loader.php';<br>require_once('vtlib/Vtiger/Package.php');<br>require_once('vtlib/Vtiger/Module.php');<br>$package = new Vtiger_Package();<br>$package->export(Vtiger_Module::getInstance('MODULENAME'),'test/vtlib',',MODULENAME.zip',true);<br>echo '<pre>';<br>print_r("module exported");<br>?></blockquote><div><br></div><div> </div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>2016-02-20 11:22 GMT+01:00 Stacey Johnson <span dir="ltr"><<a href="mailto:stacey.johnson110@gmail.com" target="_blank">stacey.johnson110@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">On Chrome ... :(</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Sat, Feb 20, 2016 at 5:17 PM, Matteo Baranzoni <span dir="ltr"><<a href="mailto:info@greenbitweb.com" target="_blank">info@greenbitweb.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">i have this problem with firefox. <div>Same crm with chrome work well!</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>2016-02-20 11:11 GMT+01:00 Stacey Johnson <span dir="ltr"><<a href="mailto:stacey.johnson110@gmail.com" target="_blank">stacey.johnson110@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Can't export any module with either script or module manager. Zip files seems to be corrupted.<div>Anyone know the reason?</div><span><font color="#888888"><div><br></div><div>Stacey</div></font></span></div>
<br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>
<br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>
<br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>
<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>
<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>