[Vtigercrm-developers] Packaging and installing custom module
Manu urs
manu.k at vtiger.com
Fri Jun 26 09:28:53 GMT 2015
Hi
In the Php.inc file "upload_max_filesize" value on default is 2MB
.Your custom module size may be greater than this size. so uploading of
zip results in above error. Change this "upload_max_filesize" in php.inc
and restart the apache . Try it once again
Regards,
Manu
On Fri, Jun 26, 2015 at 2:19 PM, Estefan Civera [Italy] <
estefan.civera at gmail.com> wrote:
> Hi all
>
> after creation of my custom module I've decide to export and install in
> another vtiger instance.
>
> First, after read vtiger docs I create a package
>
> $mod = Vtiger_Module::getInstance('MyModule');
> $package = new Vtiger_Package();
> $package->export($mod);
>
> this code create package correctly
>
> but where I go in module manager to install it vtiger (6.2)gives me this
> message
>
> /Failed Invalid File provided for module import! Try Again./
>
> Can someone help me?
>
>
>
> -----
> Ing. Estefan Civera
> Vtiger developer and consultant
> http://www.estefancivera.net
> Italy
> --
> View this message in context:
> http://vtiger-crm.2324883.n4.nabble.com/Packaging-and-installing-custom-module-tp16714.html
> Sent from the vtigercrm-developers mailing list archive at Nabble.com.
> _______________________________________________
> http://www.vtiger.com/
>
--
Regards,
Manu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150626/63a6a7d5/attachment-0001.html>
More information about the vtigercrm-developers
mailing list