[Vtigercrm-developers] exporting modules returning zip error

Sutharsan Jeganathan ajstharsan at gmail.com
Sat Feb 20 11:42:36 GMT 2016


Hi Stacy

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?



Thanks
Sutharsan Jeganathan

On Sat, Feb 20, 2016 at 4:53 PM, Stacey Johnson <stacey.johnson110 at gmail.com
> wrote:

> That is what I did. Exported module still corrupted...
>
> Stacey
>
> On Sat, Feb 20, 2016 at 5:56 PM, Matteo Baranzoni <info at greenbitweb.com>
> wrote:
>
>> 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/
>>>
>>
>>
>> _______________________________________________
>> 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/2030b939/attachment.html>


More information about the vtigercrm-developers mailing list