Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by osalinas on Apr 13, 2009 08:31
open dhtmlx forum
PHP connector

I'm using the php connector but i have a problem when i try update a data.

The log file show "Access control: operation blocked":

====================================
Log started, 13/04/2009 08:04:45
====================================

Edit operation started [GRID]
4_gr_id => 4
4_c0 => 1983
4_c1 => HSD/HA12
4_c2 => DBA
4_c3 => (202) xxxxx
4_c4 =>
ids => 4

Row data [4]
gr_id => 4
0 => 1983
1 => HSD/HA12
2 => DBA
3 => (202) xxxxx
4 =>

Access control: operation blocked

Edit operation finished
0 => action:error; sid:4; tid:4;

Done in 0.011532068252563ms


And the dataprocessor debug show:

Log:
row 2 marked as updated
Initiating data sending for 2
Server url: datosaux.php?sp=19&editing=true

2_gr_id=2
2_c0=1981
2_c1=HSD%2FHA12
2_c2=DBA
2_c3=(202)%xxxxx
2_c4=
ids=2

server response received <?xml version='1.0' ?><data><action type='error' sid='2' tid='2' ></action></data>
Not a XML

***************************************************************************************************

Can you explain me what happens ? What i'm doing wrong?

I'm using treegrid pro.

Thanks.
Answer posted by Support on Apr 14, 2009 01:45
According to the log, action call from client side was not contain action type parameter, and as result operation was blocked
Such situation can occur if your are using connectors with older version of dataprocessor ( 2.0, most probably ) 

To fix issue just use dataprocessor 2.1 ( latest dhtmlxdataprocessor.js and dhtmlxcommon.js can be taken from standard grid package, available at dhtmlx.com )