No upload in post at 1.0.1

  • Thread starter Thread starter bogus
  • Start date Start date
B

bogus

Guest
Hello. I have upgraded my Forum today to 1.0.1 and i cannot upload anything if i open or reply to a thread. I had this error some time ago, but all permissions are as they have been before where it worked everything fine. Here is the Error Log.

Error Log
ErrorException: rename(/var/www/vhosts/brainlag.eu/httpdocs/internal_data/temp/xfewsYIe,/var/www/vhosts/brainlag.eu/httpdocs/data/attachments/0/68-3a846ed81b0b3fdd7f59fb178c77d2a1.jpg) [<a href='function.rename'>function.rename</a>]: Permission denied - library/XenForo/DataWriter/AttachmentData.php:207

Stack Trace
  • #0 [internal function]: XenForo_Application::handlePhpError('/var/www/vhosts...', '/var/www/vhosts...')
  • #1 /var/www/vhosts/brainlag.eu/httpdocs/library/XenForo/DataWriter/AttachmentData.php(207): rename('/var/www/vhosts...', '/var/www/vhosts...')
  • #2 /var/www/vhosts/brainlag.eu/httpdocs/library/XenForo/DataWriter/AttachmentData.php(183): XenForo_DataWriter_AttachmentData->_moveFile('/var/www/vhosts...', Array, true)
  • #3 /var/www/vhosts/brainlag.eu/httpdocs/library/XenForo/DataWriter/AttachmentData.php(126): XenForo_DataWriter_AttachmentData->_writeAttachmentFile()
  • #4 /var/www/vhosts/brainlag.eu/httpdocs/library/XenForo/DataWriter.php(1295): XenForo_DataWriter_AttachmentData->_postSave()
  • #5 /var/www/vhosts/brainlag.eu/httpdocs/library/XenForo/Model/Attachment.php(280): XenForo_DataWriter->save(Object(XenForo_Upload), 1)
  • #6 /var/www/vhosts/brainlag.eu/httpdocs/library/XenForo/ControllerPublic/Attachment.php(195): XenForo_Model_Attachment->insertUploadedAttachmentData()
  • #7 /var/www/vhosts/brainlag.eu/httpdocs/library/XenForo/FrontController.php(310): XenForo_ControllerPublic_Attachment->actionDoUpload(Object(XenForo_RouteMatch))
  • #8 /var/www/vhosts/brainlag.eu/httpdocs/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch()
  • #9 /var/www/vhosts/brainlag.eu/httpdocs/index.php(13): XenForo_FrontController->run()
  • #10 {main}
Request State
array(3) { ["url"] => string(105) "http://www.brainlag.eu/attachments/...f50f1a6abfc01f73dc1ed4ac567&content_type=post" ["_GET"] => array(2) { ["hash"] => string(32) "0514af50f1a6abfc01f73dc1ed4ac567" ["content_type"] => string(4) "post" } ["_POST"] => array(7) { ["Filename"] => string(13) "Unbenannt.jpg" ["_xfSessionId"] => string(32) "35c750e6db802cfd70b6735af0c0cb7b" ["_xfToken"] => string(53) "1,1302261650,663bdbe36718598abcc66205f3b61aee89d7f63d" ["_xfResponseType"] => string(4) "json" ["content_data"] => array(1) { ["node_id"] => string(3) "173" } ["_xfNoRedirect"] => string(1) "1" ["Upload"] => string(12) "Submit Query" } }
 
Thanks Jake, the Folders are all set to 777. I have set the permissions with flashFXP. Maybe there is any error with this program.
 
Try setting permissions on internal_data as well. Both internal_data and data should be fully writable. Make sure everything inside of those directories is also writable. The error indicates a lack of permissions.
 
Top Bottom