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
SQL Error
Controls ·  Search New posts · Mark unread

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

2021-09-06 07:20:39
Hello Bro

I am new on this script after setup we try to demo post after add content click submit show Database Error. Please report this to an administrator.  then I am see  SQL Error get this error

I an not use our tracker we want start free torrent website like https://prostylex.org  or https://torrentgalaxy.to
so I am download this post torrent file https://prostylex.org/torrents-details.php?id=649148 and post our site
--------------------------------------------------------------------------------------
Database Error in torrents-upload.php on line 200: Incorrect integer value: '' for column `ott_peektv`.`torrents`.`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) VALUES ('Black.Widow.2021.720p.BluRay.x264-NeZu.torrent', '1', 'Black.Widow.2021.720p.BluRay.x264-NeZu', 'Black Widow (2021)\r\n\r\nRelease ........: Black.Widow.2021.720p.BluRay.x264-NeZu\r\nRelease Number .: 0993\r\nRelease Date ...: 05.08.2021\r\n\r\nScreenshots\r\n\r\n', '', '', '42', '2021-09-05 18:37:56', '605e8601b29768834ae29aaa9a897ae4cd661496', '1510111596', '', 'Black.Widow.2021.720p.BluRay.x264-NeZu.torrent', 'udp://9.rarbg.com:2890/announce', 'yes', 'no', '1','no', '2021-09-05 18:37:56').
--------------------------------------------------------------------------------------
under error show this line  Database Error in torrents-upload.php on line 200: Incorrect integer value:
this is my  torrents-upload.php on line 200   screenshots  https://prnt.sc/1rbm4a7   but I am not understand what is problem can you help me to fix this error thanks.
2021-09-06 13:25:57
start by disabling strict mode in your sql server
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)
2021-09-06 14:27:37
how to disable strict mode in my sql server I am use cPanel hosting
2021-09-06 15:32:44
im not sure, you may have to ask your host
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)
2021-09-07 21:43:22
DigiBolly:
how to disable strict mode in my sql server I am use cPanel hosting


Open up /etc/my.cnf with your favorite text editor
Look for sql_mode, if there is no sql_mode, add it at the end of the file
sql_mode = "NO_ENGINE_SUBSTITUTION"
Restart MySQL service

That is
Last edited by coco on 2021-09-07 21:44:20
2021-09-08 17:24:41
I am create torrent with our tracker then upload done but if we add 14-15 tracker and create torrent upload then show error we want make our web free tracker like many others web example https://prostylex.org  or https://torrentgalaxy.to  please help me
2021-09-08 18:00:07
coco:
 
DigiBolly:
how to disable strict mode in my sql server I am use cPanel hosting
Open up /etc/my.cnf with your favorite text editor Look for sql_mode, if there is no sql_mode, add it at the end of the filesql_mode = "NO_ENGINE_SUBSTITUTION" Restart MySQL serviceThat is


Thanks coco bro
But Currently we use shared cPanel hosting for setup and testing this is our testing website https://peektv.tk/  I am new for this script before we use only WordPress  
2021-09-08 22:15:33
Maybe this can help you. Wish I could help more, But I havent used cpanel in 15 years https://support.cpanel.net/hc/en-us/articles/360060133213-How-to-disable-MySQL-Strict-Mode-
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)
2021-09-10 15:50:10
for shared you should ask host but you should be able to check in phpmyadmin in the cpanel

like this https://imgur.com/VgN16rz

to show whats enabled
SHOW VARIABLES LIKE 'sql_mode';


to set (dont use this yet lets see whats there first)
set global sql_mode='';

2021-10-03 17:07:46
Just added this to my version to help identify sql mode issues tried converting for v3

First in check.php find
$r = mysqli_query($link, "SHOW TABLES");


Above add
$stmt = mysqli_query($link, "SHOW VARIABLES LIKE 'sql_mode'")->fetch_row();
   if (!$stmt) {
       echo "<font color='#ff0000'><b>Error Getting SQL Mode:</b></font><br><br>";
   } else {
echo "<font color='#00cc00'><b>SQL Mode:</b></font><br>";
       echo var_dump($stmt[1])."<br><br>";
}


Then on sql file set the sql mode at the very top
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";


I'm sure v3 needs zero dates as well if anyone uses the check code please post what sql modes are enabled
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