this is the Error-message I got in the ACP:
Code:
Fehlerinformation
ErrorException: copy(/www/htdocs/w0815z/internal_data/attachments/0/36-fd5af430bfd81fe2df1e817dae4f5a6c.data): failed to open stream: Permission denied - library/XenForo/Helper/File.php:261
Stapelverfolgung
#0 [internal function]: XenForo_Application::handlePhpError(2, 'copy(/www/htdoc...', '/www/htdocs/w08...', 261, Array)
#1 /www/htdocs/w0815z/library/XenForo/Helper/File.php(261): copy('/tmp/php7RTvsH', '/www/htdocs/w08...')
#2 /www/htdocs/w0815z/library/XenForo/DataWriter/AttachmentData.php(265): XenForo_Helper_File::safeRename('/tmp/php7RTvsH', '/www/htdocs/w08...')
#3 /www/htdocs/w0815z/library/XenForo/DataWriter/AttachmentData.php(224): XenForo_DataWriter_AttachmentData->_moveFile('/tmp/php7RTvsH', '/www/htdocs/w08...')
#4 /www/htdocs/w0815z/library/XenForo/DataWriter/AttachmentData.php(144): XenForo_DataWriter_AttachmentData->_writeAttachmentFile('/tmp/php7RTvsH', Array)
#5 /www/htdocs/w0815z/library/XenForo/DataWriter.php(1423): XenForo_DataWriter_AttachmentData->_postSave()
#6 /www/htdocs/w0815z/library/XenForo/Model/Attachment.php(539): XenForo_DataWriter->save()
#7 /www/htdocs/w0815z/library/XenForo/ControllerPublic/Attachment.php(205): XenForo_Model_Attachment->insertUploadedAttachmentData(Object(XenForo_Upload), 1)
#8 /www/htdocs/w0815z/library/XenForo/FrontController.php(369): XenForo_ControllerPublic_Attachment->actionDoUpload()
#9 /www/htdocs/w0815z/library/XenForo/FrontController.php(152): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#10 /www/htdocs/w0815z/index.php(13): XenForo_FrontController->run()
#11 {main}
Benötigter Status array(3) {
["url"] => string(110) "http://www.domain.com/attachments/do-upload.json?hash=0c112ebd7fe25016bcb5f92d7026f0d3&content_type=post"
["_GET"] => array(2) {
["hash"] => string(32) "0c112ebd7fe25016bcb5f92d7026f0d3"
["content_type"] => string(4) "post"
}
["_POST"] => array(13) {
["_xfToken"] => string(8) "********"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
["_xfSessionId"] => string(32) "953627c2332f50a0d8345ec83514de78"
["content_data"] => array(1) {
["node_id"] => string(3) "125"
}
["flowChunkNumber"] => string(1) "1"
["flowChunkSize"] => string(10) "4294967296"
["flowCurrentChunkSize"] => string(2) "62"
["flowTotalSize"] => string(2) "62"
["flowIdentifier"] => string(14) "62-hinblicktxt"
["flowFilename"] => string(12) "hinblick.txt"
["flowRelativePath"] => string(12) "hinblick.txt"
["flowTotalChunks"] => string(1) "1"
}
}
----------------------------------------------------------
Turns out, the issue was that I have set PHP 7.0.x as "Apache Module".
When I set PHP 7.0.x as "CGI Module", then the file-upload works fine.
Question:
are you running PHP as "CGI-Module" at your Forums ?
I was under the impression that "PHP Apache Module" is the correct setting.....