XF 1.2 Issues After Going Onto VPS

Verringer

Active member
I've recently moved onto a VPS from cPanel Shared Hosting and had quite a lot of issues (never hosted on a VPS before, first time).

I have two errors coming into my error log.

Code:
Error Info
ErrorException: Fatal Error: Class 'DOMDocument' not found - library/Zend/Feed/Writer/Renderer/Feed/Rss.php:68
Generated By: Unknown Account, 38 minutes ago
Stack Trace
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}
Request State
array(3) {
  ["url"] => string(48) "http://mineshaft.co/index.php?forums/2/index.rss"
  ["_GET"] => array(1) {
    ["forums/2/index_rss"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}

Code:
Error Info
ErrorException: getimagesize(/var/www/html/data/avatars/l/0/77.jpg): failed to open stream: No such file or directory - library/XenForo/Model/Avatar.php:252
Generated By: MFN, 13 minutes ago
Stack Trace
#0 [internal function]: XenForo_Application::handlePhpError(2, 'getimagesize(/v...', '/var/www/html/l...', 252, Array)
#1 /var/www/html/library/XenForo/Model/Avatar.php(252): getimagesize('/var/www/html/d...')
#2 /var/www/html/library/XenForo/ControllerPublic/Account.php(577): XenForo_Model_Avatar->recropAvatar(77, 0, 0)
#3 /var/www/html/library/XenForo/FrontController.php(337): XenForo_ControllerPublic_Account->actionAvatarUpload()
#4 /var/www/html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#5 /var/www/html/index.php(13): XenForo_FrontController->run()
#6 {main}
Request State
array(3) {
  ["url"] => string(51) "http://mineshaft.co/index.php?account/avatar-upload"
  ["_GET"] => array(1) {
    ["account/avatar-upload"] => string(0) ""
  }
  ["_POST"] => array(8) {
    ["use_gravatar"] => string(1) "0"
    ["avatar_date"] => string(1) "0"
    ["avatar_crop_x"] => string(1) "0"
    ["avatar_crop_y"] => string(1) "0"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(10) "/index.php"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}

Can anybody help me resolve these? Thanks :D
 
Yeah, check the data and internal_data directories - they may need to be chmod to 777 (or install SuPHP).

Also, you need to install the xml PECL. If you have WHM on your VPS, just go to module installers, PHP Pecl and then search for XML.

Liam
 
Back
Top Bottom