Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > ibProArcade Archive
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Database error when trying to see a thread.. Details »»
Database error when trying to see a thread..
Version: , by Lautaro Lautaro is offline
Developer Last Online: Dec 2021 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 01-27-2009 Last Update: Never Installs: 0
 
No support by the author.

Hello, I installed ibProArcade v2.6.8+, and now when I try to see a thread i get this Database error:

Quote:
Database error in vBulletin 3.8.0:

Invalid SQL:

SELECT t.champion, u.userid FROM tournaments AS t
LEFT JOIN user AS u ON (t.champion = u.username)
WHERE champion<>'';

MySQL Error : Illegal mix of collations (latin1_general_ci,IMPLICIT) and (latin1_swedish_ci,IMPLICIT) for operation '='
Error Number : 1267
Request Date : Tuesday, January 27th 2009 @ 04:29:02 AM
Error Date : Tuesday, January 27th 2009 @ 04:29:02 AM
Script : http:// myforumlink .com/showthread.php?t=540
Referrer : http:// myforumlink .com/index.php
IP Address : xxxxxxxxx
Username : xxxxxxxxxxx
Classname : vB_Database
MySQL Version : 5.0.67-community
I don't know what that means.. it is possible that it can the my forum database collation ? my forum collation is latin1_general_ci ..

Thanks in Advance.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-27-2009, 09:58 AM
vbplusme vbplusme is offline
 
Join Date: Sep 2008
Location: CyberSpace
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Out of curiosity, did you post this on the support site? Seems like they have dealt with this problem in the past and may already have solved it. Just a suggestion. I just saw this thread for example: http://www.vbulletin.com/forum/showthread.php?p=1686859
Reply With Quote
  #3  
Old 01-27-2009, 10:53 AM
Lautaro's Avatar
Lautaro Lautaro is offline
 
Join Date: Jan 2009
Location: United States
Posts: 233
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didn't edit the default collation, so what could be the problem?

- sry for my ignorance, but i don't know too much about mysql / phpmyadmin / databases
Reply With Quote
  #4  
Old 01-28-2009, 10:11 AM
vbplusme vbplusme is offline
 
Join Date: Sep 2008
Location: CyberSpace
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Coincidentally, I got this same error just today upgrading to 3.8.1. For me, if meant that I had some tables defined as latin1_swedish and some defined as latin1_general.

I actually want my database to suppose UTF8 rather than latin1 as my site serves an international community so I had to dump the database, delete it from my server and recreate it with the default collation I want. In the dump file, I need to do a global search and replace for latin1 and changed it to utf8, then I imported it to the new database and every thing was cleanly defined as UTF8 which is what I want. THEN, the upgrade worked correctly.

So, you can check this out yourself with phpmyadmin. check the collation column in your database. You will find some of them are different from the default.

You probably didn't but some hack you installed may have. this one likely "I installed ibProArcade v2.6.8+," I think the problem can be caused from using different versions of MySQL on multiple servers which is what I did. I moved from a mysql 4.X to a mysql 5.X and the defaults were set differently so when the hack created a new table it got defined with a different collation.

I am not sure you can change individual tables, i.e. dump it, delete it, reimport with the correct collation but you might want to try it.

HTH
Reply With Quote
  #5  
Old 02-03-2009, 07:12 AM
Lautaro's Avatar
Lautaro Lautaro is offline
 
Join Date: Jan 2009
Location: United States
Posts: 233
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello, look, as i said I don't know how to do this things, if you could show me with images step by step how to do it i would appreciate it a lot. I really want the Arcade fixed in my forum, but I don't want to mess up my database.

thank you.

EDIT:

This is how the tables of my database looks, some are in latin1_swedish_ci and some in latin1_general_ci .. what should i do????

image: ( full database tables displayed here 868 * 4911 px image )
http://www.img.gamezeventos.com/view...phpmyadmin.gif
Reply With Quote
  #6  
Old 02-03-2009, 06:53 PM
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Location: Scotland
Posts: 1,229
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="https://vborg.vbsupport.ru/showpost.php?p=1586822&postcount=4" target="_blank">https://vborg.vbsupport.ru/showp...22&postcount=4</a>
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 04:04 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03930 seconds
  • Memory Usage 2,250KB
  • Queries Executed 21 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete