Giter Site home page Giter Site logo

phpjasperlibrary's People

Contributors

chathurangat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

phpjasperlibrary's Issues

2 issues I found

tests.zip
Hi - I came across your project and I am so happy that it works without the need of using TomCat and PHP JavaBridge, which is the way I was doing it...

Anyway - I used the following code and I came across 2 issues:
include_once('PhpJasperLibrary/tcpdf/tcpdf.php'); include_once('PhpJasperLibrary/PHPJasperXML.inc.php'); $server='localhost'; $db='xxxxxxxx'; $user='xxxxxxx'; $pass='xxxxxx'; $pgport=3306; $xml = simplexml_load_file('test.jrxml'); $PHPJasperXML = new PHPJasperXML(); $PHPJasperXML->xml_dismantle($xml); $PHPJasperXML->transferDBtoArray($server,$user,$pass,$db); $PHPJasperXML->outpage('I');

The first issue is that when I have a title, it creates an entire page for the title.
The second issue is that when I run this report, an error was trapped at line number 3155:

[04-Jan-2018 13:12:10 UTC] PHP Warning: Invalid argument supplied for foreach() in /......../PhpJasperLibrary/PHPJasperXML.inc.php on line 3155

so I replaced it with:
if ($this->arraygrouphead && is_array($this->arraygrouphead)){ foreach ($this->arraygrouphead as $out) { $this->display($out,$y,true); } }
I attached the report and I can give you the address so you can see what it does: http://sdksandbox.com/_sandbox/mihai/jasper_test/report.php

The title is set 30 in height in the iReport, but it creates this page...
I am using iReport v5.5.1 and I just downloaded your library. So it is the latest as I write this issue.

Please let me know if I can help with anything to get this working...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.