0
TCPDF錯誤:setPage錯誤的頁面數量()函數:0TCPDF錯誤:setPage錯誤的頁面數量()函數:0
我的代碼:
include_once('class/tcpdf/tcpdf.php');
include_once("class/PHPJasperXML.inc");
include_once ('setting.php');
$xml = simplexml_load_file("Relatorio/relatorio.jrxml"); //informe onde está seu arquivo jrxml
$PHPJasperXML = new PHPJasperXML();
$PHPJasperXML->debugsql = false;
$PHPJasperXML->xml_dismantle($xml);
$PHPJasperXML->connect($server, $user, $pass, $db);
$PHPJasperXML->transferDBtoArray($server, $user, $pass, $db);
$PHPJasperXML->outpage("I", "");
任何人都可以請幫我解決這個問題?
有沒有setPage()在您包括的代碼。 – Sudoscience
我猜你的報告是空的set當Jasper報告標籤上的數據類型=「BlankPage」時 –