|
#31
|
|||
|
|||
The link
|
#32
|
|||
|
|||
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 Code:
$dst_in_use = localtime(time() + ($time_offset * 3600), true); |
#33
|
|||
|
|||
Code:
$dst_in_use = localtime(time() + ((int)$time_offset * 3600) , true);
__________________
Need HELP!? I can install:
Last edited by DND; 1st January 2021 at 00:44. |
#34
|
|||
|
|||
Quote:
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), |
#35
|
|||
|
|||
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:
|
#36
|
|||
|
|||
Quote:
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. |
#37
|
|||
|
|||
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 ..... "
|
#38
|
|||
|
|||
there are 2 places where you need to input your database details
config.php and announce.php
__________________
Need HELP!? I can install:
|
#39
|
|||
|
|||
hmm it still says "ERR_CONNECTION_TIMED_OUT" after change DB details in those files :/
this is in Config.php Quote:
Quote:
Last edited by dkrabbit; 3rd January 2021 at 01:24. |
#40
|
|||
|
|||
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:
|
Thread Tools | |
|
|