I designed a report using iReport tool and upload it to JasperReports Server into my local server pc. In iReport and JasperReports Server the report is working perfectly but when I call the report from Yii 1 then it's not working. It's returning blank page instead of Data. I can not find out the issue.
Here is my yii 1 code (using YiiJasper Extension in Yii):
$re = new JasperReport('/entsol/Reports/AcAccounts',
JasperReport::FORMAT_PDF, array(
'pAccountTile' => $pAccountTile,
'pBranch' => $pBranch,
'pFromDate' => $pFromDate,
'pToDate'=>$pToDate,
)
);
$re->exec();
echo $re->reportToPDF(); //All pages
by using the above code I got blank page instead of data.
How do I get my issue ?