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
[SOLVED] SQL error on torrent upload
Controls ·  Search New posts · Mark unread

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

2020-03-01 21:36:37
perhaps if someone can write up some steps for us to use to get TT on https, that would be great. If I get around to trying it out, I'll post what I did, if I can manage to make it work of course :ROFLMAO:
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)
2020-04-27 14:12:20
Hi @ll
Hope you can see the mistake I take a look all over but doesn't find it or I`m blind .
I think there is a wrong order, but which entry is wrong?

Database Error in torrents-upload.php on line 204: Incorrect integer value: '' for column 'numfiles' at row 1. Query was: INSERT INTO torrents (filename, owner, name, descr, image1, image2, category, added, info_hash, size, numfiles, save_as, announce, external, nfo, torrentlang, anon, last_action, imdb) VALUES ('Straika_D-Personne-SINGLE-WEB-FR-2020-H5N1.torrent', '1', 'Straika D-Personne-SINGLE-WEB-FR-2020-H5N1', 'Test', '10.jpg', '', '217', '2020-04-27 13:43:01', 'f518966c112a27dce10f545de4b034c285a45277', '10147983', '', 'Straika_D-Personne-SINGLE-WEB-FR-2020-H5N1.torrent', 'https://test.info/announce.php', 'no', 'yes', '1','yes', '2020-04-27 13:43:01', ''). 


Here is the Line 204

$ret = SQL_Query_exec("INSERT INTO torrents (filename, owner, name, descr, image1, image2, category, added, info_hash, size, numfiles, save_as, announce, external, nfo, torrentlang, anon, last_action, imdb) VALUES (".sqlesc($fname).", '".$CURUSER['id']."', ".sqlesc($name).", ".sqlesc($descr).", '".$inames[0]."', '".$inames[1]."', '".$catid."', '" . get_date_time() . "', '".$infohash."', '".$torrentsize."', '".$filecount."', ".sqlesc($fname).", '".$announce."', '".$external."', '".$nfo."', '".$langid."','$anon', '".get_date_time()."', '".$imdb."')");


I´m using the TTv3modded from mjay

Thanks for Your answer
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