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

XF 1.5 Image Upload- Invalid SOS parameters for sequential JPEG

ActorMike

Active member
#1
Seeing these type server errors on occasion.

Error Info
ErrorException: imagecreatefromjpeg(): gd-jpeg, libjpeg: recoverable error: Invalid SOS parameters for sequential JPEG - library\XenForo\Image\Gd.php:78
Generated By: abyssiniandog, Yesterday at 10:04 PM
Stack Trace
#0 [internal function]: XenForo_Application::handlePhpError(8, 'imagecreatefrom...', 'D:\\cuswebs\\www1...', 78, Array)
#1 D:\cuswebs\www1\****.com\library\XenForo\Image\Gd.php(78): imagecreatefromjpeg('C:\\Windows\\Temp...')
#2 D:\cuswebs\www1\****.com\library\XenForo\Image\Abstract.php(254): XenForo_Image_Gd::createFromFileDirect('C:\\Windows\\Temp...', 2)
#3 D:\cuswebs\www1\****.com\library\XenForo\Model\Avatar.php(170): XenForo_Image_Abstract::createFromFile('C:\\Windows\\Temp...', 2)
#4 D:\cuswebs\www1\****.com\library\XenForo\Model\Avatar.php(69): XenForo_Model_Avatar->applyAvatar(8904, 'C:\\Windows\\Temp...', 2, 256, 192, Array)
#5 D:\cuswebs\www1\****.com\library\XenForo\ControllerPublic\Account.php(563): XenForo_Model_Avatar->uploadAvatar(Object(XenForo_Upload), 8904, Array)
#6 D:\cuswebs\www1\****.com\library\XenForo\FrontController.php(351): XenForo_ControllerPublic_Account->actionAvatarUpload()
#7 D:\cuswebs\www1\****.com\library\XenForo\FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#8 D:\cuswebs\www1\****.com\index.php(13): XenForo_FrontController->run()
#9 {main}
Request State
array(3) {
["url"] => string(60) "http://****.com/account/avatar-upload"
["_GET"] => array(0) {
}
["_POST"] => array(1) {
["_xfToken"] => string(8) "********"
}
}