Hi guys,
I have that fenomen now after got to php7 with my script
if user got invite and after that activate that invite code/link he/she got class 8 (administrator) insteand for class 1 as it formulated in account-singup.php
Try to figure out but only that file have this formulation of class
All help is welcome asap
/regards
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
I have that fenomen now after got to php7 with my script
if user got invite and after that activate that invite code/link he/she got class 8 (administrator) insteand for class 1 as it formulated in account-singup.php
// make first member admin
if ($numsitemembers == '0')
$signupclass = '11';
else
$signupclass = '1';
$ret = SQL_Query_exec("INSERT INTO users (username, password, secret, email, uploaded, downloaded, modcomment, seedbonus, status, added, age, country, gender, client, stylesheet, language, class, ip) VALUES (" .
implode(",", array_map("sqlesc", array($wantusername, $wantpassword, $secret, $email, $upload, $download, $modcomment_text, $seedbonus, $status, get_date_time(), $age, $country, $gender, $client, $site_config["default_theme"], $site_config["default_language"], $signupclass, getip()))).")");
Try to figure out but only that file have this formulation of class
All help is welcome asap
/regards
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 2022-08-23 07:09:05