Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

HTML 500 error

Questions related to nuBuilder Forte Reports and the Report Builder.
Lala
Posts: 25
Joined: Thu Nov 07, 2024 11:46 pm
Has thanked: 7 times
Been thanked: 3 times

HTML 500 error

Unread post by Lala »

Why can't I run this report? I have another "test" report using the same nuSQL which works fine, but when I run report FR2 I get this error
You do not have the required permissions to view the files attached to this post.
kev1n
nuBuilder Team
Posts: 4188
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 60 times
Been thanked: 399 times
Contact:

Re: HTML 500 error

Unread post by kev1n »

Hi,

I see this error:

Code: Select all

Uncaught TypeError: DateTime::setDate(): Argument #1 ($year) must be of type int, string given
Try the following:

Replace this line

Code: Select all

$o->setDate($d[0], $d[1], $d[2]);
in nucommon.php with

Code: Select all

$o->setDate(intval($d[0]), intval($d[1]), intval($d[2]));
Lala
Posts: 25
Joined: Thu Nov 07, 2024 11:46 pm
Has thanked: 7 times
Been thanked: 3 times

Re: HTML 500 error

Unread post by Lala »

Brilliant - thank you!
Post Reply