Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums 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 »
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: 4304
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 445 times
-
Contact:
Unread post
by kev1n »
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 »
That change has got it working now, thank you