NeilofSteel
Active Member
Hi my log says:
TypeError: Cannot access member 'connect' of null
at main (Realtalk_Database.js:41:12)
at ScriptRunner (<anonymous>:42:5)
at <unknown>
and in the instance-log:
Script Realtalk_Database returned an error (main function): TypeError: Cannot access member 'connect' of null at main (Realtalk_Database.js:41:12) at ScriptRunner (<anonymous>:42:5) at <unknown>
db is a restricted module that needs to be enabled via special privileges in the config.ini (requested by Realtalk_Database)
I already added in my config.ini
[Scripts.Privileges]
scriptname = ["db"]
and I don't know why this won't work, can some one help me? thats my script:
TypeError: Cannot access member 'connect' of null
at main (Realtalk_Database.js:41:12)
at ScriptRunner (<anonymous>:42:5)
at <unknown>
and in the instance-log:
Script Realtalk_Database returned an error (main function): TypeError: Cannot access member 'connect' of null at main (Realtalk_Database.js:41:12) at ScriptRunner (<anonymous>:42:5) at <unknown>
db is a restricted module that needs to be enabled via special privileges in the config.ini (requested by Realtalk_Database)
I already added in my config.ini
[Scripts.Privileges]
scriptname = ["db"]
and I don't know why this won't work, can some one help me? thats my script: