Page 1 of 2

Setup Screen Problem

Posted: Mon Nov 23, 2020 4:43 pm
by archerdata
I finally got the planets to line up and succeeded in getting nuBuilder4 login page and logged in. But ... the Setup page is wonky.
Image
If anyone has experienced this, I would appreciate your insight.

Re: Setup Screen Problem

Posted: Mon Nov 23, 2020 4:47 pm
by kev1n
Hi,

That looks really, really strange. Could you upload a dump of your db here?

Re: Setup Screen Problem

Posted: Mon Nov 23, 2020 5:36 pm
by archerdata

Re: Setup Screen Problem

Posted: Mon Nov 23, 2020 6:04 pm
by kev1n
I would do a fresh installation. It looks like the sql has been imported several times into the db.

And do not import the sql file manually (Although it says so in the Wiki) This can lead to the result that the DB Views are not created!

Re: Setup Screen Problem

Posted: Mon Nov 23, 2020 8:47 pm
by archerdata
Hi.

What is the preferred import method? The instructions simply say to import it, so I used phpMy Admin, and it reported:

SQL query: Documentation

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `zzzzsys_report_data` AS select concat('PROCEDURE:',`zzzzsys_php`.`zzzzsys_php_id`) AS `id`,`zzzzsys_php`.`sph_code` AS `code`,`zzzzsys_php`.`sph_description` AS `description` from `zzzzsys_php` where `zzzzsys_php`.`sph_system` <> '1' and locate('#TABLE_ID#',`zzzzsys_php`.`sph_php`) > '0' union select concat('SQL:',`zzzzsys_select`.`zzzzsys_select_id`) AS `id`,'nuSQL' AS `code`,`zzzzsys_select`.`sse_description` AS `description` from `zzzzsys_select` where `zzzzsys_select`.`sse_system` is null or `zzzzsys_select`.`sse_system` = '' union select concat('TABLE:',`zzzzsys_table`.`zzzzsys_table_id`) AS `id`,'nuTABLE' AS `code`,`zzzzsys_table`.`zzzzsys_table_id` AS `description` from `zzzzsys_table`
MySQL said: Documentation

#1227 - Access denied; you need (at least one of) the SUPER privilege(s) for this operation

Re: Setup Screen Problem

Posted: Mon Nov 23, 2020 8:50 pm
by kev1n
Just log in after modifying nuconfig.php. nuBuilder will import the SQL file automatically when you first log in.

Re: Setup Screen Problem

Posted: Mon Nov 23, 2020 9:00 pm
by archerdata
OK, I'll drop the tables ... and then login.

Re: Setup Screen Problem

Posted: Tue Nov 24, 2020 2:50 am
by archerdata
That worked perfectly!

When you're new to nuBuilder, it would be more reassuring if something appeared on the screen to indicate that the import completed successfully.

Thank you for the guidance.

Re: Setup Screen Problem

Posted: Tue Nov 24, 2020 3:52 am
by kev1n
It would probably be best if the wiki was modified (remove the sql import part). The problem has been reported again and again and will occur again as long as it is in the wiki.

Re: Setup Screen Problem

Posted: Tue Nov 24, 2020 8:01 pm
by admin
kev1n,

I'll try using mysqldump from now on if it works (to stop this ongoing problem).

Here is the result I'm getting...

Can you test it on a database not owned by root please?

To see if it will work.
nubuilder4.zip
Thanks.


Steven