php - Creating a SubReport in iReport 5.6 doesn't work -


i'm having trouble when call report php... i'm trying create subreport in report.

notice (8): undefined property: phpjasperxmlsubreport::$gname [app\vendor\phpjasperxml\class\phpjasperxmlsubreport.inc.php, line 632]  notice (8): undefined variable: isprintrepeatedvalues [app\vendor\phpjasperxml\class\phpjasperxmlsubreport.inc.php, line 651]  fail connect database 

i don't know how solve it... ?

if need more information, please tell me... i'll add.

edit(1): i'm sending fix parameters test :

$param_cd_clientes = "447008,446999,446943,446941,446940,446939,446938,446937,446936,446935,446934"; $param_cd_filial =   "0,10,116,12,16,8,18,98,100,102,103,104,106,111,114,99,108,110,6,2,112,4,3,7,14,105,216,17,1,11,13,9,15,5"; $param_cd_pgto = "9,6,1,5,8,2,4,3,10,7,11"; $faixaselecionada = "todas faixas selecionadas"; $menorfaixa = "'"."1 days"."'"; $maiorfaixa = "'"."2000 days"."'"; $per_ini_baixa = "'"."2013-01-01"."'"; $per_fim_baixa = "'"."2014-12-31"."'"; $cod_faixa_atraso = "1,2,3,4,5,6,7,8,9,10,11";          $xml = simplexml_load_file('relatorios_recebimento_faixa_de_atraso.jrxml'); //file name         $phpjasperxml = new phpjasperxml();         $phpjasperxml->arrayparameter=array("param_cd_clientes"=> $param_cd_clientes, "param_cd_filial" => $param_cd_filial, "param_cd_pgto" => $param_cd_pgto, "param_clientes_antecipados" => $param_clientes_antecipados,             "faixaselecionada" => $faixaselecionada, "menorfaixa" => $menorfaixa, "maiorfaixa" => $maiorfaixa, "per_ini_baixa" => $per_ini_baixa, "per_fim_baixa" => $per_fim_baixa, "cod_faixa_atraso" => $cod_faixa_atraso);         $phpjasperxml->xml_dismantle($xml);         $phpjasperxml->transferdbtoarray("url","user","password","dbtoconnect", "psql");         $phpjasperxml->outpage("i");  

ps: without subreport works great !...


Comments