I installed module counter 7.x-1.0-beta (also 7.x-1.x-dev)

expected showing visitor counts

shown: PDOException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'ip' at row 1: INSERT INTO {counter} (ip,created,url, uid, nid, type, browser_name, browser_version, platform) VALUES (:ip, :created, :url, :uid, :nid, :type, :browser_name, :browser_version, :platform); Array ( [:ip] => 2003:62:4c4e:1901:7591:552f:f88f:2d83 [:created] => 1486369696 [:url] => / [:uid] => 1 [:nid] => 0 [:type] => [:browser_name] => Mozilla Firefox [:browser_version] => 51.0 [:platform] => Windows ) in counter_block_view() (Zeile 183 von /homepages/xxxxxxxxxxxx/htdocs/test01/sites/all/modules/counter/counter.module).

Comments

buchri62 created an issue.

Stefan Lehmann’s picture

Somebody else just posted a similar question here: https://www.drupal.org/node/2882118

The ip field doesn't seem to accommodate for IPv6.

Lennard’s picture

Same is on the D8 Version of the Module.

It musst be changed thats true.