The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
|
#12
|
|||
|
|||
|
#13
|
||||
|
||||
Nevermind, I believe you have it correct. What are your directory permissions set at?
|
#14
|
||||
|
||||
This is correct
Code:
/www/root/html/forum/images/attachment |
#15
|
||||
|
||||
The only thing left is making sure that the attachment folder is set with the proper 0777 permissions.
|
#16
|
|||
|
|||
Quote:
Quote:
... but it is not fixed . The same problem again , the attachment dose not disply . Whan I move/upload the attachment back in the database , it show me this : ...and whan it finish : |
#17
|
|||
|
|||
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. |
#18
|
|||
|
|||
Quote:
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); |
#19
|
|||
|
|||
Change path in vb to: /home/croherze/www/root/html/forum/images/attachment
chmod a+rwx /home/croherze/www/root/html/forum/images/attachment try again |
#20
|
|||
|
|||
Quote:
Here is one example off a uploaded attachment that not disply : https://croherze.com/forum/attachmen...0&d=1602151218 Maybe : chmod a+rwx /home/croherze/www/root/html/forum/attachment ? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|