Open rohittheindiajobs opened 7 years ago
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);
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);