<HEAD>
<STYLE>body{font-size:10pt;font-family:arial,sans-serif;background-color:#ffffff;color:black;}p{margin:0px;}</STYLE>

<META name=GENERATOR content="MSHTML 8.00.7601.18210"></HEAD>
<BODY>
<P><FONT color=#000000><FONT size=2><FONT face=arial,sans-serif>Thanks again Joe.</FONT></FONT></FONT></P>
<P><FONT color=#000000><FONT size=2><FONT face=arial,sans-serif></FONT></FONT></FONT> </P>
<P><FONT color=#000000><FONT size=2><FONT face=arial,sans-serif>I updated the Manifest to ensure the <fieldname> matches the <columnname> and uses lowercase.  Same error.<BR></P></FONT></FONT></FONT>
<BLOCKQUOTE style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 0px">-----Original Message----- <BR>From: Joe Bordes <JOE@TSOLUCIO.COM><BR>Sent: Sep 25, 2013 5:58 PM <BR>To: vtigercrm-developers@lists.vtigercrm.com <BR>Subject: Re: [Vtigercrm-developers] Error Importing custom module <BR><BR><ZZZHTML><ZZZHEAD><ZZZMETA content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"></ZZZHEAD><ZZZBODY text="#000000" bgcolor="#FFFFFF">
<DIV class=moz-cite-prefix>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 cite=mid:9126319.1380145694767.JavaMail.root@mswamui-billy.atl.sa.earthlink.net type="cite">
<STYLE>body{font-size:10pt;font-family:arial,sans-serif;background-color:#ffffff;color:black;}p{margin:0px;}</STYLE>
<ZZZMETA content="MSHTML 8.00.7601.18210" name="GENERATOR"><FONT color=#000000><FONT size=2><FONT face=arial,sans-serif><BR></FONT></FONT></FONT>
<STYLE>body{font-size:10pt;font-family:arial,sans-serif;background-color:#ffffff;color:black;}p{margin:0px;}</STYLE>
<ZZZMETA content="MSHTML 8.00.7601.18210" name="GENERATOR"><FONT color=#000000><FONT size=2><FONT face=arial,sans-serif><BR></FONT></FONT></FONT>
<STYLE>body{font-size:10pt;font-family:arial,sans-serif;background-color:#ffffff;color:black;}p{margin:0px;}</STYLE>
<ZZZMETA content="MSHTML 8.00.7601.18210" name="GENERATOR">
<P><FONT color=#000000><FONT size=2><FONT face=arial,sans-serif>Thanks Joe!</FONT></FONT></FONT></P>
<P> </P>
<P><FONT color=#000000><FONT size=2><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 size=2><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 size=2><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 size=2><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 size=2><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 size=2><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 size=2><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 size=2><FONT face=arial,sans-serif>Appreciate anyone's help.</FONT></FONT></FONT></P><FONT color=#000000><FONT size=2><FONT face=arial,sans-serif>
<P><BR></P></FONT></FONT></FONT>
<BLOCKQUOTE style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 0px">-----Original Message----- <BR>From: Joe Bordes <JOE@TSOLUCIO.COM><BR>Sent: Sep 22, 2013 10:07 AM <BR>To: <A class=moz-txt-link-abbreviated href="mailto:vtigercrm-developers@lists.vtigercrm.com">vtigercrm-developers@lists.vtigercrm.com</A> <BR>Subject: Re: [Vtigercrm-developers] Error Importing custom module <BR><BR><ZZZHTML><ZZZHEAD><ZZZMETA content="text/html;                 charset=ISO-8859-1" http-equiv="Content-Type"></ZZZMETA></ZZZHEAD><ZZZBODY text="#000000" bgcolor="#FFFFFF">
<DIV class=moz-cite-prefix>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 cite=mid:19953300.1379794639064.JavaMail.root@elwamui-polski.atl.sa.earthlink.net type="cite"><PRE wrap="">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 class=mimeAttachmentHeader></FIELDSET> <BR><PRE wrap="">_______________________________________________
<A class=moz-txt-link-freetext href="http://www.vtiger.com/" moz-do-not-send="true">http://www.vtiger.com/</A></PRE></BLOCKQUOTE><BR></ZZZBODY></ZZZHTML></JOE@TSOLUCIO.COM></BLOCKQUOTE><BR>
<FIELDSET class=mimeAttachmentHeader></FIELDSET> <BR><PRE wrap="">_______________________________________________
<A class=moz-txt-link-freetext href="http://www.vtiger.com/">http://www.vtiger.com/</A></PRE></BLOCKQUOTE><BR></ZZZBODY></ZZZHTML></BLOCKQUOTE></BODY>