Open kozlowskik opened 6 years ago
After researching this issue some more over the weekend, I was able to find that the DB info needed to be hard-coded into the index.js file.
The changes made to stop this line of errors was to set the host = localhost
, port = 5432
db = gradebook
.
After doing this all of the error messages above stopped showing when using the developer tools inGoogle Chrome
I believe that DASSL's implementation of index.js
already takes care of this with the global json variables dbInfo
(line 24) and instInfo
(line 28). I have not encountered this error using DASSL's implementation.
On the new login page, when an email address and password are provided to the program and the user presses the enter button, nothing happens on the screen. When in the developer console a long error line appears showing that there were issues with the
index.js
file with retrieving the DB connection info.sjcl.js:26 Uncaught TypeError: b.slice(...).concat is not a function
at Object.V (sjcl.js:26)
at Object.encrypt (sjcl.js:24)
at Object.ja (sjcl.js:54)
at Object.encrypt (sjcl.js:54)
at getDBFields (index.js:142)
at HTMLAnchorElement.<anonymous> (index.js:61)
at HTMLAnchorElement.dispatch (jquery-2.1.1.min.js:3)
at HTMLAnchorElement.r.handle (jquery-2.1.1.min.js:3)
Some research needs to be done to check the issue in more detail and what steps are needed to resolve the issue.
Additional Information: In our program we are trying to maintain the username and password fields being processed by the DBMS for the user to log into the program. So there are no DB Connection settings that the end user could change to prevent someone from accessing the wrong databse or another system.