Data too long after upgrading to 1.9

agrigor1 - June 23, 2009 - 12:32
Project:Counter
Version:6.x-1.9
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

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.

#1

agrigor1 - July 7, 2009 - 10:18

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

drupal-id.com - August 12, 2009 - 12:03

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

Thanks for bug report.

#3

drupal-id.com - August 12, 2009 - 13:17
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

System Message - August 26, 2009 - 13:20
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.