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
Torrent Trader PDO/MVC 2021 Pre-Release
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / M-BiTsy / M-BiTsy Support

2020-09-01 03:37:03
"Propaganda, post: 69271, member: 60":

Learned something again ;-)

you dont need them at start and end in templates as well just html its when you mix the two, there are required at start of a file beginning with php so its knows what its reading but if it starts with html thats the default so not needed its meant to be better for white spaces which can cause errors
2020-09-01 03:37:31
"m-jay, post: 69272, member: 20288":

Noticed rss when i tried I micromonkeys the line in footer is wrong should have been <?php echo TTURL; ?>/rss?custom=1 but this will now be wrong too lol
updating rss change link in you theme to  <?php echo TTURL; ?>/rss/custom

Done
If It Ain't Dutch, It Ain't Much!!
2020-09-01 10:49:50
"m-jay, post: 69270, member: 20288":

Php should not have ?> at the end to close files it's bad practice


I haven't used closing tag in weeks, easier to read too. You'll notice any php editor will turn on syntax highlighting as soon as you type ?> - also when pasting code without a closing tag
2020-09-01 23:11:29
put this on fresh server and a few little bugs got my staff all testing for week so should iron any issues out
2020-09-02 04:04:19
"m-jay, post: 69280, member: 20288":

put this on fresh server and a few little bugs got my staff all testing for week so should iron any issues out

You have staff working on this? Haha
If It Ain't Dutch, It Ain't Much!!
2020-09-02 05:22:00
"Propaganda, post: 69283, lmember: 60":

You have staff working on this? Haha

I had to close site issues with server and   only just transferred domain so domain was locked there .only just been able to move domain again so perfect time to make switch
My uploaders and moderators are pretty good guys there follwed me for 10+ years so far just little things like more smiles link, thanks button been able to fix everything so far
2020-09-02 05:45:23
Going to go though mobile view today check all pages on small devices
2020-09-02 05:50:52
"m-jay, post: 69285, member: 20288":

Going to go though mobile view today check all pages on small devices

The only issue I had here is the size of the logo and the visibility of the button of the accordion button.
My current logo would be to big...but I would like to keep the logo when browsing the site on a pc. I was thinking of solution with the @media tag.
The accordion button is there...but not visible (transparent)
If It Ain't Dutch, It Ain't Much!!
2020-09-02 08:48:55
dont really want to update github until end of week until a good test is carried out but the logo is done, you need to make a new logo i just use f-logo from forum for now for example
    <!-- START NAVIGATION -->
   <nav class="navbar navbar-expand-lg">
       <a class="navbar-brand" href="<?php echo TTURL; ?>/index.php">
           <img class="d-none d-sm-block" src="<?php echo TTURL; ?>/views/themes/<?php echo $_SESSION['stylesheet'] ?: $config['default_theme']; ?>/images/logo.gif"><!-- Image to show on screens from small to extra large -->
           <img class="d-sm-none" src="<?php echo TTURL; ?>/views/themes/<?php echo $_SESSION['stylesheet'] ?: $config['default_theme']; ?>/images/f-logo.gif"><!-- Image to show on extra small screen (mobile portrait) -->
       </a>
     <?php if ($_SESSION['loggedin'] == true) {?>
2020-09-02 10:36:21
"m-jay, post: 69287, member: 20288":

dont really want to update github until end of week until a good test is carried out but the logo is done, you need to make a new logo i just use f-logo from forum for now for example
    <!-- START NAVIGATION -->
   <nav class="navbar navbar-expand-lg">
       <a class="navbar-brand" href="<?php echo TTURL; ?>/index.php">
           <img class="d-none d-sm-block" src="<?php echo TTURL; ?>/views/themes/<?php echo $_SESSION['stylesheet'] ?: $config['default_theme']; ?>/images/logo.gif"><!-- Image to show on screens from small to extra large -->
           <img class="d-sm-none" src="<?php echo TTURL; ?>/views/themes/<?php echo $_SESSION['stylesheet'] ?: $config['default_theme']; ?>/images/f-logo.gif"><!-- Image to show on extra small screen (mobile portrait) -->
       </a>
     <?php if ($_SESSION['loggedin'] == true) {?>


Checked and working ;-)
If It Ain't Dutch, It Ain't Much!!
2020-11-16 07:29:22
Hi m-jay, when i try signup give me
Error
Oops somwthing went wrong, Admin have been notified if this continues please contact a member of staff. Thank you
When i'm wrong?
TorrentTrader PDO/MVC,  php7.4.4,  Mysql5.7.30

2020-11-16 11:21:02
"coco, post: 69556, member: 20298":

Hi m-jay, when i try signup give me
Error
Oops somwthing went wrong, Admin have been notified if this continues please contact a member of staff. Thank you
When i'm wrong?
TorrentTrader PDO/MVC,  php7.4.4,  Mysql5.7.30


I have got the same error on shared hosting
Is it any tutorial for system setup on dedi/vps?
Thanks
2020-11-16 14:40:45
Try this around line 214 in controllers/account.php

Replace the query and lastinsert with
$ins_user = DB::run("INSERT INTO users
(username, password, secret, email, status, added, last_login, last_access, age, country, gender, client, stylesheet, language, class, ip)
VALUES
(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)",
[$wantusername, $wantpassword, $secret, $email, $status, get_date_time(), get_date_time(), get_date_time(), $age, $country, $gender, $client, $config["default_theme"], $config["default_language"], $signupclass, getip()]);
$id = DB::lastInsertId()


Before you signup remove any lines from the two error/exception_log.txt files when you signup any error will be written to these files which are more detailed, posting that will help but please check though first it will contain your email of the signup account

When you update sql sometimes the strict mode switches on have you check strict mode is off
2020-11-16 19:28:45
I don't know what's going on but still the same error.
I changed line 415 in Account.php
$sql = "INSERT INTO users (username, password, secret, email, status, added, last_access, age, country, gender, client, stylesheet, language, class, ip) VALUES (" . implode(",", array_map("sqlesc", array($wantusername, $wantpassword, $secret, $email, $status, get_date_time(), get_date_time(), $age, $country, $gender, $client, $config["default_theme"], $config["default_language"], $signupclass, getip()))) . ")";
               $ins_user = DB::run($sql);
               $id = DB::lastInsertId();


with this
$ins_user = DB::run("INSERT INTO users
(username, password, secret, email, status, added, last_login, last_access, age, country, gender, client, stylesheet, language, class, ip)
VALUES
(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)",
[$wantusername, $wantpassword, $secret, $email, $status, get_date_time(), get_date_time(), get_date_time(), $age, $country, $gender, $client, $config["default_theme"], $config["default_language"], $signupclass, getip()]);
$id = DB::lastInsertId()


in address bar https://xxxxxxx.xxx/exceptions/error
error_log and exception_log.txt files are empty

And also this line $config['SITEURL'] = 'http://localhost/pdo'; //Main Site URL how it should be?
In main config is $config['SITEURL'] = 'https://xxxxxxx.xxx'; //Main Site URL without pdo, if you add it many redirects start


Thank you  m-jay
2020-11-16 20:07:28
Hi m-jay, nice work mate, are you jumping from usual PDO version to this one now, and don't working on old one anymore
I can set up and help with design and live server (not xampp)
and one more thing that I ALWAYS ask for, external scraper that works


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
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: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728