Welcome to the nuBuilder Forums!

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

nubuilder not working on newer Ubuntu

Questions related to using nuBuilder Forte.
deckoff
Posts: 17
Joined: Tue Jul 10, 2018 12:34 pm
Been thanked: 1 time

nubuilder not working on newer Ubuntu

Unread post by deckoff »

Hello, I tried installing nuBuilder on Ubuntu 16.04 and 18.04. It will work, but after login half the menus would be missing. I managed to get it up and running on Ubuntu 14.04 in VM.
Am I doing something wrong? Need some direction in how to fix it.
Thanx
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Re: nubuilder not working on newer Ubuntu

Unread post by toms »

HI,

I'm assuming that your PHP Version is 7.x. nuBuilder Forte does not work with PHP version PHP 7.2.x. What I can say for sure is that it runs with eg. PHP 5.6.33. I haven't tested PHP 7.0.27 / PHP 7.1.13 though.
deckoff
Posts: 17
Joined: Tue Jul 10, 2018 12:34 pm
Been thanked: 1 time

Re: nubuilder not working on newer Ubuntu

Unread post by deckoff »

Yes, this is indeed the case. OK, so, fo the time being, if I insist on using newer versions of Ubuntu I have to roll back the php version, it seems.
Thank you for your help.
I would consider this one closed.
Kind regards.
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: nubuilder not working on newer Ubuntu

Unread post by admin »

I don't think this is entirely correct, we use nuBuilder4 on PHP7

Our current environment is Ubuntu 16.04.4 with PHP 7.0.28.

First try changing your php.ini and set the following:

error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT

let me know how that goes?

-Shane
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Re: nubuilder not working on newer Ubuntu

Unread post by toms »

admin wrote:I don't think this is entirely correct, we use nuBuilder4 on PHP7
-Shane
My statement was that it does not work 7.2. But I was not sure about 7.x.
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: nubuilder not working on newer Ubuntu

Unread post by admin »

I have it running on PHP Version 7.2.7-1
deckoff
Posts: 17
Joined: Tue Jul 10, 2018 12:34 pm
Been thanked: 1 time

Re: nubuilder not working on newer Ubuntu

Unread post by deckoff »

Hmm
As you can see form the images below, after logging in the menu at the top left hand side is missing.
Opening the fast form builder throws some errors,and cant add anything to the new fast form on the right
here is what my system says about php

Code: Select all

php -v
PHP 7.0.30-0ubuntu0.16.04.1 (cli) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.0.30-0ubuntu0.16.04.1, Copyright (c) 1999-2017, by Zend Technologies
Given, screens were taken from my laptop machine, running Ubuntu 1604, not a clean install, but it is the same on my 1804 clean install in VB. The only difference between 1404 and newer (besides php version) in the way msq logins and users are handled. Should I create a new user for nubuilderforte.
All privileges?

here is my conf file, I have to admin, LAZY approach!

Code: Select all

    $nuConfigDBHost                 = "127.0.0.1";
    $nuConfigDBName                 = "nubuilder4";
    $nuConfigDBUser                 = "debian-sys-maint";
    $nuConfigDBPassword             = "******";
    $nuConfigDBGlobeadminUsername   = "globeadmin";     //-- globeadmin username
    $nuConfigDBGlobeadminPassword   = "nu";             //-- globeadmin password
    $nuConfigTitle                  = "nuBuilder 4";
    $nuConfigIsDemo                 = false;

Image
Image
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Re: nubuilder not working on newer Ubuntu

Unread post by toms »

There's another thread with this "Uncaught TypeError: Cannot read property 'id' of undefined" issue.

A user came up with this solution:
https://forums.nubuilder.cloud/viewtopic. ... =10#p16458
Last edited by Anonymous on Wed Jul 11, 2018 3:04 pm, edited 1 time in total.
deckoff
Posts: 17
Joined: Tue Jul 10, 2018 12:34 pm
Been thanked: 1 time

Re: nubuilder not working on newer Ubuntu

Unread post by deckoff »

Hey, thank you
Indeed, that solved it

Code: Select all

[mysqld]
key_buffer_size=16M
max_allowed_packet=8M
sql-mode=NO_ENGINE_SUBSTITUTION

key buffer and max allowed also not needed, but I left them, just in case.

Of course, the location and the name of the file was different:

Code: Select all

/etc/mysql/my.cnf


I haven't tested this on the 18.04 VB installation, but it works on my real life 16.04 Ubuntu laptop.
Regards
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: nubuilder not working on newer Ubuntu

Unread post by admin »

toms wrote:
admin wrote:I don't think this is entirely correct, we use nuBuilder4 on PHP7
-Shane
My statement was that it does not work 7.2. But I was not sure about 7.x.
Your statement is incorrect, nubuilder4 does work with PHP 7.2.

I have just again tested it today using PHP 7.2.7-1

-shane
Locked