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

[3.0]: "Field 'exdates' doesn't have a default value" when installing #8380

Open
Oldiesmann opened this issue Dec 28, 2024 · 1 comment
Open

Comments

@Oldiesmann
Copy link
Contributor

Basic Information

When installing SMF 3.0 with MySQL 9.1, you are given an error message stating that some queries didn't execute properly, with a message of "Line #1606: Field 'exdates' doesn't have a default value". This is because the "exdates" field is defined as NOT NULL, but the INSERT query to add initial data to the calendar table doesn't attempt to insert anything in that field

Steps to reproduce

  1. Try to install SMF 3.0 with MySQL 9.1 (default setup with WAMPServer in this case)

Expected result

Expect forum to install properly

Actual result

The following error/warning is given instead:
image

Version/Git revision

2eeafd1

Database Engine

MySQL

Database Version

9.1.0

PHP Version

8.4.2

Logs

No response

Additional Information

We need to either explicitly insert an empty string into that column, specify a default value or allow it to be NULL, though I don't know if SMF will handle NULL values.

@sbulen
Copy link
Contributor

sbulen commented Dec 28, 2024

This one's a dupe, I think...

#8235

#8246

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants