Hi there,
Please look at the following server log, how come one submit seems having two ajax calls:
[code]
Line 39:
trigger_error(“ajax.php, frmName={$_POST[‘frmName’]}, token={$token}”, E_USER_NOTICE);
[code]
Line 430:
trigger_error(“Notice: ajax.php update token – {$sql} – “, E_USER_NOTICE);
Even for the double call ajax.php, why it repeats twice of line 39 then twice of line 430? it should repeat twice of {line 39 line 430}.
Does any body have the same experience? What does the log tell or what does this log tell? Does it call ajax.php twice for one click of submit?
Thanks,
Server Log:
[code]
<errorentry>
<datetime>2012-06-11 22:55:16 (EST)</datetime>
<errornum>1024</errornum>
<errortype>User Notice</errortype>
<errormsg>ajax.php, frmName=ldDtlInfo, token=Gvikk2e5q6CBqqBUlIlup9dSdGJPEfKDOjfLqa_ONPE</errormsg>
<scriptname>C:Apachehtdocsidajax.php</scriptname>
<scriptlinenum>39</scriptlinenum>
</errorentry>
<errorentry>
<datetime>2012-06-11 22:55:16 (EST)</datetime>
<errornum>1024</errornum>
<errortype>User Notice</errortype>
<errormsg>ajax.php, frmName=ldDtlInfo, token=Gvikk2e5q6CBqqBUlIlup9dSdGJPEfKDOjfLqa_ONPE</errormsg>
<scriptname>C:Apachehtdocsidajax.php</scriptname>
<scriptlinenum>39</scriptlinenum>
</errorentry>
<errorentry>
<datetime>2012-06-11 22:55:16 (EST)</datetime>
<errornum>1024</errornum>
<errortype>User Notice</errortype>
<errormsg>Notice: ajax.php update token – UPDATE c SET T=’blKr0xXiGPd9ExPBQO8yL3c3REY8rO5mF-nJGjSvOCw’ WHERE CustID = 100 – </errormsg>
<scriptname>C:Apachehtdocsidajax.php</scriptname>
<scriptlinenum>430</scriptlinenum>
</errorentry>
<errorentry>
<datetime>2012-06-11 22:55:16 (EST)</datetime>
<errornum>1024</errornum>
<errortype>User Notice</errortype>
<errormsg>Notice: ajax.php update token – UPDATE c SET T=’blKr0xXiGPd9ExPBQO8yL3c3REY8rO5mF-nJGjSvOCw’ WHERE CustID = 100 – </errormsg>
<scriptname>C:Apachehtdocsidajax.php</scriptname>
<scriptlinenum>430</scriptlinenum>
</errorentry>