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

Invalid query: Field 'cache' doesn't have a default value #39

Closed
blackadder719 opened this issue Mar 27, 2017 · 1 comment
Closed

Invalid query: Field 'cache' doesn't have a default value #39

blackadder719 opened this issue Mar 27, 2017 · 1 comment

Comments

@blackadder719
Copy link

blackadder719 commented Mar 27, 2017

Hello all, I have encountered this issue with postfixadmin 2.3.5.
This happens when I try to set an autoreply for a mail account

Php version is 5.6.30 - debian wheezy

DEBUG INFORMATION:
Invalid query: Field 'cache' doesn't have a default value

Please check the documentation and website for more information.

Could you guys help me to figure out how to fix it?
I think it came out when updating php and mysql version, could it be?

@cboltz
Copy link
Member

cboltz commented Mar 27, 2017

There are ways to get this fixed:

  • change your MySQL config (/etc/my.cnf) and disable the strict mode ("sql_mode") - or -
  • update PostfixAdmin to 3.0.2, which should have this fixed (IIRC - otherwise, grab the latest upgrade.php from github)

@cboltz cboltz closed this as completed Mar 27, 2017
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