Small Upgrade Problems with ' and "Duplicate entry" [message #161829] |
Thu, 11 February 2010 20:24 |
alopezie
Messages: 106 Registered: September 2003
Karma: 1
|
Senior Member |
|
|
Its been reported in other posts, but seems still to be there:
Having an ' in user name OR in the search database seems to make problems,
Zitat:ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's' LIMIT 1' at line 1
QUERY: DELETE FROM bb_search WHERE word='war's' LIMIT 1
Also I got a number of "Duplicate entry 'xxx' in key 2" errors.
Zitat:
ERROR: Duplicate entry 'große' for key 2
QUERY: ALTER TABLE bb_search CONVERT TO CHARACTER SET utf8 COLLATE utf8_unicode_ci
Always German characters here (große = große), and none (!) of these real duplicates
Removing "unique" from the index in search database solved the problem, but took its time to look for it ...
Alopezie.de - das Forum zum Thema Haarausfall
[Updated on: Fri, 12 February 2010 09:29] Report message to a moderator
|
|
|
|
|
|