Welcome to the nuBuilder Forums!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Questions related to customising nuBuilder Forte with JavaScript or PHP.
pmjd
Posts: 132 Joined: Fri Mar 12, 2021 10:38 am
Has thanked: 3 times
Been thanked: 1 time
Unread post
by pmjd » Fri Sep 10, 2021 1:49 pm
I followed the instructions from the repository to add a "Download to CSV" button to a form.
https://github.com/nuBuilder/nuBuilder- ... oad_to_csv
However when I try it I get the following error
Code: Select all
Error!: SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO)
Anyone know why this may not be working?
Thanks,
Paul
kev1n
nuBuilder Team
Posts: 4565 Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 529 times
Contact:
Unread post
by kev1n » Fri Sep 10, 2021 1:59 pm
Try replacing the line
with
Code: Select all
global $nuConfigDBHost;
global $nuConfigDBName;
global $nuConfigDBUser;
global $nuConfigDBPassword;
in the Procedure.
pmjd
Posts: 132 Joined: Fri Mar 12, 2021 10:38 am
Has thanked: 3 times
Been thanked: 1 time
Unread post
by pmjd » Fri Sep 10, 2021 3:47 pm
That change has got it working now, thank you