Welcome to the nuBuilder forums!

Please register and login to view forums and other content only available to registered users.

Error of report

Post Reply
Arunas
Posts: 21
Joined: Sat Feb 07, 2015 11:19 pm

Error of report

Unread post by Arunas »

Hi.

I have Criteria Form and SQL in the SQL SELECT Used... Working. But, if there is no records of report, I get an error:

Warning: array_key_exists() expects parameter 2 to be array, null given in /home/nubuilder/nurunpdf.php on line 742
FPDF error: Some data has already been output, can't send PDF file

Why I don't get empty pdf file?
admin
Site Admin
Posts: 2791
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5
Been thanked: 4 times

Re: Error of report

Unread post by admin »

Arunas,

Does your code create an empty temporary table (#TABLE_ID#)?

Steven
Arunas
Posts: 21
Joined: Sat Feb 07, 2015 11:19 pm

Re: Error of report

Unread post by Arunas »

Steven

I write SQL in field SQL SELECT Used To Create #TABLE_ID#. So I don't write code in PHP Used To Create #TABLE_ID#.
admin
Site Admin
Posts: 2791
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5
Been thanked: 4 times

Re: Error of report

Unread post by admin »

Arunas,

Make sure that there is a fieldname in your table for any grouping in your report.

Steven
Post Reply