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
signup error
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / Torrent Trader / v3 Support

2021-10-05 22:54:36
https://www.bvlist.com/showthread.php?t=12427


can you explain how to fix it???
DB error
2021-10-06 06:26:22
there are two ways

1) the EASY set the sql mode in phpmyadmin - i link image
if you export db it will say which sql modes are set at top of sql file

first you can check sql mode and make a note of the result
SHOW VARIABLES LIKE 'sql_mode';


then you can set with allowed invalid dates included
SET sql_mode='ALLOW_INVALID_DATES';




2) the BEST fix database error - everyone should do this sql mode should always be empty

first make 2 sql backups call one master and put somewhere save (just in case)
the other backup make these edits in editor

in backup.sql (make mass edits exactly as below)
search
datetime NOT NULL DEFAULT '0000-00-00 00:00:00'

replace with
datetime DEFAULT NULL


search
'0000-00-00 00:00:00'

replace with
NULL
Last edited by M-jay warn on 2021-10-06 09:37:15
2021-10-06 15:38:06
solved,,, thanks bro

can help me in blackjack
2021-10-07 22:49:08
Thanks for the sql edits. Im testing mine with strict mode back on. If all is well, I will edit for the 3.0 on github and the sql when I get some time. I have a list of things on a sheet of paper here that need updated for the 3.0 on github, and now I will add this. Just need some free time
TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
Last edited by MicroMonkey on 2021-10-07 22:57:10
2021-10-12 21:17:25
Thanks boys  :thumb

I had in passing a problem with this mode on the mysqli v3 and I will retest soon with this correction  :plain
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: 9
  • Members: 0
  • Guests online: 9
  • Comments: 3
  • Messages: 1,728