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

Error when saving attendance / using time punch because of IPv6 #297

Open
AnAxNu opened this issue Mar 15, 2022 · 0 comments
Open

Error when saving attendance / using time punch because of IPv6 #297

AnAxNu opened this issue Mar 15, 2022 · 0 comments

Comments

@AnAxNu
Copy link

AnAxNu commented Mar 15, 2022

Screenshot 2022-03-15 at 4 55 25 PM

On a freshly installed 31.0.0.0 I get the error above:
Error Occured while Time Punch Error occured while saving attendance.
The error is caused by the user using an IPv6-address and the database can handle a maximum of 25 characters for the ip. IPv6-addresses can be around 45 characters.
The 2 fields in the Attendance-table are: in_ip and out_ip.
Changing them from VARCHAR(25) to VARCHAR(50) fixes the problem.

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