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

XF 1.3 Upgrade Easy Apache Upload Issue

Discussion in 'Troubleshooting and Problems' started by Gizzymomo, Aug 27, 2014.

  1. Gizzymomo

    Gizzymomo Member

    Since upgrading the packages on easy apache I cannot upload images. The correct directories are on 777 as it worked before /tmp files is also writeable.

    ErrorException:copy(/home/ecigssac/public_html/internal_data/attachments/10/10536-e3f015cba5c375e532e7c3941be47a01.data): failed to open stream: Permission denied -library/XenForo/Helper/File.php:253
    Generated By:Gizmo,34 minutes ago
    Stack Trace
    #0 [internal function]: XenForo_Application::handlePhpError(2, 'copy(/home/ecig...', '/home/ecigssac/...', 253, Array)
    #1 /home/ecigssac/public_html/library/XenForo/Helper/File.php(253): copy('/tmp/phpZGqZga', '/home/ecigssac/...')
    #2 /home/ecigssac/public_html/library/XenForo/DataWriter/AttachmentData.php(264): XenForo_Helper_File::safeRename('/tmp/phpZGqZga', '/home/ecigssac/...')
    #3 /home/ecigssac/public_html/library/XenForo/DataWriter/AttachmentData.php(223): XenForo_DataWriter_AttachmentData->_moveFile('/tmp/phpZGqZga', '/home/ecigssac/...')
    #4 /home/ecigssac/public_html/library/XenGallery/DataWriter/AttachmentData.php(60): XenForo_DataWriter_AttachmentData->_writeAttachmentFile('/tmp/phpZGqZga', Array, false)
    #5 /home/ecigssac/public_html/library/XenForo/DataWriter/AttachmentData.php(143): XenGallery_DataWriter_AttachmentData->_writeAttachmentFile('/tmp/phpZGqZga', Array)
    #6 /home/ecigssac/public_html/library/XenForo/DataWriter.php(1409): XenForo_DataWriter_AttachmentData->_postSave()
    #7 /home/ecigssac/public_html/library/XenForo/Model/Attachment.php(524): XenForo_DataWriter->save()
    #8 /home/ecigssac/public_html/library/XenForo/ControllerPublic/Attachment.php(201): XenForo_Model_Attachment->insertUploadedAttachmentData(Object(XenForo_Upload), 1)
    #9 /home/ecigssac/public_html/library/XenForo/FrontController.php(347): XenForo_ControllerPublic_Attachment->actionDoUpload()
    #10 /home/ecigssac/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #11 /home/ecigssac/public_html/index.php(13): XenForo_FrontController->run()
    #12 {main}
    Request State
    array (size=3)
    'url' => string 'http://www.ecigssa.co.za/attachment...a6e1f604c2b1abc5210713a06fb&content_type=post' (length=107)
    '_GET' =>
    array (size=2)
    'hash' => string 'e101da6e1f604c2b1abc5210713a06fb' (length=32)
    'content_type' => string 'post' (length=4)
    '_POST' =>
    array (size=7)
    'Filename' => string 'look.jpg' (length=8)
    '_xfSessionId' => string '5967be83f6093d3883709de0aca6594a' (length=32)
    '_xfToken' => string '********' (length=8)
    'content_data' =>
    array (size=1)
    'thread_id' => string '4495' (length=4)
    '_xfResponseType' => string 'json' (length=4)
    '_xfNoRedirect' => string '1' (length=1)
    'Upload' => string 'Submit Query' (length=12)
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Ensure 0777 is applied recursively.
     

Share This Page