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

Facing issue with option page setting #10

Open
rohittheindiajobs opened this issue Jun 16, 2017 · 0 comments
Open

Facing issue with option page setting #10

rohittheindiajobs opened this issue Jun 16, 2017 · 0 comments

Comments

@rohittheindiajobs
Copy link

Apologies for my english.

After upgrading my network. I found that admin unable to save setting options from the setting pages.

On debugging , I noticed that wordpress sets the sql_mode as below on connecting to database.

but multi db does not had set following option so I had added below after mysql_connect function in db.php

@mysql_query("SET SESSION sql_mode='NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'",$dbh);

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

1 participant