XF 1.2 Uploading Files Problem

Ark Royal

Active member
A number of my members have had issues when trying to upload files to my forum this morning.
I haven't seen this before and suspect that it maybe an issue with the host.

Here is one of the error messages

Code:
#0 /var/sites/t/theukbettingforum.co.uk/public_html/XenForo/library/XenForo/Helper/File.php(217): XenForo_Application::handlePhpError('/tmp/phpsebkjz', '/var/sites/t/th...')
#1 /var/sites/t/theukbettingforum.co.uk/public_html/XenForo/library/XenForo/DataWriter/AttachmentData.php(264): XenForo_Helper_File::safeRename('/tmp/phpsebkjz', '/var/sites/t/th...')
#2 /var/sites/t/theukbettingforum.co.uk/public_html/XenForo/library/XenForo/DataWriter/AttachmentData.php(223): XenForo_DataWriter_AttachmentData->_moveFile('/tmp/phpsebkjz', '/var/sites/t/th...')
#3 /var/sites/t/theukbettingforum.co.uk/public_html/XenForo/library/XenForo/DataWriter/AttachmentData.php(143): XenForo_DataWriter_AttachmentData->_writeAttachmentFile('/tmp/phpsebkjz', Array)
#4 /var/sites/t/theukbettingforum.co.uk/public_html/XenForo/library/XenForo/DataWriter.php(1397): XenForo_DataWriter_AttachmentData->_postSave()
#5 /var/sites/t/theukbettingforum.co.uk/public_html/XenForo/library/XenForo/Model/Attachment.php(524): XenForo_DataWriter->save()
#6 /var/sites/t/theukbettingforum.co.uk/public_html/XenForo/library/XenForo/ControllerPublic/Attachment.php(201): XenForo_Model_Attachment->insertUploadedAttachmentData(Object(XenForo_Upload), 427)
#7 /var/sites/t/theukbettingforum.co.uk/public_html/XenForo/library/XenForo/FrontController.php(337): XenForo_ControllerPublic_Attachment->actionDoUpload()
#8 /var/sites/t/theukbettingforum.co.uk/public_html/XenForo/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#9 /var/sites/t/theukbettingforum.co.uk/public_html/XenForo/index.php(13): XenForo_FrontController->run()
#10 {main}

Request State

array(3) {
  ["url"] => string(125) "http://www.theukbettingforum.co.uk/XenForo/attachments/do-upload.json?hash=b7cb9da95a7c69d407c3a03201a12fd2&content_type=post"
  ["_GET"] => array(2) {
    ["hash"] => string(32) "b7cb9da95a7c69d407c3a03201a12fd2"
    ["content_type"] => string(4) "post"
  }
  ["_POST"] => array(7) {
    ["Filename"] => string(12) "Capture1.PNG"
    ["_xfNoRedirect"] => string(1) "1"
    ["content_data"] => array(1) {
      ["thread_id"] => string(4) "5298"
    }
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
    ["_xfSessionId"] => string(32) "07786198bffb7a0a83d7d6150401b1d4"
    ["Upload"] => string(12) "Submit Query"
  }
}

Any thoughts?


 
Doh!
Code:
ErrorException: copy(/var/sites/t/theukbettingforum.co.uk/public_html/XenForo/internal_data/attachments/3/3324-6a55c879836eec22a673eb95d1778976.data) [<a href='function.copy'>function.copy</a>]: failed to open stream: Read-only file system - library/XenForo/Helper/File.php:217
 
Top Bottom