Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows PDO Issue #13

Open
luukee opened this issue Nov 16, 2021 · 0 comments
Open

Windows PDO Issue #13

luukee opened this issue Nov 16, 2021 · 0 comments
Assignees

Comments

@luukee
Copy link
Contributor

luukee commented Nov 16, 2021

Warning output on Windows machine:

Screen Shot 2021-11-05 at 9 51 39 AM

@NWebb5 after a little research on potential problems with the quiz on Windows I found a possible solution I'd like you to try. Comment out an existing line in the class-enp_quiz_db.php file for Windows PDO support. Check out these lines.

Line #45:

'mysql:host=' . $enp_db_host . ';dbname=' . $enp_db_name,

Should be replaced with:

'sqlsrv:Server=' . $enp_db_host . ';Database=' . $enp_db_name,

And let me know if that gets rid of the error at all. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants