Bravo List

Bravo List (https://www.bvlist.com/index.php)
-   Community Cafe (https://www.bvlist.com/forumdisplay.php?f=18)
-   -   Problems With mysql on XBtit (https://www.bvlist.com/showthread.php?t=2558)

kyuky 4th May 2009 12:26

Problems With mysql on XBtit
 
I get an error from mysql!! And I don't know how to resolve it! someone help me pls!! :wallbash: :sos:

The error is:

Code:

MySQL query error!       

Error: Unknown column 'mtime' in 'field list'
Query: INSERT INTO xbt_files (info_hash, mtime, ctime) SELECT UNHEX(info_hash), unix_timestamp(), unix_timestamp() FROM xbt_files WHERE UNHEX(info_hash) NOT IN (SELECT info_hash FROM xbt_files) AND external='no'


KiD 4th May 2009 12:29

Quote:

Originally Posted by kyuky (Post 11306)
I get an error from mysql!! And I don't know how to resolve it! someone help me pls!! :wallbash: :sos:

The error is:

Code:

MySQL query error!       
 
 Error: Unknown column 'mtime' in 'field list'
Query: INSERT INTO xbt_files (info_hash, mtime, ctime) SELECT UNHEX(info_hash), unix_timestamp(), unix_timestamp() FROM xbt_files WHERE UNHEX(info_hash) NOT IN (SELECT info_hash FROM xbt_files) AND external='no'



Think you miss the "mtime column" in your datebase.... try remoce that par from query and se what happens..! Or try to find it in your sql..

kyuky 4th May 2009 13:24

re
 
But this settings are made by the site when I check "Use xbtt as backend?"
I let the default settings to tracker options.

And I don't understand another part, configuring XBT, more exactly at this part:
insert into xbt_files (info_hash, mtime, ctime) values ('', unix_timestamp(), unix_timestamp()); // insert
update xbt_files set flags = 1 where info_hash = ''; // delete

I've been trying to insert this line to mysql on xbt database, but mysql says some erros!

Have some ideas?


All times are GMT +2. The time now is 21:18.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2026, vBulletin Solutions Inc.