Quote:
Originally Posted by snakes1100
The server log should tell you why it failed, but its a permissions issue, either owner or folders or files.
Which permission is hard to say without seeing what errors are getting pushed into the logs.
|
I found this in the log whan I was tried to upload a attachmant ...
Code:
2020/06/08 21:53:42 [error] 315#315: *4205242 FastCGI sent in stderr: "PHP message: PHP Warning: move_uploaded_file(/www/root/html/forum/images/temp/4b9973a5eb213d73f576c473489fbbda): failed to open stream: No such file or directory in /home/croherze/www/root/html/forum/includes/class_upload.php on line 384
PHP message: PHP Warning: move_uploaded_file(): Unable to move '/tmp/phpdZh6OZ' to '/www/root/html/forum/images/temp/4b9973a5eb213d73f576c473489fbbda' in /home/croherze/www/root/html/forum/includes/class_upload.php on line 384" while reading response header from upstream, client: 2003:d3:8f04:b700:75f3:2b6f:1d10:e176, server: croherze.com, request: "POST /forum/newattachment.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php5.6-ch-fpm.sock:", host: "croherze.com", referrer: "https://croherze.com/forum/newattachment.php?do=assetmanager&values[albumid]=60&contenttypeid=8&poststarttime=1591646000&posthash=f69139bdfc92e01be59997fed991e305&insertinline=0"
class_upload.php line 384
Code:
$moveresult = $this->registry->userinfo['permissions']['adminpermissions'] & $this->registry->bf_ugp_adminpermissions['cancontrolpanel'] ? move_uploaded_file($this->upload['location'], $temppath) : @move_uploaded_file($this->upload['location'], $temppath);