Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
Previews don't work
You don't have permission for this action!
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / Torrent Trader / v3 Support

2023-03-20 15:39:38
When I upload a preview with a torrent the image is not visible. It appears as if the link is broken. The file uploads successfully, appears in /upload/images/, and both the upload folder and the images folder have the proper permissions. The file format is jpg or png, and the size is low (less than 500KBs) If I try to access the image from the torrent post, right clicking and opening the image, I get error 500.
1.png
1.png
2023-03-20 16:25:50
When you right click on the image and select  inspect what does the url look like or right click and copy age link
You don't need to post site url, should look something like siteurl/images/15.png  
2023-03-20 18:16:01
yes. mysite/upload/images/image.jpg

And. if i try edit any torrent for update/add a image, doesn't work. I select the image to add, I hit save and nothing happens. That added image is also not uploaded to the images folder.
2023-03-20 18:47:35
If you don't have check.php in root directory copy attachment file and run it, check all folders permissions and files chmode too

PS
check link to image too (in php file)
try another browser too
check.zip
Download



www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
Last edited by Botanicar on 2023-03-20 18:48:14
2023-03-20 20:11:33
The other thing to also consider is chown the whole thing to www-data. Thats the web user group with all needed permissions. I dont know what you are using, but its this way for ubuntu, and I will assume other nix variants. sudo chown -R www-data:www-data /var/www/yoursite_folder
TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
Last edited by MicroMonkey on 2023-03-20 20:13:04
2023-03-21 00:12:39
Same for BSD/Mac. I think that is a pretty standard command among UNIX.

AIX, Solaris etc probably follow. I doubt it.
2023-03-23 14:06:31
nothing works. The upload/images folder has 777 permission (checked with ls -la command) and I have run the command chown -R with the group "http" (equivalent to www-data) for my site directory. The check.php shows all permissions granted. The only thing I don't have is suhosin extension.
2023-03-23 14:38:46

sudo chown -R www-data:www-data /var/www
sudo find /var/www -type d -exec chmod 2775 {} +
sudo find /var/www -type f -exec chmod 664 {} +

2023-03-23 14:47:50
Another piece of information, when I try to access the image, for example https://www.myste.com/uploads/images/5040.jpg , it shows http error 500
2023-03-23 14:51:47
you have a log file ?
2023-03-23 14:54:36
Nothing...
sudo chown -R http:http /volumeUSB1/usbshare/mysite/
sudo find /volumeUSB1/usbshare/mysite/ -type f -exec chmod 2775 {} +
sudo find /volumeUSB1/usbshare/mysite/ -type d -exec chmod 664 {} +


I have executed these commands as is, adapting them to my environment, but it still does not work. /volumeUSB1/usbshare/mysite/ is the path where I have the web. http is the user group of the web server.
2023-03-23 14:57:39
remove /mysite/
Last edited by SLy on 2023-03-23 14:58:32
2023-03-23 15:11:06
Now I have 403 error in all my site and I can't execute command in my site folder!!!! How do I revert the changes?
2023-03-23 17:55:38
One question, what permissions should the files and folders have? The ones that come in the installation tutorial is 777, but what about the others?
2023-03-23 18:54:20
Are you serving from a mounted USB device? The overhead in that alone off the controller IC is a lot in itself.

And that brings me to power conservation on those ports for said www dir.

At least, power these from a 3.1 interface, and be sure the host storage is at least standard SSD.

Mounting and accessing that through SFTP must be a pain.

Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 2
  • Members: 0
  • Guests online: 2
  • Comments: 3
  • Messages: 1,728