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

Birthday corrupted when imported from phpBB3 #295

Open
TK-3375 opened this issue Sep 19, 2022 · 0 comments
Open

Birthday corrupted when imported from phpBB3 #295

TK-3375 opened this issue Sep 19, 2022 · 0 comments

Comments

@TK-3375
Copy link

TK-3375 commented Sep 19, 2022

After merging my phpBB3 forum with MyBB I started getting errors when editing user profiles regarding the birthday. I might be wrong but I believe there are non wanted spaces added when importing the data : like "18- 4-1972-"

Forum gets confused and in most cases simply left the dropdown menu empty for "month" in user profile page. Unless you select a month, you can't alter that user account.

A quick (and dirty ?) fix I did was removing spaces from that field in the database :

UPDATE mybb_users SET birthday = REPLACE(birthday, ' ', '');

Not sure how good a solution it is though. See pictures on my discord post here : https://discord.com/channels/215876847634743296/215877079911104522/1021354570233954355

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

1 participant