• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Issues After Moving Hosts

#1
I moved my install to a separate server. I've done this about 3 times today due to choosing to migrate to terrible hosts. Anyway, I seem to be getting an error now on anything inside my site.

Code:
An exception occurred: Call to undefined function utf8_decode() in /var/www/html/jabmc/library/Lgpl/utf8.php on line 96
[*]utf8_strlen() in XenForo/Helper/String.php at line 581
[*]XenForo_Helper_String::wholeWordTrimAroundSearchTerm() in XenForo/Template/Helper/Core.php at line 1208
[*]XenForo_Template_Helper_Core::helperSnippet() in XenForo/Template/Helper/Core.php at line 853
[*]XenForo_Template_Helper_Core::callHelper() in XenForo/Template/Abstract.php(265) : eval()'d code at line 44
[*]eval() in XenForo/Template/Abstract.php at line 265
[*]XenForo_Template_Abstract->_renderInternal() in XenForo/Template/Abstract.php at line 191
[*]XenForo_Template_Abstract->render() in XenForo/Template/Public.php at line 110
[*]XenForo_Template_Public->render() in XenForo/ViewRenderer/HtmlPublic.php at line 124
[*]XenForo_ViewRenderer_HtmlPublic->renderContainer() in XenForo/FrontController.php at line 639
[*]XenForo_FrontController->renderView() in XenForo/FrontController.php at line 158
[*]XenForo_FrontController->run() in /var/www/html/jabmc/index.php at line 13
The stack trace info from the acp is:
Code:
Error: Call to undefined function utf8_decode() - library/Lgpl/utf8.php:96
Generated By: Aberzhulan, 2 minutes ago
Stack Trace
#0 /var/www/html/jabmc/library/XenForo/Helper/String.php(581): utf8_strlen('This is a dual ...')
#1 /var/www/html/jabmc/library/XenForo/Template/Helper/Core.php(1208): XenForo_Helper_String::wholeWordTrimAroundSearchTerm('This is a dual ...', '155', '')
#2 /var/www/html/jabmc/library/XenForo/Template/Helper/Core.php(853): XenForo_Template_Helper_Core::helperSnippet('This is a dual ...', '155')
#3 /var/www/html/jabmc/library/XenForo/Template/Abstract.php(265) : eval()'d code(44): XenForo_Template_Helper_Core::callHelper('snippet', Array)
#4 /var/www/html/jabmc/library/XenForo/Template/Abstract.php(265): eval()
#5 /var/www/html/jabmc/library/XenForo/Template/Abstract.php(191): XenForo_Template_Abstract->_renderInternal('$__output = '';...', Array)
#6 /var/www/html/jabmc/library/XenForo/Template/Public.php(110): XenForo_Template_Abstract->render()
#7 /var/www/html/jabmc/library/XenForo/ViewRenderer/HtmlPublic.php(124): XenForo_Template_Public->render()
#8 /var/www/html/jabmc/library/XenForo/FrontController.php(639): XenForo_ViewRenderer_HtmlPublic->renderContainer(Object(XenForo_Template_Public), Array)
#9 /var/www/html/jabmc/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
#10 /var/www/html/jabmc/index.php(13): XenForo_FrontController->run()
#11 {main}
Request State
array(3) {
  ["url"] => string(67) "https://www.jabmc.com/index.php?threads/dual-server-link-test.1937/"
  ["_GET"] => array(1) {
   ["threads/dual-server-link-test_1937/"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
Any ideas on how to fix that, or even what's going on?
 

Mike

XenForo developer
Staff member
#2
Your server doesn't appear to meet XenForo's requirements. These are usually included by default in PHP, but they're considered to be part of PHP's XML functions. You'll need to enable that in PHP. (I assume it's a dedicated server, so you can do this within WHM if you have it.)
 
#3
Your server doesn't appear to meet XenForo's requirements. These are usually included by default in PHP, but they're considered to be part of PHP's XML functions. You'll need to enable that in PHP. (I assume it's a dedicated server, so you can do this within WHM if you have it.)
You are awesome, man. I thought I installed php-xml, but I guess I didn't. Installed and it works now. Thank you. :)