<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<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>
<meta name="GENERATOR" content="MSHTML 8.00.7601.18210">
<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>
<meta name="GENERATOR" content="MSHTML 8.00.7601.18210">
<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>
<meta name="GENERATOR" content="MSHTML 8.00.7601.18210">
<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 moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.vtiger.com/">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>
</body>
</html>