Welcome to the nuBuilder Forums!

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

New install - cannot save updated setup. No save button.

Questions related to using nuBuilder Forte.
Post Reply
dgoadby
Posts: 12
Joined: Sat Jun 20, 2009 12:40 am
Location: Near Aberdaron in North Wales, UK

New install - cannot save updated setup. No save button.

Unread post by dgoadby »

I have just installed a new copy of V4. I logged in ok and, so far, it all looked ok.

I go into Setup to change the default time zone. The search worked ok (London) and I selected Europe/London but there is no button to commit/save/cancel the change. In fact all I can do from this page is leave whereupon I get the "Confirm/Stay on Page" message.

I then went to the User page to add a user and, again, there are no Save/Cancel buttons.

I'm sure that the forms must have a save/cancel etc options so why are they not appearing? I am using the latest Firefox browser but have also tried chrome and it's always the same.
I am using MySQL and Apache2.

I attach an image of the page I am seeing.

[attachment=0]nubuilder-01.png[/attachment
You do not have the required permissions to view the files attached to this post.
Regards

David Goadby (North Wales, UK)
Janusz
nuBuilder Team
Posts: 506
Joined: Fri Dec 28, 2018 1:41 pm
Location: Krakow, Poland
Has thanked: 8 times
Been thanked: 18 times

Re: New install - cannot save updated setup. No save button.

Unread post by Janusz »

Typically it happens when you choose logout and later in the pop-up press cancell logout in the browser.
Then some buttons disappears - and then you need to logout from nuBuilder and login again to have these buttons back.
If you like nuBuilder, please leave a review on SourceForge
kev1n
nuBuilder Team
Posts: 4307
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 448 times
Contact:

Re: New install - cannot save updated setup. No save button.

Unread post by kev1n »

You could also check the server logs and open the developer console (F12) to see if there are any error messages.
dgoadby
Posts: 12
Joined: Sat Jun 20, 2009 12:40 am
Location: Near Aberdaron in North Wales, UK

Re: New install - cannot save updated setup. FIXED

Unread post by dgoadby »

If I try to logout I am still asked if I want to leave the page which seems odd since all I have done is log in.

Activating F12 I can see that the location and class of the Save/Cancel etc buttons is NuActionHolder. The "bar" is empty of any buttons. I can see the CSS for .NUActionHolder too.

Ah, checking the debug table I have the following entry:

Code: Select all

===USER==========

globeadmin

===PDO MESSAGE=== 

SQLSTATE[HY000]: General error: 1364 Field 'sss_time' doesn't have a default value

===SQL=========== 

INSERT INTO zzzzsys_session SET sss_access = ?, zzzzsys_session_id = ?

===BACK TRACE====

/srv/www/htdocs/nubuilder4/nuprocesslogins.php - line 107 (nuRunQuery)

/srv/www/htdocs/nubuilder4/nusession.php - line 22 (nuLoginSetupGlobeadmin)

/srv/www/htdocs/nubuilder4/nuapi.php - line 6 (require_once)

It's been a while for me with PHP but I think the message is telling me that there is a problem with 'sss_time' column.

This looks like a basic error/problem to me. Any ideas what the fix is?

Once I understood the debug messages I went into the PHP. It seems the zzzzsys_session table structure has changed and defaults to "NULL". The table used to be "Not NULL" and, as the SQL did not pass in a value for "sss_time" that's where it all went wrong. I rebuilt the database from the latest NuBuilder SQL build file and the system is now working.


Thanks to all respondents.
Regards

David Goadby (North Wales, UK)
Post Reply