-
Notifications
You must be signed in to change notification settings - Fork 67
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
PDOException Field 'public_profile' doesn't have a default value #190
Comments
Seems your MySQL instance is using "strict" mode, try to disable it: https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html |
I've checked the |
I've removed |
QACMS at its time was designed with MySQL 5.6 in mind. Seems you are using MySQL 5.7 which includes a bunch of sql-mode directives by default. Prior to 5.7 there were no default directives at all. So it is pretty unlikely I can "fix" this, as this affects QACMS's core and every existing plugin. |
I'm using vagrant server with mysql 5.6 and it was configured as it was by default. |
Then should I set sql_mode = NO_ENGINE_SUBSTITUTION only for QACMS to work properly? |
Yes, However I'll try to identify all those columns and fix them all at once. |
In the start up fase, after submit the information for the admin user I got this error:
And in the logs I have this:
And after set the default value to that field I got the same error for these other fields:
After set up default values or NULL in case of 'token' it worked.
The text was updated successfully, but these errors were encountered: