XF 1.5 Getting error when doing Rebuild Attachment Thumbnails

gavpeds

Active member
Any ideas why i am getting this?

Code:
Server Error Log
Error Info
XenForo_Exception: Thumb rebuild for #10361: Failed to write the attachment thumbnail data. - library/XenForo/DataWriter/AttachmentData.php:169
Generated By: Gav, 5 minutes ago
Stack Trace
#0 /home/window/public_html/library/XenForo/DataWriter.php(1423): XenForo_DataWriter_AttachmentData->_postSave()
#1 /home/window/public_html/library/XenForo/Deferred/AttachmentThumb.php(67): XenForo_DataWriter->save()
#2 /home/window/public_html/library/XenForo/Model/Deferred.php(295): XenForo_Deferred_AttachmentThumb->execute(Array, Array, 7.9999959468842, '')
#3 /home/window/public_html/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 7.9999959468842, '', false)
#4 /home/window/public_html/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, 8, '', false)
#5 /home/window/public_html/library/XenForo/ControllerAdmin/Tools.php(159): XenForo_Model_Deferred->run(true, NULL, '', false)
#6 /home/window/public_html/library/XenForo/FrontController.php(351): XenForo_ControllerAdmin_Tools->actionRunDeferred()
#7 /home/window/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#8 /home/window/public_html/admin.php(13): XenForo_FrontController->run()
#9 {main}
Request State
array(3) {
  ["url"] => string(63) "https://mydomain.co.uk/admin.php?tools/run-deferred"
  ["_GET"] => array(1) {
    ["tools/run-deferred"] => string(0) ""
  }
  ["_POST"] => array(3) {
    ["redirect"] => string(68) "https://mydomain.co.uk/admin.php?tools/rebuild&success=1"
    ["execute"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
  }
}
 
That would tend to indicate a permission issue. XenForo wasn't able to write out the file. This would be within the data/ directory, though it could be an issue with a sub-directory or even a particular file. You should (recursively) check the permissions and ownership are what you expect. If you're not sure, you can recursively 0777 every in the directory and that should generally fix it.
 
Back
Top Bottom