[#4058] - require_once(XML/Serializer.php): failed to open stream: No such file or directory

Category:
Bug report
Priority:
Urgent
Status:
New
Project: Severity:
Critical
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:
0

Hi,

good day.

The following is the error message :-

A PHP Error was encountered
Severity: Warning
Message: require_once(XML/Serializer.php): failed to open stream: No such file or directory
Filename: libraries/JasperClient.php
Line Number: 28

and here how i called the jasperserver :-

$params = array('hostname' => 'localhost',
'port' => '8080',
'username' => 'jasperadmin',
'password' => 'jasperadmin',
'baseUrl' => '/jasperserver',
'orgId' => null);
$this->load->library('JasperClient', $params);

header('Cache-Control: must-revalidate');
header('Pragma: public');
header('Content-Description: File Transfer');
header('Content-Disposition: attachment; filename=report.pdf');
header('Content-Transfer-Encoding: binary');
header('Content-Length: ' . strlen($report));
header('Content-Type: application/pdf');

$controls = array(
'coid' => $co_id,
'trncd' => $sstrncd,
'frinvno' => $frinvoice,
'toinvno' => $toinvoice,
'frinvdt' => $frissdt,
'toinvdt' => $toissdt,
'frcuscd' => $frcus,
'tocuscd' => $tocus,
'dateformat' => $dtfmt,
'amtformat' => $amtfmt,
'qtyformat' => $qtyfmt
);

$result = $this->JasperClient->runReport('/reports/issgst/$reportname', 'pdf', null, null, $controls);

echo $result;

and we placed the report in

root->Reports->Interactive
->issgst->superinvoicef1.jrxml
->Samples

Please help !!!

note : try to attached the jasperserver report print screen but not luck.

Thank you.

Regards
Gilbert

AttachmentSize
File superinvoicef1.rar94.3 KB
insolve's picture
16
Joined: Dec 11 2011 - 7:53pm
Last seen: 2 years 2 months ago
Feedback