Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

'Setup' tab doesn't appear

Questions related to using nuBuilder Forte.
kiwironnie
Posts: 5
Joined: Wed Mar 07, 2018 2:14 am

'Setup' tab doesn't appear

Unread post 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.
You do not have the required permissions to view the files attached to this post.
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Re: 'Setup' tab doesn't appear

Unread post 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.
You do not have the required permissions to view the files attached to this post.
kiwironnie
Posts: 5
Joined: Wed Mar 07, 2018 2:14 am

Re: 'Setup' tab doesn't appear

Unread post 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.
Last edited by kiwironnie on Wed Mar 07, 2018 6:51 pm, edited 1 time in total.
admin
Site Admin
Posts: 2815
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: 'Setup' tab doesn't appear

Unread post by admin »

Ron,

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

Steven
kiwironnie
Posts: 5
Joined: Wed Mar 07, 2018 2:14 am

Re: 'Setup' tab doesn't appear

Unread post 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
admin
Site Admin
Posts: 2815
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: 'Setup' tab doesn't appear

Unread post 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
kiwironnie
Posts: 5
Joined: Wed Mar 07, 2018 2:14 am

Re: 'Setup' tab doesn't appear

Unread post 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.
admin
Site Admin
Posts: 2815
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: 'Setup' tab doesn't appear

Unread post by admin »

Ron,

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

Steven
kiwironnie
Posts: 5
Joined: Wed Mar 07, 2018 2:14 am

Re: 'Setup' tab doesn't appear

Unread post by kiwironnie »

Ok, will do Steven, soon as there's some time available.
Cheers Ron.
admin
Site Admin
Posts: 2815
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: 'Setup' tab doesn't appear

Unread post by admin »

Ok
Post Reply