<br><br><b>Hi <br><br>Can anybody tel me how to export custom module as a zip (package) file which can used for importing through Module Manger<br><br>i have the below script<br><br>&lt;?php<br>ini_set(&#39;display_errors&#39;,true);<br>
ini_set(&#39;error_reporting&#39;,E_ALL&amp;~E_NOTICE&amp;~E_DEPRECATED);<br>include_once(&#39;vtlib/Vtiger/Package.php&#39;);<br>include_once(&#39;vtlib/Vtiger/Module.php&#39;);<br>$package = new Vtiger_Package();<br>$package-&gt;export(Vtiger_Module::getInstance(&#39;FacilityReservation&#39;), &#39;test/vtlib&#39;, &#39;FacilityReservation.zip&#39;, true);<br>
echo &quot;Successfully Created&quot;;<br>?&gt;<br><br>when run this script,i get the below errors<br><br></b><b><font size="1">Fatal error: Class &#39;Vtiger_Package&#39; not found in C:\wamp\www\vtigercrm540\vtlib\Vtiger\LanguageExport.php on line <i>16<br>
<br></i></font></b><br><table class="xdebug-error xe-fatal-error" dir="ltr" border="1" cellpadding="1" cellspacing="0"><tbody><tr><td align="right" bgcolor="#eeeeec"><br></td><td bgcolor="#eeeeec">include_once( <font color="#00bb00">&#39;C:\wamp\www\vtigercrm540\vtlib\Vtiger\Package.php&#39;</font> )</td>
<td title="C:\wamp\www\vtigercrm540\vtlib.ExportModule.php" bgcolor="#eeeeec">..\vtlib.ExportModule.php<b>:</b>4</td></tr></tbody></table><br><table class="xdebug-error xe-fatal-error" dir="ltr" border="1" cellpadding="1" cellspacing="0">
<tbody><tr><td bgcolor="#eeeeec">require_once( <font color="#00bb00">&#39;C:\wamp\www\vtigercrm540\vtlib\Vtiger\PackageUpdate.php&#39;</font> )</td><td title="C:\wamp\www\vtigercrm540\vtlib\Vtiger\Package.php" bgcolor="#eeeeec">
..\Package.php<b>:</b>10</td></tr></tbody></table><br><table class="xdebug-error xe-fatal-error" dir="ltr" border="1" cellpadding="1" cellspacing="0"><tbody><tr><td align="right" bgcolor="#eeeeec"><br></td><td bgcolor="#eeeeec">
include_once( <font color="#00bb00">&#39;C:\wamp\www\vtigercrm540\vtlib\Vtiger\PackageImport.php&#39;</font> )</td><td title="C:\wamp\www\vtigercrm540\vtlib\Vtiger\PackageUpdate.php" bgcolor="#eeeeec">..\PackageUpdate.php<b>:</b>10</td>
</tr></tbody></table><br><table class="xdebug-error xe-fatal-error" dir="ltr" border="1" cellpadding="1" cellspacing="0"><tbody><tr><td align="right" bgcolor="#eeeeec"><br></td><td bgcolor="#eeeeec">include_once( <font color="#00bb00">&#39;C:\wamp\www\vtigercrm540\vtlib\Vtiger\PackageExport.php&#39;</font> )</td>
<td title="C:\wamp\www\vtigercrm540\vtlib\Vtiger\PackageImport.php" bgcolor="#eeeeec">..\PackageImport.php<b>:</b>10</td></tr></tbody></table><br><table class="xdebug-error xe-fatal-error" dir="ltr" border="1" cellpadding="1" cellspacing="0">
<tbody><tr><td bgcolor="#eeeeec">include_once( <font color="#00bb00">&#39;C:\wamp\www\vtigercrm540\vtlib\Vtiger\ModuleBasic.php&#39;</font> )</td><td title="C:\wamp\www\vtigercrm540\vtlib\Vtiger\Module.php" bgcolor="#eeeeec">
..\Module.php<b>:</b>10</td></tr></tbody></table><br><table class="xdebug-error xe-fatal-error" dir="ltr" border="1" cellpadding="1" cellspacing="0"><tbody><tr><td bgcolor="#eeeeec">include_once( <font color="#00bb00">&#39;C:\wamp\www\vtigercrm540\vtlib\Vtiger\Access.php&#39;</font> )</td>
<td title="C:\wamp\www\vtigercrm540\vtlib\Vtiger\ModuleBasic.php" bgcolor="#eeeeec">..\ModuleBasic.php<b>:</b>10</td></tr></tbody></table><br><table class="xdebug-error xe-fatal-error" dir="ltr" border="1" cellpadding="1" cellspacing="0">
<tbody><tr><td bgcolor="#eeeeec">include_once( <font color="#00bb00">&#39;C:\wamp\www\vtigercrm540\include\utils\UserInfoUtil.php&#39;</font> )</td><td title="C:\wamp\www\vtigercrm540\vtlib\Vtiger\Access.php" bgcolor="#eeeeec">
..\Access.php<b>:</b>10</td></tr></tbody></table><br><table class="xdebug-error xe-fatal-error" dir="ltr" border="1" cellpadding="1" cellspacing="0"><tbody><tr><td bgcolor="#eeeeec">require_once( <font color="#00bb00">&#39;C:\wamp\www\vtigercrm540\include\utils\utils.php&#39;</font> )</td>
<td title="C:\wamp\www\vtigercrm540\include\utils\UserInfoUtil.php" bgcolor="#eeeeec">..\UserInfoUtil.php<b>:</b>16</td></tr></tbody></table><br><table class="xdebug-error xe-fatal-error" dir="ltr" border="1" cellpadding="1" cellspacing="0">
<tbody><tr><td bgcolor="#eeeeec">require_once( <font color="#00bb00">&#39;C:\wamp\www\vtigercrm540\include\utils\DetailViewUtils.php&#39;</font> )</td><td title="C:\wamp\www\vtigercrm540\include\utils\utils.php" bgcolor="#eeeeec">
..\utils.php<b>:</b>38</td></tr></tbody></table><br><table class="xdebug-error xe-fatal-error" dir="ltr" border="1" cellpadding="1" cellspacing="0"><tbody><tr><td bgcolor="#eeeeec">require_once( <font color="#00bb00">&#39;C:\wamp\www\vtigercrm540\vtlib\Vtiger\Language.php&#39;</font> )</td>
<td title="C:\wamp\www\vtigercrm540\include\utils\DetailViewUtils.php" bgcolor="#eeeeec">..\DetailViewUtils.php<b>:</b>26</td></tr></tbody></table><br><table class="xdebug-error xe-fatal-error" dir="ltr" border="1" cellpadding="1" cellspacing="0">
<tbody><tr><td bgcolor="#eeeeec">require_once( <font color="#00bb00">&#39;C:\wamp\www\vtigercrm540\vtlib\Vtiger\LanguageImport.php&#39;</font> )</td><td title="C:\wamp\www\vtigercrm540\vtlib\Vtiger\Language.php" bgcolor="#eeeeec">
..\Language.php<b>:</b>10</td></tr></tbody></table><br><table class="xdebug-error xe-fatal-error" dir="ltr" border="1" cellpadding="1" cellspacing="0"><tbody><tr><td align="right" bgcolor="#eeeeec"><br></td><td bgcolor="#eeeeec">
include_once( <font color="#00bb00">&#39;C:\wamp\www\vtigercrm540\vtlib\Vtiger\LanguageExport.php&#39;</font> )</td><td title="C:\wamp\www\vtigercrm540\vtlib\Vtiger\LanguageImport.php" bgcolor="#eeeeec">..\LanguageImport.php<b>:</b>10</td>
</tr></tbody></table><br>Can any body help me on this please <br>Thanks &amp; Regards,<br>B.Ramya.<br><b><font size="1"><i></i></font></b>