include javascript on cPanel installation of nubuilder4.5

Questions related to using nuBuilder Forte.

include javascript on cPanel installation of nubuilder4.5

Unread postby slobodan » Thu Jul 15, 2021 7:41 pm

I installed nubuilder4.5 via cPanel. I moved my application from xampp to the server, but I have a problem setting the include option in the nuconfig.php file. I tried a lot of combinations by referring to the file system and via https, and my application persistently reports that the function from that file is undefined. Do you have any advice, what should I do?
(Of course, it works on xampp)

File system path to js files: $nuConfigIncludeJS=

Javascript error message from form:

Uncaught ReferenceError: QRCode is not defined
<anonymous> line 2 > injectedScript:72
jQuery 3
nuAddJavascript ... 15918:3787
nuBuildForm ... 115918:196
successCallback ... 115918:125
success ... 5115918:17
jQuery 6
nuAjax ... 15115918:8
nuForm ... 115918:130
Posts: 21
Joined: Sat May 08, 2021 8:50 pm
nuBuilder Version: 4.5

Re: include javascript on cPanel installation of nubuilder4.

Unread postby kev1n » Thu Jul 15, 2021 7:48 pm

Try removing this bit:

Code: Select all
$nuConfigIncludeJS= ['jsqrcode/qrcode.js','jsqrcode/qrcode.min.js';

And there's no need to include jquery as it's already included in nuBuilder.
nuBuilder Team
Posts: 1996
Joined: Mon Oct 15, 2018 2:13 am
nuBuilder Version: 4.5

Return to General

Who is online

Users browsing this forum: No registered users and 24 guests