I have Error then Update Record it have ajax
i use ( form maul ti page) pleas help me
Fatal error: Call to undefined function formdaily_pack_ajax_response() in /home/alda**/public_html/dar/formdaily/formdaily_inline_apl.php on line 5629
Too little info to answer the question. You’re doing something wrong probabely, but I realy have no clue.
I really have a problem when I update the record show me this message: : Fatal error: Call to undefined function formdaily_pack_ajax_response() in /home/alda**/public_html/dar/formdaily/formdaily_inline_apl.php on line 5629
I wrote in AJAX events following statements when you change one of the fields
{Totaldaily}={Procurement}+{Inventory};
{Profitmargin}={Percentage}*{Saletoday};
{Capital}={Saletoday}-{Profitmargin};
{Rest}={Totaldaily}-{Capital};
{Total}={Saletoday}-{Debt}-{Expenses}-{Shot};
Fields table is :
Id int(7) NOT NULL auto_increment,
Date date NOT NULL,
Inventory float NOT NULL,
Procurement float NOT NULL,
Totaldaily float NOT NULL,
Saletoday float NOT NULL,
Percentage float NOT NULL,
Profitmargin float NOT NULL,
Capital float NOT NULL,
Rest float NOT NULL,
Debt float NOT NULL,
Expenses float NOT NULL,
Shot float NOT NULL,
Total float NOT NULL,
PRIMARY KEY (Id)
pleas i want solution
Well it would be nice if you would view the source of formdaily_inline_apl.php around line 5629 and a bit before (just a few lines).
line 5624 is :if ($original_shot_ != $modificado_shot_ || (isset($bFlagRead_shot_) && $bFlagRead_shot_))
line 5625 is :{
line 5626 is : $this->NM_ajax_info[‘fldList’][‘shot_’ . $this->nmgp_refresh_row][‘type’] = ‘text’;
line 5627 is : $this->NM_ajax_info[‘fldList’][‘shot_’ . $this->nmgp_refresh_row][‘valList’] = array(NM_charset_to_utf8($this->shot_));
line 5628 is : $this->NM_ajax_changed[‘shot_’] = true;
line 5629 is : }
line 5630 is :formdaily_pack_ajax_response();
line 5631 is :exit;
anybody here ?
For me there’s still to less info. Could be anything, one of the fields between {} is not existing, or some other syntax error, in fact it’s hard to guess as I can’t see what settings you have, which event(s).
Check if you have included that function somewhere, it should be declared somewhere in your deployed code. If not then you havent added in your libraries or something similar. If you use it then it should be declared. So check all deployed files in that app for that funcion name.