![]() |
Attachment bug , vB4
Hello everyone .
I have a bug/problem with my attachment . The upload of the attachment are ok and without problems . https://i.ibb.co/x85BT1w/Screenshot-6.png ... but , the image not displayed . https://i.ibb.co/9q8GCF8/Screenshot-5.png Does anyone have a solution of my problem? :up: |
<a href="https://vborg.vbsupport.ru/showpost.php?p=2604411&postcount=2" target="_blank">https://vborg.vbsupport.ru/show...11&postcount=2</a>
|
Quote:
https://i.ibb.co/PjQRX8m/Screenshot-3.png It is already in the Database . Please help :) |
Click where it says krene and wait until it's done
|
Quote:
https://i.ibb.co/xzQdXJF/Screenshot-1.png :confused: |
Quote:
|
1 Attachment(s)
The Path address is not correct?
www/root/html/forum/images/attachment Attachment File Path This file path should be readable AND writeable by your web server (usually chmod 0777) https://vborg.vbsupport.ru/attachmen...1&d=1604620711 |
Quote:
Quote:
https://i.ibb.co/fGZ7631/Screenshot-2.png If you think to set " 777 " in premissions of the directory , I do it ... Or you think something else? |
You did not enter the first forward slash: /www/root/html/forum/images/attachment
|
Quote:
With or without , its the same ... :( |
Quote:
|
Quote:
|
Nevermind, I believe you have it correct. What are your directory permissions set at?
|
Quote:
Code:
/www/root/html/forum/images/attachment |
The only thing left is making sure that the attachment folder is set with the proper 0777 permissions.
|
Quote:
Quote:
Quote:
https://i.ibb.co/B435f3M/Screenshot-2.png https://i.ibb.co/nsrxn22/Screenshot-3.png ... but it is not fixed . The same problem again , the attachment dose not disply . https://i.ibb.co/ssVjP1h/Screenshot-6.png Whan I move/upload the attachment back in the database , it show me this : https://i.ibb.co/s5ZBtbW/Screenshot-4.png ...and whan it finish : https://i.ibb.co/3v4f04K/Screenshot-5.png |
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. |
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 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); |
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 |
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 ? |
Yes thats part of the path you posted & used on page 1, images/attachment
|
All times are GMT. The time now is 06:10 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|