Bug in adding users?
Posted: Tue Apr 25, 2023 5:01 pm
Hi,
I am adding users to my nuBuilder site.
I can add users, and assign them an access level, and they are able to login, but only one user is shown when I browse "Users".
THis is the error found in Debug:
Thank you
I am adding users to my nuBuilder site.
I can add users, and assign them an access level, and they are able to login, but only one user is shown when I browse "Users".
THis is the error found in Debug:
Code: Select all
[0] : ===PDO MESSAGE===
SQLSTATE[HY000]: General error: 3065 Expression #1 of ORDER BY clause is not in SELECT list, references column 'Sql1625603_1.zzzzsys_access.sal_code' which is not in SELECT list; this is incompatible with DISTINCT
===SQL===========
SELECT DISTINCT CONCAT(sal_code,' : ',sal_description) FROM `zzzzsys_user`
INNER JOIN zzzzsys_access ON zzzzsys_access_id = sus_zzzzsys_access_id ORDER BY sal_code
===BACK TRACE====
/web/htdocs/---hidden---/core/nucommon.php(1406) : eval()'d code - line 31 (nuRunQuery)
/web/htdocs/---hidden---/core/nucommon.php(1406) : eval()'d code - line 44 ({closure})
/web/htdocs/---hidden---/core/nucommon.php - line 1406 (eval)
/web/htdocs/---hidden---/core/nuform.php - line 21 (nuEval)
/web/htdocs/---hidden---/core/nuform.php - line 1133 (nuBeforeBrowse)
/web/htdocs/---hidden---/core/nuform.php - line 460 (nuBrowseColumns)
/web/htdocs/---hidden---/core/nuapi.php - line 84 (nuGetFormObject)