I installed the latest version and created my project with various forms. After that I started to create the users but I get this sql error.
Code: Select all
[0] : ===PDO MESSAGE===
SQLSTATE[HY000]: General error: 3065 Expression #1 of ORDER BY clause is not in SELECT list, references column 'Sql1751210_4.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
WHERE (
(('#nuBrowseTitle9_select#' LIKE '#%' OR '#nuBrowseTitle9_select#' = '') AND (sus_expires_on > NOW() OR sus_expires_on IS NULL)) OR
('#nuBrowseTitle9_select#' = 'Expired' AND sus_expires_on < NOW()))
ORDER BY sal_code
===BACK TRACE====
/web/htdocs/www.loggiaeinstein.it/home/bibliotecagoi/core/nudatabase.php - line 473 (nuRunQuery)
/web/htdocs/www.loggiaeinstein.it/home/bibliotecagoi/core/nucommon.php(1501) : eval()'d code - line 47 (nuEncodeQueryRowResults)
/web/htdocs/www.loggiaeinstein.it/home/bibliotecagoi/core/nucommon.php - line 1501 (eval)
/web/htdocs/www.loggiaeinstein.it/home/bibliotecagoi/core/nucommon.php - line 1539 (nuEvalSafe)
/web/htdocs/www.loggiaeinstein.it/home/bibliotecagoi/core/nuform.php - line 27 (nuEval)
/web/htdocs/www.loggiaeinstein.it/home/bibliotecagoi/core/nuform.php - line 1110 (nuBeforeBrowse)
/web/htdocs/www.loggiaeinstein.it/home/bibliotecagoi/core/nuform.php - line 436 (nuBrowseColumns)
/web/htdocs/www.loggiaeinstein.it/home/bibliotecagoi/core/nuform.php - line 158 (nuGetFormFinalize)
Not understanding if the problem was with the forms, I did a new fresh installation completely separate from the previous one with a different database and if I try to create a new user I always get the same sql error. In addition, the users are created in the db but not shown in the user list.
Db is mysql v8
Any suggestions?
Thanks for any help