Hello ,
First of all , thanks for your good job concerning Ireports intergration !!!
I have installed and try to integrated a reports but I receive a error message write below, what do I wrong ???
I think it’s with sc_redir command but, I cannot find what is wrong !!!
Thanks in advance for your help
Merry Christmas
Can
Fatal error: Call to undefined method grid_XXXXX_apl::nmgp_redireciona_form() in
…wwwroot\scriptcase\app\MyProject\grid_XXXX X\grid_XXXXX.php on line 1938
=====================================
BUTTON CODE
$pdf_query=“SELECT
…”;
$xml_file=“report1.jrxml”;
sc_set_global($pdf_query);
sc_set_global($xml_file);
sc_redir(…/ireports/ireports.php);
=======================================
grid_XXXXX.php CODE
…
if (isset($this->sc_temp_pdf_query)) {$_SESSION[‘pdf_query’] = $this->sc_temp_pdf_query;}
if (isset($this->sc_temp_xml_file)) {$_SESSION[‘xml_file’] = $this->sc_temp_xml_file;}
if (!isset($this->Campos_Mens_erro) || empty($this->Campos_Mens_erro))
{
//////////////////////////////////////// line 1938 /////////////////////
$this->nmgp_redireciona_form("…/ireports/ireports.php", $this->nm_location, “”,"_self", 440, 630, “ret_self”);
//////////////////////////////////////// //////////////////////////////
};
if (isset($this->sc_temp_pdf_query)) {$_SESSION[‘pdf_query’] = $this->sc_temp_pdf_query;}
if (isset($this->sc_temp_xml_file)) {$_SESSION[‘xml_file’] = $this->sc_temp_xml_file;}
…
=======================================
APP DIRECTORY TREE and filename
…wwwroot\scriptcase\app\MyProject\ireports
in ireports directory :
\class
ireports.php
report1.jrxml
…