[Vtigercrm-developers] Error in Webservice\Retrieve.php

Desarrollo - Affinity desarrollo.affinity at gmail.com
Thu Jun 28 02:06:09 PDT 2012


I have the entry in vtiger_ws_entity_table , debugging MySQL this happens:
" Column 'smownerid' cannot be null" ->   insert into vtiger_crmentity
(crmid,smcreatorid,smownerid,setype,description,createdtime,modifiedtime)
values(1262,'1',NULL,'CuentasContables','','2012-06-28
10:03:56','2012-06-28 10:03:56')

But this is so strange, with my develop enviroment all works, but then I
upload to production (other webserver, pc etc) and this error happens.

2012/6/28 Nilay Khatri <nilay.khatri at vtiger.com>

> Hi,
>
> you can check if the webserviceObject is created or not. I guess you do
> not have an entry for your entity under the vtiger_ws_entity table.
>
> On Thu, Jun 28, 2012 at 1:31 PM, Desarrollo - Affinity <
> desarrollo.affinity at gmail.com> wrote:
>
>> I have this error when i save a custom module that i made:
>>
>> Fatal error: Uncaught exception 'WebServiceException' with message
>> 'Permission to perform the operation is denied' in
>> C:\apache\htdocs\manager\include\Webservices\Retrieve.php:26 Stack trace:
>> #0
>> C:\apache\htdocs\manager\modules\com_vtiger_workflow\VTEntityCache.inc(16):
>> vtws_retrieve('35x1247', Object(Users)) #1
>> C:\apache\htdocs\manager\modules\com_vtiger_workflow\VTEntityCache.inc(83):
>> VTWorkflowEntity->__construct(Object(Users), '35x1247') #2
>> C:\apache\htdocs\manager\modules\com_vtiger_workflow\VTEventHandler.inc(48):
>> VTEntityCache->forId('35x1247') #3
>> C:\apache\htdocs\manager\include\events\VTEventTrigger.inc(119):
>> VTWorkflowEventHandler->handleEvent('vtiger.entity.a...',
>> Object(VTEntityData)) #4
>> C:\apache\htdocs\manager\include\events\VTEventsManager.inc(118):
>> VTEventTrigger->trigger(Object(VTEntityData)) #5
>> C:\apache\htdocs\manager\data\CRMEntity.php(863):
>> VTEventsManager->triggerEvent('vtiger.entity.a...', Object(VTEntityData))
>> #6 C:\apache\htdocs\manager\modules\Vendors\Save.php(44):
>> CRMEntity->save('CuentasContabl in
>> C:\apache\htdocs\manager\include\Webservices\Retrieve.php on line 26
>>
>> What can I do? Where should I start to find?
>> _______________________________________________
>> http://www.vtiger.com/
>>
>
>
>
> --
> regards
> Nilay Khatri
> (VTiger)
>
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20120628/230037a1/attachment.html 


More information about the vtigercrm-developers mailing list