You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
changing the column from smallint to int(11) fixed the problem. ALTER TABLE piwik.piwik_log_visit MODIFY COLUMN visit_total_interactions int(11) unsigned DEFAULT 0 NULL;
mattab
added
answered
For when a question was asked and we referred to forum or answered it.
duplicate
For issues that already existed in our issue tracker and were reported previously.
and removed
answered
For when a question was asked and we referred to forum or answered it.
labels
Feb 18, 2017
Hello,
we are using Log Analytics with a very huge nginx access log and are running into this error after ~ 5.000.000 lines:
"NOTICE: PHP message: Error in Piwik (tracker): Error query: SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'visit_total_interactions' at row 1 In query: UPDATE piwik_log_visit SET idvisitor = ?, visit_last_action_time = ?, visit_exit_idaction_url = ?, visit_total_actions = visit_total_actions + 1 , visit_total_interactions = visit_total_interactions + 1 , visit_total_time = ? WHERE idsite = ? AND idvisit = ? Parameters: array ( 0 => 'u�����', 1 => '2017-01-09 13:35:58', 2 => 35211, 3 => 52493, 4 => 1, 5 => 61694, )"
Piwik Version 3.0.0 (official piwik docker)
Seems like the field visit_total_interactions is too small.
Any way to solve this problem?
Best regards,
obi12341
The text was updated successfully, but these errors were encountered: