[Vtigercrm-developers] Custom Module Issue in vTiger 6
salim
salim at posibolt.com
Sun Jan 27 10:33:18 PST 2013
Hi vTiger Team,
I am trying to create new a custom module for vTiger6 using Vtlib, So
started with "Payslip" module. I could have successfully installed the
module.
[image: Inline images 1]
But when i try to Save a New Payslip, I am getting some errors. This the
Script that i used to create Payslip Module : http://pastebin.com/nh6hmx9v
This the error that i getting now :
( ! ) Warning: Invalid argument supplied for foreach() in
C:\wamp\www\vt6\include\events\VTEventTrigger.inc on line *133* Call Stack#
TimeMemory FunctionLocation10.0015334048 {main}(
)..\index.php*:*020.541628399912Vtiger_WebUI->process(
)..\index.php*:*193 0.767731622616Vtiger_Save_Action->process( )..\WebUI.php
*:*161 40.767731622616Vtiger_Save_Action->saveRecord( ) ..\Save.php*:*235
0.845132233464Vtiger_Record_Model->save( ) ..\Save.php*:*4360.8451
32233464Vtiger_Module_Model->saveRecord(
)..\Record.php*:*196 70.845832237192CRMEntity->save( ) ..\Module.php*:*1488
0.849832248232VTEventsManager->triggerEvent( )
..\CRMEntity.php*:*79890.849832248472VTEventTrigger->trigger(
)..\VTEventsManager.inc*:*118
( ! ) Warning: Invalid argument supplied for foreach() in
C:\wamp\www\vt6\include\events\VTEventTrigger.inc on line *133* Call Stack#
TimeMemory FunctionLocation10.0015334048 {main}(
)..\index.php*:*020.541628399912Vtiger_WebUI->process(
)..\index.php*:*193 0.767731622616Vtiger_Save_Action->process( )..\WebUI.php
*:*161 40.767731622616Vtiger_Save_Action->saveRecord( ) ..\Save.php*:*235
0.845132233464Vtiger_Record_Model->save( ) ..\Save.php*:*4360.8451
32233464Vtiger_Module_Model->saveRecord(
)..\Record.php*:*196 70.845832237192CRMEntity->save( ) ..\Module.php*:*1488
0.866032547816VTEventsManager->triggerEvent( )
..\CRMEntity.php*:*79990.866032548056VTEventTrigger->trigger(
)..\VTEventsManager.inc*:*118
( ! ) Warning: Invalid argument supplied for foreach() in
C:\wamp\www\vt6\include\events\VTEventTrigger.inc on line *133* Call Stack#
TimeMemory FunctionLocation10.0015334048 {main}(
)..\index.php*:*020.541628399912Vtiger_WebUI->process(
)..\index.php*:*193 0.767731622616Vtiger_Save_Action->process( )..\WebUI.php
*:*161 40.767731622616Vtiger_Save_Action->saveRecord( ) ..\Save.php*:*235
0.845132233464Vtiger_Record_Model->save( ) ..\Save.php*:*4360.8451
32233464Vtiger_Module_Model->saveRecord(
)..\Record.php*:*196 70.845832237192CRMEntity->save( ) ..\Module.php*:*1488
1.640832658896VTEventsManager->triggerEvent( )
..\CRMEntity.php*:*81091.640932659136VTEventTrigger->trigger(
)..\VTEventsManager.inc*:*118
( ! ) Warning: Invalid argument supplied for foreach() in
C:\wamp\www\vt6\include\events\VTEventTrigger.inc on line *133* Call Stack#
TimeMemory FunctionLocation10.0015334048 {main}(
)..\index.php*:*020.541628399912Vtiger_WebUI->process(
)..\index.php*:*193 0.767731622616Vtiger_Save_Action->process( )..\WebUI.php
*:*161 40.767731622616Vtiger_Save_Action->saveRecord( ) ..\Save.php*:*235
0.845132233464Vtiger_Record_Model->save( ) ..\Save.php*:*4360.8451
32233464Vtiger_Module_Model->saveRecord(
)..\Record.php*:*196 70.845832237192CRMEntity->save( ) ..\Module.php*:*1488
2.116435586744VTEventsManager->triggerEvent( )
..\CRMEntity.php*:*81192.116435586984VTEventTrigger->trigger(
)..\VTEventsManager.inc*:*118
( ! ) Warning: Cannot modify header information - headers already sent by
(output started at C:\wamp\www\vt6\include\events\VTEventTrigger.inc:133)
in C:\wamp\www\vt6\vtiger6\modules\Vtiger\actions\Save.php on line *33* Call
Stack#TimeMemory FunctionLocation10.0015334048 {main}( )..\index.php*:*02
0.5416 28399912Vtiger_WebUI->process( )..\index.php*:*193
0.767731622616Vtiger_Save_Action->process(
)..\WebUI.php*:*161 42.138535961840header <http://www.php.net/header> ( )
..\Save.php*:*33
Thanks
--
Salim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130128/cb92d664/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 17094 bytes
Desc: not available
Url : http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130128/cb92d664/attachment-0001.png
More information about the vtigercrm-developers
mailing list