Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Admin Can Log in but no settings
-
- Posts: 4
- Joined: Sat Aug 29, 2020 12:28 am
Admin Can Log in but no settings
Hi folks - I got nuBuilder up and running on my site, but when I go to log-in using the admin credentials from nuconfig.php, I don't see any options mentioned in the documentation. All I see is the attache image. (Is it because I didn't call the user globeadmin?)
You do not have the required permissions to view the files attached to this post.
-
- nuBuilder Team
- Posts: 4307
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 448 times
- Contact:
Re: Admin Can Log in but no settings
Hi,
Check the developer console (F12) for errors.
Also check the nuDebug Results, Apache log files.
Depending on the platform/web server, other settings are required.
Also see my Installation Guides.
Check the developer console (F12) for errors.
Also check the nuDebug Results, Apache log files.
Depending on the platform/web server, other settings are required.
Also see my Installation Guides.
Last edited by kev1n on Sat Aug 29, 2020 3:21 am, edited 1 time in total.
-
- nuBuilder Team
- Posts: 4307
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 448 times
- Contact:
Re: Admin Can Log in but no settings
You can easily test that by naming it globeadmin. But normally you can rename it to whatever you want.formmanokay wrote:(Is it because I didn't call the user globeadmin?)
-
- Posts: 4
- Joined: Sat Aug 29, 2020 12:28 am
Re: Admin Can Log in but no settings
Found this error in developer console
And found this in nuDebug
My admin user defined as admin, not globeadmin
Also, for what it's helpful, I'm running Ubuntu 18.04 with Php7.
Code: Select all
Uncaught TypeError: Cannot read property 'title' of undefined
at nuResponseForm.setStartPosition (nuformclass.js?ts=20200828223315:61)
at nuResponseForm.getStartPositions (nuformclass.js?ts=20200828223315:17)
at nuBuildForm (nuform.js?ts=20200828223315:159)
at Object.success ((index):79)
at c (jquery.js?ts=20200828223315:2)
at Object.fireWith [as resolveWith] (jquery.js?ts=20200828223315:2)
at l (jquery.js?ts=20200828223315:2)
at XMLHttpRequest.<anonymous> (jquery.js?ts=20200828223315:2)
Code: Select all
[0] :
===USER==========
globeadmin
===PDO MESSAGE===
SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'nubuilder.zzzzsys_tab.zzzzsys_tab_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
===SQL===========
SELECT *
FROM zzzzsys_tab
INNER JOIN zzzzsys_object ON sob_all_zzzzsys_form_id = syt_zzzzsys_form_id
WHERE syt_zzzzsys_form_id = 'nudebug'
GROUP BY syt_zzzzsys_form_id, syt_title
ORDER BY syt_order
===BACK TRACE====
/var/www/nubuilder/html/nuform.php - line 737 (nuRunQuery)
/var/www/nubuilder/html/nuform.php - line 86 (nuBuildTabList)
/var/www/nubuilder/html/nuapi.php - line 41 (nuGetFormObject)
Also, for what it's helpful, I'm running Ubuntu 18.04 with Php7.
-
- nuBuilder Team
- Posts: 4307
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 448 times
- Contact:
Re: Admin Can Log in but no settings
Have you done these changes?
Also read: https://forums.nubuilder.cloud/viewtopic. ... ntu#p18405Edit the file /etc/alternatives/my.cnf and this at the bottom:
[client]
port=3306
socket=/tmp/mysql.sock
[mysqld]
port=3306
socket=/tmp/mysql.sock
key_buffer_size=16M
max_allowed_packet=8M
sql-mode=NO_ENGINE_SUBSTITUTION
[mysqldump]
quick
-
- Posts: 4
- Joined: Sat Aug 29, 2020 12:28 am
Re: Admin Can Log in but no settings
Yes, I read your guide before posting and added those lines in my.cnf
-
- nuBuilder Team
- Posts: 4307
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 448 times
- Contact:
Re: Admin Can Log in but no settings
Search your webserver files for only_full_group_by and disable it (probably by removing it)
Also check out: https://stackoverflow.com/questions/239 ... l-group-by
Also check out: https://stackoverflow.com/questions/239 ... l-group-by
-
- nuBuilder Team
- Posts: 4307
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 448 times
- Contact:
Re: Admin Can Log in but no settings
Sometimes there's a my.ini file (depending on the distribution). For UniServerZ, e.g. I had to set the sql-mode there because I encountered the same issue ("...this is incompatible with sql_mode=only_full_group_by"...) as you
[mysqld]
sql-mode=NO_ENGINE_SUBSTITUTION
[mysqld]
sql-mode=NO_ENGINE_SUBSTITUTION
-
- Posts: 4
- Joined: Sat Aug 29, 2020 12:28 am
Re: Admin Can Log in but no settings
Interesting. I'm not sure where that mode is set (running a DigitalOcean LAMP server). I was able to do SET GLOBAL sql_mode = 'NO_ENGINE_SUBSTITUTION'; in mysql and that fixed things. I'm guessing if the server restarts I'll have the error again.
-
- nuBuilder Team
- Posts: 4307
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 448 times
- Contact:
Re: Admin Can Log in but no settings
Please let us know.formmanokay wrote:I'm guessing if the server restarts I'll have the error again.