[Vtigercrm-developers] exporting modules returning zip error

Matteo Baranzoni info at greenbitweb.com
Sat Feb 20 10:56:16 GMT 2016


you can try this:

<?php
> ini_set("error_reporting", "6135");
> include_once 'includes/main/WebUI.php';
> include_once 'vtlib/Vtiger/PackageExport.php';
> include_once 'include/utils/utils.php';
> require_once 'includes/Loader.php';
> require_once('vtlib/Vtiger/Package.php');
> require_once('vtlib/Vtiger/Module.php');
> $package = new Vtiger_Package();
>
> $package->export(Vtiger_Module::getInstance('MODULENAME'),'test/vtlib',',MODULENAME.zip',true);
> echo '<pre>';
> print_r("module exported");
> ?>





2016-02-20 11:22 GMT+01:00 Stacey Johnson <stacey.johnson110 at gmail.com>:

> On Chrome ... :(
>
> On Sat, Feb 20, 2016 at 5:17 PM, Matteo Baranzoni <info at greenbitweb.com>
> wrote:
>
>> i have this problem with firefox.
>> Same crm with chrome work well!
>>
>> 2016-02-20 11:11 GMT+01:00 Stacey Johnson <stacey.johnson110 at gmail.com>:
>>
>>> Can't export any module with either script or module manager. Zip files
>>> seems to be corrupted.
>>> Anyone know the reason?
>>>
>>> Stacey
>>>
>>> _______________________________________________
>>> http://www.vtiger.com/
>>>
>>
>>
>> _______________________________________________
>> http://www.vtiger.com/
>>
>
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20160220/43062b9b/attachment.html>


More information about the vtigercrm-developers mailing list