Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.

HTML 500 error

Questions related to nuBuilder Forte Reports and the Report Builder.
Post Reply
Lala
Posts: 43
Joined: Thu Nov 07, 2024 11:46 pm
Has thanked: 10 times
Been thanked: 4 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: 4444
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 75 times
Been thanked: 484 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: 43
Joined: Thu Nov 07, 2024 11:46 pm
Has thanked: 10 times
Been thanked: 4 times

Re: HTML 500 error

Unread post by Lala »

Brilliant - thank you!
Post Reply