Announcement

#1 2024-03-27 11:54:47

OHappyDay
Member
2023-02-08
64

IPv6 addresses in the statistics tab

Hi all,

the admin panel / tools / statistics I can see IP addresses from visitors. It looks fine except for IPv6. These are shortened and as I can see in the database in the history table the IP field is limited to 15 characters (varchar(15)).

Can this be corrected so that also the full IPv6 addresses are logged?

Thanks

Offline

 

#2 2024-03-27 17:41:06

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: IPv6 addresses in the statistics tab

Hi :-)

can you open issues > https://github.com/Piwigo/Piwigo/issues


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#3 2024-03-27 17:59:45

OHappyDay
Member
2023-02-08
64

Re: IPv6 addresses in the statistics tab

Offline

 

#4 2024-03-27 18:26:00

Katryne
Member
2016-12-03
370

Re: IPv6 addresses in the statistics tab

I am not very gifted with data base management, so I asked my son and he changed the lengh directly in the table. I think he extended it to 50. I would not be able to do it again, but he did it and now the IPV6 IP of my visitors (and mine) can be displayed correctly.


http://photos.katrynou.fr/ v.14.1.0 https://album.chauvigne.info/ v.13.8.0
Système d'exploitation: Linux - Hébergeur 1&1-Ionos PHP: 8.0.28 - MySQL: 5.7.38
Bibliothèque graphique: External ImageMagick 6.9.10-23

Offline

 

#5 2024-03-27 18:36:09

OHappyDay
Member
2023-02-08
64

Re: IPv6 addresses in the statistics tab

I can do that too but in general this should be fixed in the application setup for all users.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact