M
Member 10517
Guest
Anybody out there who can tell we what this mean?
Anybody out there who can tell we what this mean?
Hi all,
I have imported an Arabic VB3 forum, but the Arabic text in the final Xenforo forum is not encoded properly as shown in the attachment.
Would appreciate any input from anybody to help my figure out how to fix this issue.
Thank you in advance.
You'll have to do a search and replace to fix the broken chacaters in MySQL.
Thanks for your response, Slavik.
The issue is not only with few broken characters, it is the whole alphabet. Is the search/replace solution recommended in this case as well?
// USE THIS SETTING TO SPECIFY AN EXTRA PIPE FOR ALL OUTPUT RECORDS
// EXAMPLE IS TO PIPE OUTPUT THROUGH iconv IF CHARACTER ENCODING CHANGES ARE NEEDED
// '| iconv -f LATIN1 -t UTF8'
public static $extraOutCommand = '| iconv -f LATIN1 -t UTF8';
After the avatars I get the following error - what can be the problem?
Code:An exception occurred: Mysqli prepare error: MySQL server has gone away in Zend/Db/Statement/Mysqli.php on line 77 #0 Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('SELECT option_v...') #1 Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), 'SELECT option_v...') #2 Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('SELECT option_v...') #3 Zend/Db/Adapter/Abstract.php(825): Zend_Db_Adapter_Abstract->query('SELECT option_v...', Array) #4 XenForo/Error.php(55): Zend_Db_Adapter_Abstract->fetchOne('SELECT option_v...') #5 XenForo/Application.php(363): XenForo_Error::unexpectedException(Object(Zend_Db_Statement_Mysqli_Exception)) #6 [internal function]: XenForo_Application::handleException(Object(Zend_Db_Statement_Mysqli_Exception)) #7 {main}
sh: 1: Syntax error: Unterminated quoted string
sh: 1: Syntax error: "(" unexpected
Konsole'.png
ErrorException: Undefined offset: 0 - Export.php:1346
Generated By: Unknown Account, 52 minutes ago
Stack Trace
#0 /var/www/xxx/htdocs/importtest2/Export.php(1346): XenForo_Application::handlePhpError(8, 'Undefined offse...', '/var/www/xxx...', 1346, Array)
#1 /var/www/xxx/htdocs/importtest2/Export.php(1860): DigitalPointExporter->attachments()
#2 {main}
Request State
array(3) {
["url"] => string(7) "http://"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
This setting can be used for changing the character encoding:
Code:// USE THIS SETTING TO SPECIFY AN EXTRA PIPE FOR ALL OUTPUT RECORDS // EXAMPLE IS TO PIPE OUTPUT THROUGH iconv IF CHARACTER ENCODING CHANGES ARE NEEDED // '| iconv -f LATIN1 -t UTF8' public static $extraOutCommand = '| iconv -f LATIN1 -t UTF8';
It is at the top of the Export script.
Thanks, Jake.
I am afraid I don't know what is it that I need to change in this code so that I change the character encoding from Latin1 to utf8.
Would you please helm with that?
You need to alter LATIN1 to whatever character set your currently using.
Yes, but how?
I need to covert to utf8.
The line of code in my Exporter is:
public static $extraOutCommand = '| iconv -f LATIN1 -t UTF8';
What is it that I need to change in this line of code?
Thanks. .
Hello everyone,
We've just started some test runs with the export/import procedure for migrating to XenForo from vBulletin 4, but unfortunately we can't seem to be able to export the user data.
View attachment 61735
This is everything we get from the command line, no errors, no anything. The xf_user.txt and xf_user_authenticate.txt files are both created, but are 0 bytes each (no content). And yes, we made sure that there were no commas in the usernames that we were trying to export.
Any ideas on what might be causing this or how we can activate an error log of sorts to see what's wrong?
Are there any plans to develop this for other forum software (not just vBulletin) ?
We use essential cookies to make this site work, and optional cookies to enhance your experience.