Movie Prop Sites
Active member
We have just completed our move from vBulletin to Xenforo (our 5th time making a move like this with one of our communities). We are seeing an odd error I haven't encountered before and can't find any info on it.
ErrorException: unlink(/xxx/forums/internal_data/attachments/547/547756-40aadcaf5d0173af62e55a9817e4c63b.data): Permission denied - library/XenForo/DataWriter/AttachmentData.php:185
Generated By: Unknown Account,
#0 [internal function]: XenForo_Application::handlePhpError(2, 'unlink(/xxx...', '/xxx...', 185, Array)
#1 /xxx/forums/library/XenForo/DataWriter/AttachmentData.php(185): unlink('/xxx...')
#2 /xxx/forums/library/XenForo/DataWriter.php(1793): XenForo_DataWriter_AttachmentData->_postDelete()
#3 /xxx/forums/library/XenForo/Model/Attachment.php(678): XenForo_DataWriter->delete()
#4 /xxx/forums/library/XenForo/CronEntry/CleanUp.php(18): XenForo_Model_Attachment->deleteUnusedAttachmentData()
#5 [internal function]: XenForo_CronEntry_CleanUp::runHourlyCleanUp(Array)
#6 /xxx/forums/library/XenForo/Model/Cron.php(357): call_user_func(Array, Array)
#7 /xxx/forums/library/XenForo/Deferred/Cron.php(24): XenForo_Model_Cron->runEntry(Array)
#8 /xxx/forums/library/XenForo/Model/Deferred.php(295): XenForo_Deferred_Cron->execute(Array, Array, 7.9999990463257, '')
#9 /xxx/forums/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 7.9999990463257, '', false)
#10 /xxx/forums/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#11 /xxx/forums/deferred.php(23): XenForo_Model_Deferred->run(false)
#12 {main}
array(3) {
["url"] => string(42) "https://xxx/forums/deferred.php"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(47) "/forums/forums/star-wars-costumes-and-props.79/"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "****"
["_xfResponseType"] => string(4) "json"
}
}
I don't know what the issue is here except that on the last bit it has "/forums/forums/star-wars-costumes-and-props.79/". Forums is in the url twice which is incorrect.
Obviously, this seems to be associated with attachments, but I am not sure where to start with it or why we are getting this error. We get about half a dozen to a dozen a day, each pointing to different urls.
ErrorException: unlink(/xxx/forums/internal_data/attachments/547/547756-40aadcaf5d0173af62e55a9817e4c63b.data): Permission denied - library/XenForo/DataWriter/AttachmentData.php:185
Generated By: Unknown Account,
#0 [internal function]: XenForo_Application::handlePhpError(2, 'unlink(/xxx...', '/xxx...', 185, Array)
#1 /xxx/forums/library/XenForo/DataWriter/AttachmentData.php(185): unlink('/xxx...')
#2 /xxx/forums/library/XenForo/DataWriter.php(1793): XenForo_DataWriter_AttachmentData->_postDelete()
#3 /xxx/forums/library/XenForo/Model/Attachment.php(678): XenForo_DataWriter->delete()
#4 /xxx/forums/library/XenForo/CronEntry/CleanUp.php(18): XenForo_Model_Attachment->deleteUnusedAttachmentData()
#5 [internal function]: XenForo_CronEntry_CleanUp::runHourlyCleanUp(Array)
#6 /xxx/forums/library/XenForo/Model/Cron.php(357): call_user_func(Array, Array)
#7 /xxx/forums/library/XenForo/Deferred/Cron.php(24): XenForo_Model_Cron->runEntry(Array)
#8 /xxx/forums/library/XenForo/Model/Deferred.php(295): XenForo_Deferred_Cron->execute(Array, Array, 7.9999990463257, '')
#9 /xxx/forums/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 7.9999990463257, '', false)
#10 /xxx/forums/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#11 /xxx/forums/deferred.php(23): XenForo_Model_Deferred->run(false)
#12 {main}
array(3) {
["url"] => string(42) "https://xxx/forums/deferred.php"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(47) "/forums/forums/star-wars-costumes-and-props.79/"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "****"
["_xfResponseType"] => string(4) "json"
}
}
I don't know what the issue is here except that on the last bit it has "/forums/forums/star-wars-costumes-and-props.79/". Forums is in the url twice which is incorrect.
Obviously, this seems to be associated with attachments, but I am not sure where to start with it or why we are getting this error. We get about half a dozen to a dozen a day, each pointing to different urls.
Last edited: