Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev
Reply
Thread Tools
  #31  
Old 26th October 2020, 18:07
linkin2007 linkin2007 is offline
Member
 
Join Date: Nov 2008
Choose
Posts: 14
Default
Quote:
Originally Posted by Sven View Post
Hello, I know it is a bit older, but could you upload it again?

greetings Sven
The link
Attached Files
File Type: zip TBDev.2020.zip (3.08 MB, 284 views)
Reply With Quote
The Following 3 Users Say Thank You to linkin2007 For This Useful Post:
GULIX (20th December 2020), pstar (19th March 2021), Sven (26th October 2020)
  #32  
Old 31st December 2020, 22:06
chybber chybber is offline
Member
 
Join Date: Jan 2009
Default
Posts: 4
Default
Getting some errors while trying to signup
Code:
[Thu Dec 31 21:05:04.280623 2020] [php7:warn] [pid 13460] [client 1.1.1.1:51651] PHP Warning:  A non-numeric value encountered in /var/www/html/takesignup.php on line 66, referer: http://website.url/signup.php
takesignup.php:66
Code:
$dst_in_use = localtime(time() + ($time_offset * 3600), true);
Reply With Quote
  #33  
Old 1st January 2021, 00:27
DND DND is offline
VIP
 
Join Date: Dec 2008
Posts: 1,242
Default
Code:
$dst_in_use = localtime(time() + ((int)$time_offset * 3600) , true);
But show me your entire timezone block
__________________
Need HELP!? I can install:

  1. Server/VPS (Debian,CentOS,Ubuntu,Fedora, FreeBSD) Optimization and ... + Modules
  2. Webserver Windows/Linux (Apache/Lighttpd/Nginx/Mysql/PhpMyAdmin/SSL) Optimization and ... + Modules
  3. Seedbox Windows/Linux (uTorrent,rTorrent,libTorrent,ruTorrent) + Modules
  4. Multiple source code engines
  5. Linux Server Administration (security, cryptography/encryption, proxy, load balancer, custom ddos firewall)

Last edited by DND; 1st January 2021 at 00:44.
Reply With Quote
  #34  
Old 1st January 2021, 01:53
chybber chybber is offline
Member
 
Join Date: Jan 2009
Default
Posts: 4
Default
Quote:
Originally Posted by DND View Post
Code:
$dst_in_use = localtime(time() + ((int)$time_offset * 3600) , true);
But show me your entire timezone block
Code:
if(isset($_POST["user_timezone"]) && preg_match('#^\-?\d{1,2}(?:\.\d{1,2})?$#', $_POST['user_timezone'])){
    $time_offset = sqlesc($_POST['user_timezone']);
    }else{
    $time_offset = isset($TBDEV['time_offset']) ? sqlesc($TBDEV['time_offset']) : '0';
}
    $dst_in_use = localtime(time() + ($time_offset * 3600),
that?
Reply With Quote
  #35  
Old 1st January 2021, 03:16
DND DND is offline
VIP
 
Join Date: Dec 2008
Posts: 1,242
Default
looks good.. just change what i told you above.. and make sure the proper field in the users table is int format
__________________
Need HELP!? I can install:

  1. Server/VPS (Debian,CentOS,Ubuntu,Fedora, FreeBSD) Optimization and ... + Modules
  2. Webserver Windows/Linux (Apache/Lighttpd/Nginx/Mysql/PhpMyAdmin/SSL) Optimization and ... + Modules
  3. Seedbox Windows/Linux (uTorrent,rTorrent,libTorrent,ruTorrent) + Modules
  4. Multiple source code engines
  5. Linux Server Administration (security, cryptography/encryption, proxy, load balancer, custom ddos firewall)
Reply With Quote
  #36  
Old 1st January 2021, 13:43
chybber chybber is offline
Member
 
Join Date: Jan 2009
Default
Posts: 4
Default
Quote:
Originally Posted by DND View Post
looks good.. just change what i told you above.. and make sure the proper field in the users table is int format

Well kinda worked error disappeared, but still no write to the database?
very strange
Have all display error on in php.ini

Last edited by chybber; 1st January 2021 at 14:03.
Reply With Quote
  #37  
Old 1st January 2021, 21:34
dkrabbit dkrabbit is offline
Member
 
Join Date: Dec 2020
Posts: 2
Default
am i wrong, uploading and then config.php to the right db and then ul the sql file to database ??.. when i do that the site is just white and saying "can't connect to site ..... "
Reply With Quote
  #38  
Old 2nd January 2021, 13:34
DND DND is offline
VIP
 
Join Date: Dec 2008
Posts: 1,242
Default
there are 2 places where you need to input your database details
config.php and announce.php
__________________
Need HELP!? I can install:

  1. Server/VPS (Debian,CentOS,Ubuntu,Fedora, FreeBSD) Optimization and ... + Modules
  2. Webserver Windows/Linux (Apache/Lighttpd/Nginx/Mysql/PhpMyAdmin/SSL) Optimization and ... + Modules
  3. Seedbox Windows/Linux (uTorrent,rTorrent,libTorrent,ruTorrent) + Modules
  4. Multiple source code engines
  5. Linux Server Administration (security, cryptography/encryption, proxy, load balancer, custom ddos firewall)
Reply With Quote
  #39  
Old 3rd January 2021, 01:13
dkrabbit dkrabbit is offline
Member
 
Join Date: Dec 2020
Posts: 2
Default
hmm it still says "ERR_CONNECTION_TIMED_OUT" after change DB details in those files :/

this is in Config.php
Quote:
$TBDEV['mysql_host'] = "localhost";
$TBDEV['mysql_user'] = "username";
$TBDEV['mysql_pass'] = "password";
$TBDEV['mysql_db'] = "dbname";
$TBDEV['announce_urls'][] = "https://SERVER-IP/announce.php";
$TBDEV['site_email'] = "test@gmail.com";
$TBDEV['site_name'] = "Site-name";
$TBDEV['language'] = 'en';
and in annonce.php
Quote:
$TBDEV['mysql_host'] = "localhost";
$TBDEV['mysql_user'] = "dbusername";
$TBDEV['mysql_pass'] = "dbpassword";
$TBDEV['mysql_db'] = "dbname";

Last edited by dkrabbit; 3rd January 2021 at 01:24.
Reply With Quote
  #40  
Old 3rd January 2021, 08:23
DND DND is offline
VIP
 
Join Date: Dec 2008
Posts: 1,242
Default
well..i truly hope you are not actually using https://server_ip
since you need a domain and a ssl certificate to be using https
instead try with http
and also you might have some misconfiguration in your apache2/nginx webserver
__________________
Need HELP!? I can install:

  1. Server/VPS (Debian,CentOS,Ubuntu,Fedora, FreeBSD) Optimization and ... + Modules
  2. Webserver Windows/Linux (Apache/Lighttpd/Nginx/Mysql/PhpMyAdmin/SSL) Optimization and ... + Modules
  3. Seedbox Windows/Linux (uTorrent,rTorrent,libTorrent,ruTorrent) + Modules
  4. Multiple source code engines
  5. Linux Server Administration (security, cryptography/encryption, proxy, load balancer, custom ddos firewall)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 19:24. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.