| ||||||
![]() |
|
#1
|
|||
|
|||
|
A lightweight PHP-based torrent tracker with announce system, built-in torrent parser, and a simple but functional admin panel.
Perfect for private communities, testing torrent workflows, or learning how trackers work under the hood. Features
Installation 1. Import Database Upload the SQL file from: admin/backup and import it into your MySQL/MariaDB database. 2. Install Dependencies composer require arokettu/torrent-file 3. Configure Database Edit include/config.php: $config['database']['database'] = 'dbname'; $config['database']['hostname'] = 'localhost'; $config['database']['username'] = 'user'; $config['database']['password'] = 'password'; 4. Configure Announce Edit include/config_announce.php: $mysql_host = ''; $mysql_user = ''; $mysql_pass = ''; $mysql_db = ''; $BASEURL = 'https://localhost'; $SITENAME = 'Tracker Name'; 5. Configure Site Settings Edit include/settings.php: $SITENAME = "Tracker Name"; $BASEURL = "https://localhost"; $cookiedomain = ".localhost"; $announce_urls[] = "https://localhost/announce.php"; 6. Requirements PHP 7.4+ MySQL 5.7+ / MariaDB Composer ✅ Ready to Go After completing these steps, your tracker should be up and running. Please don’t kill me hahah 😅 Default Admin User: Username: Admin Password: 123456 https://github.com/Ruf790/mybb-based-torrent-tracker |
|
#2
|
|||
|
|||
|
Its show Fatal Error
first problem is SQL file not upload in cpanel hosting server.i try two different servers.After this i use freehosting without cpanel, SQL File upload smoothly but full site not run proper. when i open first page is open smoothly after when i fill username and pass so next page not open its show error What is main cause of this error. PHP Version or other one |
|
#3
|
||||
|
||||
|
This looks great but the instructions and the DB import need to be improved/fixed.
I have an error when I try to import the DB I have PHP 8.3 but your script requires PHP 8.4 which it too restrictive You created the DB dump on MySQL 8 but my server is running MariaDB which does not support the collation: utf8mb4_0900_ai_ci PHP Code:
PHP Code:
PHP Code:
Then I got another error: PHP Code:
PHP Code:
PHP Code:
And for the setup, since I run Plesk on my VPS I had to adapt the installations steps! When I ran this command I got an error (maybe similar issue withg CPanel?): composer require arokettu/torrent-file --> /usr/bin/env: php: No such file or directory To fix it I did the following - check which PHP you have installed with Plesk (different for CPanel): ls /opt/plesk/php/ --> 7.4 8.0 8.1 8.3 Find where Composer is installed: which composer --> /usr/local/bin/composer Run Composer using Plesk’s PHP, not the system PHP: /opt/plesk/php/8.3/bin/php /usr/local/psa/var/modules/composer/composer.phar require arokettu/torrent-file This is what you should see: Code:
Do not run Composer as root/super user! See https://getcomposer.org/root for details Continue as root/super user [yes]? ./composer.json has been created Running composer update arokettu/torrent-file Loading composer repositories with package information Updating dependencies Lock file operations: 9 installs, 0 updates, 0 removals - Locking arokettu/bencode (4.3.2) - Locking arokettu/is-resource (1.0.5) - Locking arokettu/torrent-file (5.3.4) - Locking nikic/iter (v2.4.1) - Locking psr/event-dispatcher (1.0.0) - Locking symfony/filesystem (v7.4.0) - Locking symfony/finder (v7.4.3) - Locking symfony/polyfill-ctype (v1.33.0) - Locking symfony/polyfill-mbstring (v1.33.0) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 9 installs, 0 updates, 0 removals - Downloading arokettu/is-resource (1.0.5) - Downloading symfony/finder (v7.4.3) - Downloading symfony/polyfill-mbstring (v1.33.0) - Downloading symfony/polyfill-ctype (v1.33.0) - Downloading symfony/filesystem (v7.4.0) - Downloading psr/event-dispatcher (1.0.0) - Downloading nikic/iter (v2.4.1) - Downloading arokettu/bencode (4.3.2) - Downloading arokettu/torrent-file (5.3.4) - Installing arokettu/is-resource (1.0.5): Extracting archive - Installing symfony/finder (v7.4.3): Extracting archive - Installing symfony/polyfill-mbstring (v1.33.0): Extracting archive - Installing symfony/polyfill-ctype (v1.33.0): Extracting archive - Installing symfony/filesystem (v7.4.0): Extracting archive - Installing psr/event-dispatcher (1.0.0): Extracting archive - Installing nikic/iter (v2.4.1): Extracting archive - Installing arokettu/bencode (4.3.2): Extracting archive - Installing arokettu/torrent-file (5.3.4): Extracting archive 2 package suggestions were added by new dependencies, use `composer suggest` to see details. Generating autoload files 4 packages you are using are looking for funding. Use the `composer fund` command to find out more! No security vulnerability advisories found. Using version ^5.3 for arokettu/torrent-file |
|
#4
|
||||
|
||||
|
better to have as addon instead of complete system fr mybb
|
![]() |
| Thread Tools | |
|
|