Gdy na forum jeden z użytkowników chce kliknąć w Przejdź do Swojej Konwersacji z... w czyimś rofilu pojawia się błąd bazy danych o następującej treści:
Kod:
Database error in vBulletin 3.8.3:
Invalid SQL:
(
SELECT
visitormessage.*, visitormessage.dateline AS pmdateline, user.*, visitormessage.ipaddress AS messageipaddress, visitormessage.userid AS profileuserid
,0 AS del_userid, '' AS del_username, '' AS del_reason
,avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight, customavatar.width_thumb AS avwidth_thumb, customavatar.height_thumb AS avheight_thumb, filedata_thumb, NOT ISNULL(customavatar.userid) AS hascustom
FROM visitormessage AS visitormessage
LEFT JOIN user AS user ON (visitormessage.postuserid = user.userid)
LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)
WHERE visitormessage.userid = 38759 AND visitormessage.postuserid = 21995 AND visitormessage.state IN ('visible','moderation')
)
UNION
(
SELECT
visitormessage.*, visitormessage.dateline AS pmdateline, user.*, visitormessage.ipaddress AS messageipaddress, visitormessage.userid AS profileuserid
,deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
,avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight, customavatar.width_thumb AS avwidth_thumb, customavatar.height_thumb AS avheight_thumb, filedata_thumb, NOT ISNULL(customavatar.userid) AS hascustom
FROM visitormessage AS visitormessage
LEFT JOIN user AS user ON (visitormessage.postuserid = user.userid)
LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)
LEFT JOIN deletionlog AS deletionlog ON (visitormessage.vmid = deletionlog.primaryid AND deletionlog.type = 'visitormessage')
WHERE visitormessage.userid = 21995 AND visitormessage.postuserid = 38759 AND visitormessage.state IN ('visible','moderation','deleted')
)
ORDER BY pmdateline DESC
LIMIT 0, 10;
MySQL Error : Illegal mix of collations (latin1_swedish_ci,COERCIBLE) and (latin2_general_ci,IMPLICIT) for operation 'UNION'
Error Number : 1267
Request Date : Thursday, July 30th 2009 @ 03:27:45 AM
Error Date : Thursday, July 30th 2009 @ 03:27:45 AM
Script : http://www.adres/members/38759-with-21995.html
Referrer : http://www.adres/members/38759.html
IP Address :
Username : nickusera
Classname : vB_Database
MySQL Version :