Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #1  
Old 06-18-2018, 05:10 AM
msoms's Avatar
msoms msoms is offline
 
Join Date: Sep 2006
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default DB Transfer Encoding issues

Hello,

I am facing an issue that took a while for me now and am not moving any where and got stuck. I have vB 4.2.5 with DB size of around 6.5 GB. I am changing to a new server and I have already migrated all my other sites (wordpress based) with no issues at all and they work just the way they should.

I followed the normal mysqldump commands to backup and restore several times and in several types however, the site will always show strange text encoding.
Both servers use MySQL correct versions and PHP7.
I can't seem to figure out what is wrong exactly.

The old server was CENTOS 6 with CPANEL and the new server is DEBIAN 9 with ISPCONFIG ,does that have any issue? Does MariaDB in new server has an effect on normal mysql in old server? both server encoding is UTF-8

I am lost and already initated a support request with vb team but no response till now.

Can you please help?
Reply With Quote
  #2  
Old 06-18-2018, 06:48 AM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where does it show the strange text encoding? Do you have a screenshot?
Do posts also look messed up? If you check the post table in the database, does it look fine there?
Reply With Quote
  #3  
Old 06-18-2018, 07:04 AM
msoms's Avatar
msoms msoms is offline
 
Join Date: Sep 2006
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The whole site encoding is messed up! Not a single line is showing correctly, however on the db side it is ok.

I tried changing the charset for the installed languages and I can see some changes in the messed up text but no luck in making it work.

I will arrange for a screen shot in the mean while
Reply With Quote
  #4  
Old 06-18-2018, 07:34 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a php.ini in the domains public_html folder, verify it dont have a charset setting in it.

Plesk is known to do that with their inserting a charset by default in an account.
Reply With Quote
  #5  
Old 06-18-2018, 07:58 AM
msoms's Avatar
msoms msoms is offline
 
Join Date: Sep 2006
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
Is there a php.ini in the domains public_html folder, verify it dont have a charset setting in it.

Plesk is known to do that with their inserting a charset by default in an account.
No there isn't, I am using ISPConfig 3 control panel not Plesk.
Reply With Quote
  #6  
Old 06-19-2018, 01:39 AM
webmastersun's Avatar
webmastersun webmastersun is offline
 
Join Date: Oct 2013
Location: www.webmastersun.com
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by msoms View Post
I followed the normal mysqldump commands to backup and restore several times and in several types however, the site will always show strange text encoding.
There are some works to do before moving your database to a new server that support and keep same encode, that is:
- Select utf8 unicode ci for your database.
- Enable force to use utf8 in your config file
- Change encode to utf8 in your tool/program that you are using to move your database.

This will help you to avoid errors about special characters/symbol when moving vB databases.
Reply With Quote
  #7  
Old 06-19-2018, 06:41 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by msoms View Post
No there isn't, I am using ISPConfig 3 control panel not Plesk.
I didnt say you was using plesk.
Reply With Quote
Reply

Thread Tools
Display Modes

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 01:40 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04517 seconds
  • Memory Usage 2,216KB
  • Queries Executed 13 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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