Hi @linc, thanks for NitroPorter and for trying to help!
(I made a discussion on github a week ago but nobody replied, so I thought maybe someone here could have any suggestions.)
Anyway, here are some values the script is trying to insert, from the end:
,(2010-12-03 11:14:14, ?, 1125, ?, 0, ?, ?, ?, ?, 1125, 1051, 108), (2010-12-04 19:51:36, ?, 1126, ?, 0, ?, ?, ?, ?, 1126, 1052, 4), (2010-12-05 15:05:14, ?, 1127, ?, 0, ?, ?, ?, ?, 1127, 1053, 4), (2010-12-06 17:08:29, ?, 1128, ?, 0, ?, ?, ?, ?, 1128, 1054, 61), (2010-12-07 13:07:19, ?, 1130, ?, 0, ?, ?, ?, ?, 1130, 1055, 18), (2010-12-07 13:26:37, ?, 1131, ?, 0, ?, ?, ?, ?, 1131, 1056, 2211), (2010-12-08 10:41:24, ?, 1132, ?, 0, ?, ?, ?, ?, 1132, 1057, 959), (2010-12-08 13:51:56, ?, 1133, ?, 0, ?, ?, ?, ?, 1133, 1058, 835), (2010-12-08 13:58:07, ?, 1134, ?, 0, ?, ?, ?, ?, 1134, 1059, 2202), (2010-12-09 02:24:07, ?, 1135, ?, 0, ?, ?, ?, ?, 1135, 1060, 138))
At first I thoght maybe title field has some symbols that are screwing up the query, so I replaces titles of discussions in Drupal database with consecutive numbers, as you see in the values. But the error persists.