Page 1 of 2

'Setup' tab doesn't appear

Posted: Wed Mar 07, 2018 2:36 am
by kiwironnie
Screenshot from 2018-03-07 14-30-35.png
Hi Folks
Have just installed Nubuilder Forte on an Ubuntu 16.04 desktop machine for testing.
Its in a directory 'nubuilder4' containing the default downloaded file structure. This is configured as an Apache2 DocumentRoot /media/ron/Sam/www/nubuilder4
The virtual server port is set to 8088 as 80 is already being used
Successfully imported nubuilder4.sql into a new MySQL database instance
Configured database details and other credentials in nuconfig.php
Accessed localhost:8088
The logon screen comes up and I can logon
The next screen looks almost ok except there is no setup tab (see screenshot). None of the forms work properly and returning home gives a mainly blank screen (see screenshot).

Probably doing something really stupid on the setup but can't think of what it could be. Suggestions appreciated.
Cheers Ron.

Re: 'Setup' tab doesn't appear

Posted: Wed Mar 07, 2018 5:17 am
by toms
kiwironnie,

Try this:
By running this query on your database, you'll get access to all system forms. Then login again to nuBuilder.

Code: Select all

UPDATE `zzzzsys_setup` SET `set_denied` = '0';
Then check if there is a "Setup" Tab. (Options Menu -> Form Properties)
nuhome.PNG
Also check the console output if you see any errors.

Re: 'Setup' tab doesn't appear

Posted: Wed Mar 07, 2018 9:42 am
by kiwironnie
Thank you very much for taking the time to respond.
The query that you specified returned zero rows and using phpMyAdmin I can see that the value of 'set_denied' is already 0.
The no 'Setup' link problem still exists.
Looking at developer console in Firefox, when I go to 'FastForm' and click on 'Input:Text' there is a console error as follows:

TypeError: SFR.forms[0].tabs[0] is undefined
[Learn More]
nuform.js:1186:3
ReferenceError: nuSelectFFObjects is not defined
[Learn More]
index.php:1:1

Clicking on the 'Home' link throws another error in the console:

TypeError: w.tabs[0] is undefined
[Learn More]

The home page that appears is essentially blank, as shown in the previous attachment.
In Chrome I get errors such as:

nuform.js?ts=20180307085400:1186 Uncaught TypeError: Cannot read property 'id' of undefined
at nuSUBFORM (nuform.js?ts=20180307085400:1186)
at nuBuildEditObjects (nuform.js?ts=20180307085400:378)
at nuBuildForm (nuform.js?ts=20180307085400:95)
at successCallback (nuajax.js?ts=20180307085400:108)
at Object.success (nuajax.js?ts=20180307085400:15)
at fire (jquery.js?ts=20180307085400:3305)
at Object.fireWith [as resolveWith] (jquery.js?ts=20180307085400:3435)
at done (jquery.js?ts=20180307085400:9242)
at XMLHttpRequest.<anonymous> (jquery.js?ts=20180307085400:9484)

nuform.js?ts=20180307085400:1667 Uncaught TypeError: Cannot read property 'id' of undefined
at nuSetStartingTab (nuform.js?ts=20180307085400:1667)
at nuAddEditTabs (nuform.js?ts=20180307085400:1621)
at nuBuildForm (nuform.js?ts=20180307085400:85)
at successCallback (nuajax.js?ts=20180307085400:108)
at Object.success (nuajax.js?ts=20180307085400:15)
at fire (jquery.js?ts=20180307085400:3305)
at Object.fireWith [as resolveWith] (jquery.js?ts=20180307085400:3435)
at done (jquery.js?ts=20180307085400:9242)
at XMLHttpRequest.<anonymous> (jquery.js?ts=20180307085400:9484)

Not a clue at the moment why these errors are occuring, so be very grateful for further advice.

Cheers Ron.

Re: 'Setup' tab doesn't appear

Posted: Wed Mar 07, 2018 6:39 pm
by admin
Ron,

Sorry, but I have no idea, are you getting any Javascript error messages?

Steven

Re: 'Setup' tab doesn't appear

Posted: Wed Mar 07, 2018 7:44 pm
by kiwironnie
Hi Steven
See edited earlier message with JavaScript errors.
Appears to be in a js file that was modified 2 days ago.
Any ideas now?
Cheers, Ron

Re: 'Setup' tab doesn't appear

Posted: Thu Mar 08, 2018 12:01 am
by admin
Ron,

There is an Update Button on a Tab you can't get access to (because you can't see the Tab)

But if you run this in the browser console it will update your database - the same as the Button would...

Code: Select all

nuSystemUpdate();
See if that works.

Steven

Re: 'Setup' tab doesn't appear

Posted: Thu Mar 08, 2018 1:50 am
by kiwironnie
Hi Steven
Running nuSystemUpdate(); in the console gives a popup 'Update system? Be sure to backup first.'
Upon clicking 'ok' nothing apparently happens except a console message 'undefined' appears.

Re: 'Setup' tab doesn't appear

Posted: Thu Mar 08, 2018 2:35 am
by admin
Ron,

I think you need to try it on a different server.

Steven

Re: 'Setup' tab doesn't appear

Posted: Thu Mar 08, 2018 2:57 am
by kiwironnie
Ok, will do Steven, soon as there's some time available.
Cheers Ron.

Re: 'Setup' tab doesn't appear

Posted: Thu Mar 08, 2018 3:06 am
by admin
Ok