Welcome to the nuBuilder Forums!

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

PDO complains about the temporary table for the report.

Questions related to customising nuBuilder Forte with JavaScript or PHP.
Post Reply
kknm
Posts: 366
Joined: Sat Apr 11, 2020 12:03 am
Has thanked: 3 times
Been thanked: 4 times
Contact:

PDO complains about the temporary table for the report.

Unread post by kknm »

When creating a report I encountered a problem unknown to me:

Code: Select all

[0] : ===PDO MESSAGE===

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'nubuilder.___nu166582ecf8ce51____nu_summary' doesn't exist

===SQL===========

SELECT SUM(nu_sum_a_tn) AS the_sum_a FROM ___nu166582ecf8ce51____nu_summary  

===BACK TRACE====

/var/www/report/core/nurunpdf.php - line 821 (nuRunQuery)

/var/www/report/core/nurunpdf.php - line 668 (nuGetFieldValue)

/var/www/report/core/nurunpdf.php - line 434 (getObjectRows)

/var/www/report/core/nurunpdf.php - line 597 (setObjectLines)

/var/www/report/core/nurunpdf.php - line 587 (pageHeaderFooter)

/var/www/report/core/nurunpdf.php - line 383 (chopSectionOverPages)

/var/www/report/core/nurunpdf.php - line 316 (buildSection)

/var/www/report/core/nurunpdf.php - line 68 (nuBuildReport)

/var/www/report/core/nurunpdf.php - line 23 (nuRunReportId)
But in phpMyAdmin my SQL works fine.Where to look for the error?
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: PDO complains about the temporary table for the report.

Unread post by kev1n »

What nuBuilder version are you using?
kknm
Posts: 366
Joined: Sat Apr 11, 2020 12:03 am
Has thanked: 3 times
Been thanked: 4 times
Contact:

Re: PDO complains about the temporary table for the report.

Unread post by kknm »

V.4.5-2023.09.18.02
Similar tables work fine...
Although ...
I seem to have found a problem - some 'a_tn' fields are empty. When grouping, phpMyadmin does not consider this an error, PDO swears.
Post Reply