Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-11-2009, 06:42 AM
VBUsers's Avatar
VBUsers VBUsers is offline
 
Join Date: Aug 2004
Posts: 830
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default sql error when i try to post a thread

this is the error i get


Database error in vBulletin 3.8.1:

PHP Code:
Invalid SQL:

            SELECT prefix.*, prefixpermission.usergroupid AS restriction
            FROM forumprefixset AS forumprefixset
            INNER JOIN prefixset AS prefixset ON (prefixset.prefixsetid = forumprefixset.prefixsetid)
            INNER JOIN prefix AS prefix ON (prefix.prefixsetid = prefixset.prefixsetid)
            LEFT JOIN prefixpermission AS prefixpermission ON (prefix.prefixid = prefixpermission.prefixid)
            WHERE forumprefixset.forumid = 17
            ORDER BY prefixset.displayorder, prefix.displayorder;

MySQL Error   : Illegal mix of collations (latin1_general_ci,IMPLICIT) and (latin1_swedish_ci,IMPLICIT) for operation '='
Error Number  : 1267
Request Date  : Wednesday, March 11th 2009 @ 12:39:47 AM
Error Date    : Wednesday, March 11th 2009 @ 12:39:47 AM
Script        : http://www.*******.com/newthread.php?do=newthread&f=17
Referrer      : http://www.*******.net/staff-lounge-f17.html
IP Address    : *******
Username      : Steve
Classname     : vb_database
MySQL Version : 4.1.22-standard 
Reply With Quote
  #2  
Old 03-11-2009, 07:48 AM
TigerC10's Avatar
TigerC10 TigerC10 is offline
 
Join Date: Apr 2006
Location: Austin, TX
Posts: 616
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

http://www.vbulletin.com/forum/showthread.php?t=195137

Basically, you must have used a 3rd party tool to do database maintenance/restoration at some point, because your tables are set to different language character sets. Ultimately you're going to need to make sure that your tables are set to the latin1_general_ci collalation setting. One of them, somewhere (like maybe prefixset) is set to latin1_swedish_ci by mistake.
Reply With Quote
  #3  
Old 03-11-2009, 05:00 PM
VBUsers's Avatar
VBUsers VBUsers is offline
 
Join Date: Aug 2004
Posts: 830
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks and i appreciate it. i got it fixed.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:34 AM.


Powered by vBulletin® Version 3.9.0
Copyright ©2000 - 2017, vBulletin Solutions Inc.