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
Database Error. Please report this to an administrator.
Controls ·  Search New posts · Mark unread

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

2022-06-25 16:06:40
Database Error. Please report this to an administrator.
How to fix?

Database Error. Please report this to an administrator..png
File missing

www.allinonetorrent.com
2022-06-25 16:24:45
This error msg show new member Signup.
Quote:
Admin CP SQL Error:
Database Error in account-signup.php on line 124: Incorrect datetime value: '0000-00-00 00:00:00' for column 'last_login' at row 1. Query was: INSERT INTO users (username, password, secret, email, status, added, last_access, age, country, gender, client, stylesheet, language, class, ip) VALUES ('farukmr','d626925c667f7615375c40601acebfc9967d7abe','2LUqUAuHPzxB1LzrfdfZ','faruk****@gmail.com','confirmed','2022-06-25 15:43:54','2022-06-25 15:43:54',36,86,'Male','Faruk',1,1,1,'198.74.122.139').


[img]https://prnt.sc/UUy41Gc7hXGo[/img]
admin-SQL Error.png
File missing

www.allinonetorrent.com
2022-06-25 19:55:44
What is happening, is get_date_time() is giving you nothing back. So MySQL notices no default value to rely on in this case, so it halts transaction with a error. You always want a field default value, it avoids all of this.

Replace each instance of get_date_time() with NOW().

Try that.
2022-06-27 20:09:38
https://torrenttrader.uk/topic?topicid=10348
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)
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: 8
  • Members: 0
  • Guests online: 8
  • Comments: 3
  • Messages: 1,728