Skip to content

Facing issue with option page setting #10

@rohittheindiajobs

Description

@rohittheindiajobs

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions