Welcome Guest, Not a member yet? Register   Sign In
can't view report phpjasperxml

i've something problem with report phpjasperxml

i've make name file controllers : mydata.php

I also have followed the following ways :
Copy PHPJasperXML.inc to application/libraries.
Rename the file to PHPJasperXML.php.
Copy the folder fpdf to application/libraries.
Insert the following line to PHPJasperXML.php after the <?php tag:

You should now be able to load the library in your controller using

view code:
controllers : mydata.php
function report()
        $xml =  simplexml_load_file('mydata.jrxml'); ---> Line Number 115

        @$PHPJasperXML = new PHPJasperXML();

        @$PHPJasperXML->outpage("I");    //page output method I:standard output  D:Download file

message error:
A PHP Error was encountered

Severity: Warning

Message: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "mydata.jrxml"

Filename: controllers/mydata.php

Line Number: 115

can anyone help me...?

sorry for my bad english ^_^

It looks to me like you probably need to provide the correct path to mydata.jrxml.

Theme © iAndrew 2016 - Forum software by © MyBB