vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=262)
-   -   need help migrating to utf8 (https://vborg.vbsupport.ru/showthread.php?t=325456)

plongeur.com 07-31-2017 06:51 AM

need help migrating to utf8
 
Hi,

I have charset issue on my vbulletin installation. I don't know what i did wrong during the upgrade from 3.0 to 5.2.5 but it seems i ended up with a DB that is partly in Latin1 and partly in UTF8.

I tried several things but it never ended up working as expected.

Is there anyone who could have a look and find a solution to migrate the whole forum to utf8 ? this could be paid service of course but i am on a budget :)
Does anyone know a reliable service that could help me ?

Best regards.

TheLastSuperman 07-31-2017 09:40 AM

I would:
  • Copy the database in phpmyadmin via operations tab, this is your backup now ;).
  • Next edit the collation on the tables in question from latin to utf8.

Do this one-by-one on the tables checking the site each time.
  • If anything goes wrong simply change the last tables collation back to what it was prior and continue.

If you really mess up guess what? You made a backup before beginning haha so simply:
- Rename the current database to "samename_bak" or samename_bkp etc.
- Rename the copy you made before back to the same name of the main database.
- Assign the same database user listed in your config.php file to the copy you just renamed to the main database name - grant all privileges as well. Now your forum is fixed and back to square one.

plongeur.com 07-31-2017 09:55 AM

Well, i don't have a copy because everything seemed to be working OK so i went live.
It is still mostly working but i have issues with special characters in logins and passwords and in some case (comments for instance).

I tried dumping the DB and reinporting it, changing collation of all tables, etc... it never worked and i can't figure out why...


All times are GMT. The time now is 11:49 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.00907 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
  • (3)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