Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > BT.Manager (phpMyBitTorrent)
Reply
  #1  
Old 9th November 2008, 23:36
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default [bug in announce]Unknown column 'completed' in 'field list'
Open announce.php go to line 518 and find
Code:
		   if (!$check AND $seeder == "yes")mysql_query("INSERT INTO ".$db_prefix."_snatched (torrent, torrentid, userid, ip, port, startdat, last_action, agent, torrent_name, torrent_category, finished, completed) VALUES ($torrentid, $torrentid, $uid, '".$ip."', $port, NOW(), NOW(), '" . $agent . "' , '" . addslashes($torrentname) . "', $torrentcategory, 'yes', NOW())")or err(mysql_error());
and replace with
Code:
		   if (!$check AND $seeder == "yes")mysql_query("INSERT INTO ".$db_prefix."_snatched (torrent, torrentid, userid, ip, port, startdat, last_action, agent, torrent_name, torrent_category, finished, completedat) VALUES ($torrentid, $torrentid, $uid, '".$ip."', $port, NOW(), NOW(), '" . $agent . "' , '" . addslashes($torrentname) . "', $torrentcategory, 'yes', NOW())")or err(mysql_error());
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
Reply

Tags
announceunknown , bug , column , completed , field , list

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL Error - Unknown column - MyBB - YSE PRE7 2.2 iceburn Yuna Scatari Edition (YSE) 4 3rd December 2009 02:05
Remove a column in TorrentTable lovebeer Template Shares 2 26th November 2009 20:01
Sort torrent by column mod irfan TBDev 2 2nd November 2009 17:30
Unknown column 'torrents.afterpre' in 'field list' carloscorp Torrent Strike 1 4th June 2009 22:10
Unknown iptable module Fynnon Community Cafe 2 4th November 2008 21:00



All times are GMT +2. The time now is 03:45. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.