View Single Post
  #18  
Old 11-11-2020, 12:33 PM
nte nte is offline
 
Join Date: May 2015
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
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);
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03576 seconds
  • Memory Usage 1,764KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete