amy.brownlee Posted May 24, 2013 Share Posted May 24, 2013 I am using PHPJasperXML 0.8d to generate a JasperReport pdf file. I am using Jaspersoft Studio 5.1.0. The first time I ran the php script, the pdf was blank. Now every time I run it, I get this error message: "1TCPDF ERROR: Some data has already been output, can't send PDF file." Link to comment Share on other sites More sharing options...
marianol Posted May 24, 2013 Share Posted May 24, 2013 I just took a peek at the phpjasperxml-08d class, it looks like is in a very alpha stage and tries to render the JRXML files in PDF only. I will look further into this. But if you are trying to embed reporting into your PHP application check out the Japser PHP client http://community.jaspersoft.com/project/php-client.I actually have a full working sample of that here: https://github.com/marianol/JasperServer-for-PHP and there is a techtalk / webinar that goes over the topic oif integrating Jasper and PHP applications: http://www.jaspersoft.com/embedding-jaspersoft-into-your-php-applicationHope this helps.. Link to comment Share on other sites More sharing options...
amy.brownlee Posted May 29, 2013 Author Share Posted May 29, 2013 Thank you for taking the time to look at my question. I looked at your sample but I am new to PHP and JasperReports. Is there a less complex way to run a PHP script that will generate a JasperSoft report as a pdf? Link to comment Share on other sites More sharing options...
ajesh.s Posted August 16, 2013 Share Posted August 16, 2013 i did see the example and tried to run it but it seems a 'config.php' file is included in the index.php file and it is missing from the package Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now