Download & Extend

Data too long after upgrading to 1.9

Project:Counter
Version:6.x-1.9
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

After upgrading to 1.9 I get this error

Data too long for column 'counter_page' at row 1 query: INSERT INTO counter (counter_ip, counter_date, counter_page) VALUES ('94.64.207.12', '2009-06-23 14:54', 'admin,settings,simplenews,newsletter') in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\..........sites\all\modules\counter\counter.module on line 121

From my little understanding I miss data with this mulfunction.
Please advise.

Comments

#1

It seems this error comes again and again with various functions

Data too long for column 'counter_page' at row 1 query: INSERT INTO counter (counter_ip, counter_date, counter_page) VALUES ('94.64.220.15', '2009-07-06 19:27', 'admin,build,menu-customize,menu-catmenu') in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\...\sites\all\modules\counter\counter.module on line 121.

Please have a look at it.

It is always line 121.

#2

Maximum data for this field is 32. I will fix this bug soon.

Thanks for bug report.

#3

Status:active» fixed

6.x-1.10: Bug fix: change maximum counter_page from 32 to 255

Please download and try Counter 6.x-1.10, thanks.

#4

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.