<div dir="ltr">Okay, heres the deal<div><br></div><div>You made the AUTO SEQ UI Type, as the module key. I think thats a conflict. </div><div>You also had TWO fields with UI Type 53. thats a definite NO NO.</div><div><br></div>


<div>I recreated the module, and here is the installable. </div><div><br></div><div>You may check it here</div><div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">Your CRM URL            </span><a href="http://hosted.vtigress.com/forpets/crm" target="_blank" style="font-family:arial,sans-serif;font-size:13px">http://hosted.vtigress.com/forpets/crm</a><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">Your login credentials for the crm are</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">username : admin</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">password : 14gL81F4KHsVvill</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-size:13px;font-family:arial,sans-serif">Your PhpMyAdmin         </span><a href="http://hosted.vtigress.com/phpmyadmin" target="_blank" style="font-size:13px;font-family:arial,sans-serif">http://hosted.vtigress.com/phpmyadmin</a><br>
<span style="font-family:arial,sans-serif;font-size:13px">username : forpets</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">password : V6OgZkuoryVOkJs1</span><br style="font-family:arial,sans-serif;font-size:13px">
</div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Hope this helps.</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">S.T.Prasad</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Chief Shikari,</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><a href="http://www.vtigress.com">www.vtigress.com</a></span></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 26, 2013 at 8:35 AM, S T Prasad <span dir="ltr"><<a href="mailto:stprasad@stprasad.com" target="_blank">stprasad@stprasad.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">Hi Oscar,<div>There is still something wrong in the manifest.xml. The reason, is that the Import does not finish cleanly. There normally should be a FINISH button at the end of the process, after installing the PetsImport.zip, it went thru the report of the tasks performed for module creation, but did not go to finish.</div>



<div><br></div><div>So something broke en route, and the module has been created only partially. As a result, the required record in vtiger_ws_entity was not inserted. I inserted the record manually, and the module started up, albeit with more errors</div>


<div><br></div><div>I am checking more, and hopefully should get this sorted.</div><div><br></div><div>You could see here</div><div><span style="font-family:arial,sans-serif;font-size:13px">CRM URL            </span><a href="http://hosted.vtigress.com/forstp/crm" style="font-family:arial,sans-serif;font-size:13px" target="_blank">http://hosted.vtigress.com/forstp/crm</a><br style="font-family:arial,sans-serif;font-size:13px">

<span style="font-family:arial,sans-serif;font-size:13px">login credentials for the crm are</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">username : admin</span><br style="font-family:arial,sans-serif;font-size:13px">

<span style="font-family:arial,sans-serif;font-size:13px">password : xol3UxRbOjqhuzNk</span><br style="font-family:arial,sans-serif;font-size:13px"><br><span style="font-family:arial,sans-serif;font-size:13px">PhpMyAdmin         </span><a href="http://hosted.vtigress.com/phpmyadmin" style="font-family:arial,sans-serif;font-size:13px" target="_blank">http://hosted.vtigress.com/phpmyadmin</a><br style="font-family:arial,sans-serif;font-size:13px">

<span style="font-family:arial,sans-serif;font-size:13px">username : forstp</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">password : mjMPvItzuSSvDxLb</span><br>

</div><div><br></div><div><br></div><div class="gmail_extra">Regards,</div><div class="gmail_extra">S.T.Prasad<br><br><div class="gmail_quote"><div><div class="h5">On Thu, Sep 26, 2013 at 7:43 AM, Oscar Medina <span dir="ltr"><<a href="mailto:oamedina@earthlink.net" target="_blank">oamedina@earthlink.net</a>></span> wrote:<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"><div><div class="h5">



<div>
<p><font color="#000000"><font><font face="arial,sans-serif">Thanks again Joe.</font></font></font></p>
<p><font color="#000000"><font><font face="arial,sans-serif"></font></font></font> </p>
<p><font color="#000000"><font><font face="arial,sans-serif">I updated the Manifest to ensure the <fieldname> matches the <columnname> and uses lowercase.  Same error.<br></font></font></font></p>
<blockquote style="border-left-color:rgb(0,0,255);border-left-width:2px;border-left-style:solid;padding-left:5px;margin-left:0px"><div>-----Original Message----- <br>From: Joe Bordes <u></u><br></div><div><div>Sent: Sep 25, 2013 5:58 PM <br>


To: <a href="mailto:vtigercrm-developers@lists.vtigercrm.com" target="_blank">vtigercrm-developers@lists.vtigercrm.com</a> <br>
Subject: Re: [Vtigercrm-developers] Error Importing custom module <br><br><u></u><u></u><u></u><u></u><u></u>
<div>Quick look:  fieldnames are wrong, there are capital letters:<br><br><fieldname>PetsName</fieldname><br><br>As a rule of thumb, in the majority of cases fieldname and columname should be the same, in lowercase with no special charcters<br>



<br>Joe<br>TSolucio<br><br><br>El 25/09/13 23:48, Oscar Medina escribió:<br></div>
<blockquote type="cite">

<u></u><font color="#000000"><font><font face="arial,sans-serif"><br></font></font></font>

<u></u><font color="#000000"><font><font face="arial,sans-serif"><br></font></font></font>

<u></u>
<p><font color="#000000"><font><font face="arial,sans-serif">Thanks Joe!</font></font></font></p>
<p> </p>
<p><font color="#000000"><font><font face="arial,sans-serif">I appreciate you looking at this.  I'm not sure what I did wrong with my create script, but I hadn't noticed that the Manifest file was missing fields because I just quickly looked at the SQL at the top of the manifest.  I updated it and tried another import.  It appears that it was imported successfully, but I'm still getting an error when I try to configure the module.  Here's the error I'm getting now.</font></font></font></p>




<p> </p>
<p><font color="#000000"><font><font face="arial,sans-serif"><strong>Fatal error</strong>: Uncaught exception 'WebServiceException' with message 'Permission to perform the operation is denied for name' in /home/vincesb/public_html/vtiger/include/Webservices/VtigerWebserviceObject.php:50 Stack trace: #0 /home/vincesb/public_html/vtiger/include/Webservices/Utils.php(427): VtigerWebserviceObject::fromName(Object(PearDatabase), 'Pets') </font></font></font></p>




<p><font color="#000000"><font><font face="arial,sans-serif">#1 /home/vincesb/public_html/vtiger/modules/Settings/LayoutBlockList.php(167): vtws_getModuleHandlerFromName() </font></font></font></p>
<p><font color="#000000"><font><font face="arial,sans-serif">#2 /home/vincesb/public_html/vtiger/modules/Settings/LayoutBlockList.php(96): getFieldListEntries('Pets', Object(Users)) </font></font></font></p>
<p><font color="#000000"><font><font face="arial,sans-serif">#3 /home/vincesb/public_html/vtiger/index.php(749): include('/home/vincesb/p...') </font></font></font></p>
<p><font color="#000000"><font><font face="arial,sans-serif">#4 {main} thrown in <b>/home/vincesb/public_html/vtiger/include/Webservices/VtigerWebserviceObject.php</b> on line <b>50</b><br></font></font></font></p>
<p><font color="#000000"><font><font face="arial,sans-serif">I have also attached the updated Import.zip, just in case.</font></font></font></p>
<p> </p>
<p><font color="#000000"><font><font face="arial,sans-serif">Appreciate anyone's help.</font></font></font></p><font color="#000000"><font><font face="arial,sans-serif">
<p><br></p></font></font></font>
<blockquote style="border-left-color:rgb(0,0,255);border-left-width:2px;border-left-style:solid;padding-left:5px;margin-left:0px">-----Original Message----- <br>From: Joe Bordes <u></u><br>Sent: Sep 22, 2013 10:07 AM <br>


To: <a href="mailto:vtigercrm-developers@lists.vtigercrm.com" target="_blank">vtigercrm-developers@lists.vtigercrm.com</a> <br>
Subject: Re: [Vtigercrm-developers] Error Importing custom module <br><br><u></u><u></u><u></u><u></u><u></u><u></u>
<div>Hi,<br><br>I had a quick look at the manifest file. There are no fields!! So you must have done something wrong with the definitions. Most probably you are using some capital letters or none accepted special characters. Field names should be all lowercase, and column fields MUST be in lowercase<br>



<br><fieldname>PetsName</fieldname><br><br>try reviewing that<br><br>Joe<br>TSolucio<br><br><br>El 21/09/13 22:17, Oscar Medina escribió:<br></div>
<blockquote type="cite"><pre>I'm a newbie creating a new module for a friend as a favor.  The PHP environment is new to me, I typically work with .NET and Java.

I created the attached Module, but I'm getting an error when I try to import.

"Fatal error: Call to a member function getModuleName() on a non-object in /home/southlr/public_html/SDTM/vtlib/Vtiger/Filter.php on line 130"

In addition, the module DOES appear in the list of imported modules but when I attempt to configure I get the following error.


Fatal error: Uncaught exception 'WebServiceException' with message 'Permission to perform the operation is denied for name' in /home/southlr/public_html/SDTM/include/Webservices/VtigerWebserviceObject.php:50 Stack trace: #0 /home/southlr/public_html/SDTM/include/Webservices/Utils.php(427): VtigerWebserviceObject::fromName(Object(PearDatabase), 'Pets') #1 /home/southlr/public_html/SDTM/modules/Settings/LayoutBlockList.php(167): vtws_getModuleHandlerFromName() #2 /home/southlr/public_html/SDTM/modules/Settings/LayoutBlockList.php(96): getFieldListEntries('Pets', Object(Users)) #3 /home/southlr/public_html/SDTM/index.php(749): include('/home/southlr/p...') #4 {main} thrown in /home/southlr/public_html/SDTM/include/Webservices/VtigerWebserviceObject.php on line 50


I'd appreciate any guidance or assistance.

Oscar
 
 
 
 
</pre><br>
<fieldset></fieldset> <br><pre>_______________________________________________
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a></pre></blockquote><br><u></u><u></u><u></u></blockquote><br>
<fieldset></fieldset> <br><pre>_______________________________________________
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a></pre></blockquote><br><u></u><u></u></div></div></blockquote></div><br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><span class="HOEnZb"><font color="#888888"><br></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div>
<br></div>-- <br>With best regards,<br><br>S.T.Prasad<br><br><a href="http://www.vtigress.com" target="_blank">http://www.vtigress.com</a><br>


The Purr-fect mate for vTiger<br>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>With best regards,<br><br>S.T.Prasad<br><br><a href="http://www.vtigress.com" target="_blank">http://www.vtigress.com</a><br>The Purr-fect mate for vTiger<br>
</div>