vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Import Language XML File error (https://vborg.vbsupport.ru/showthread.php?t=140200)

jasbell 02-23-2007 01:06 AM

Import Language XML File error
 
When I went to import a Portuguese language xml file I entered "Portugu?se" in the field named "Title for Uploaded Language" and got the below database error. This concerns me because I know that I configured MySQLI OPTIONS in the config.php with the line:
$config['Mysqli']['charset'] = 'utf8';

Below is the error, and I just want to know what this means, and why I could not insert a UTF-8 compliant word.


Database error in vBulletin 3.6.4:

Invalid SQL:
SELECT languageid FROM language WHERE title = 'Portugu?se';

MySQL Error : Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='
Error Number : 1267
Date : Thursday, February 22nd 2007 @ 08:53:36 PM
Script : http://www.mysite.com/forums/admincp/language.php?do=upload
Referrer : http://www.mysite.com/forums/admincp/language.php?do=files
IP Address : **.***.***.**
Username : *****
Classname : *****

UltimateOreo! 02-23-2007 01:27 AM

Something is encoded with a different encoder. Suggested is utf8. Maybe even try re-writing the Porugese without the weird e?

jasbell 02-23-2007 02:46 AM

It worked withoout the weird e, but I knew that would be the case. I wanted it (expected it) to workd with the weird e because the database is set to accept utf-8. What am I missing?

I gave up and wiped out everything. Started from zero

UltimateOreo! 04-13-2007 11:25 PM

Well, if it helps at all anymore in the future, the database may not have accepted it as UTF8.


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

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.00945 seconds
  • Memory Usage 1,711KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete