Column 'ip' cannot be null

Site announcements from the moderator team go here.
Post Reply
Message
Author
User avatar
Flame
Posts: 116
Joined: Tue Oct 24, 2017 6:16 am
Location: Ukraine
Karma: 70
Contact:

Column 'ip' cannot be null

#1 Post by Flame » Mon Jul 26, 2021 7:15 am

Column 'ip' cannot be null
(when user try to log in)

Have you face such an error here on webdiplomacy.net?

And if it is fixed now - how you do it guys? What upd number of script name in Soucefourge archive?
WebDiplomacy enthusiast. Adaptor of webdiplomacy variants: Classic Cataclysm, Classic 1898, Classic 1898 Fog of War, Punic Wars, Western World 901, 13th Century Mongolian Empire, Speed Europa, Minor Power.

User avatar
kestasjk
Developer
Developer
Posts: 518
Joined: Tue Mar 14, 2017 8:13 pm
Location: Perth, Australia
Karma: 775
Contact:

Re: Column 'ip' cannot be null

#2 Post by kestasjk » Thu Aug 05, 2021 4:50 pm

Hi,

This is related to IPv6 IPs I believe; either disable IPv6 clients or change wD_Sessions and wD_AccessLogs so the IP column can be null. Hopefully a new release will correct this soon.

User avatar
Flame
Posts: 116
Joined: Tue Oct 24, 2017 6:16 am
Location: Ukraine
Karma: 70
Contact:

Re: Column 'ip' cannot be null

#3 Post by Flame » Tue Nov 16, 2021 8:26 pm

kestasjk wrote:
Thu Aug 05, 2021 4:50 pm
Hi,

This is related to IPv6 IPs I believe; either disable IPv6 clients or change wD_Sessions and wD_AccessLogs so the IP column can be null. Hopefully a new release will correct this soon.
I have already solved this problem in a specific way - I simply don't write in the tables addresses for ipV6-users.
1
WebDiplomacy enthusiast. Adaptor of webdiplomacy variants: Classic Cataclysm, Classic 1898, Classic 1898 Fog of War, Punic Wars, Western World 901, 13th Century Mongolian Empire, Speed Europa, Minor Power.

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests