Hi, I just enabled IP logging and found a bug when it tries to store the ip.
Errormessage: Data too long for column ‘ip’ at row 1
The table that stores the logs has a varchar(20) for the IP which is too short. I changed it to 50 and it now works.
That should be fixed with next update.
Regards, Kai
Request to enhance database structure
- Jan
- Phoca Hero
- Posts: 48535
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Request to enhance database structure
Hi, which version of Phoca Download do you use? It has varchar(50) as default:
https://github.com/PhocaCz/PhocaDownloa ... 8.sql#L220
Jan
https://github.com/PhocaCz/PhocaDownloa ... 8.sql#L220
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 35
- Joined: 15 Nov 2015, 11:25
Re: Request to enhance database structure
Using 4.0.6 here already. New install probably works. Maybe the update from 20 to 50 failed at some point in the past ?
- Jan
- Phoca Hero
- Posts: 48535
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Request to enhance database structure
Hi, yes, this works for new installations. When updating, this needs to be changed manually direclty in database.
Jan
Jan
If you find Phoca extensions useful, please support the project