Giter Club home page Giter Club logo

Comments (5)

DiddiZ avatar DiddiZ commented on July 19, 2024

Either disable online time logging fully by setting loggin.playerInfo in LB main config to false, or if you need it, check the online time column if there is a null:
SELECT onlinetime FROM lb-players WHERE playerid = 548;

from logblock.

Ageo avatar Ageo commented on July 19, 2024

logPlayerInfo: true This in false ?
My Online time column is null on lb-player,
This command don't work: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-players WHERE playerid = 548 LIMIT 0, 30' at line 1

Thx you Diddiz !

from logblock.

Ageo avatar Ageo commented on July 19, 2024

2011-12-07 22:23:08 [INFO] [LogBlock] Permissions plugin found.
2011-12-07 22:23:08 [INFO] [LogBlock] Found 1 imports.
2011-12-07 22:23:08 [INFO] [LogBlock] Trying to import queue-1323292982265-0.sql ...
2011-12-07 22:23:08 [WARNING] [LogBlock] Error while importing: 'UPDATE lb-players SET onlinetime = ADDTIME(onlinetime, TIMEDIFF(FROM_UNIXTIME(1323292982), lastlogin)) WHERE playerid = 4;': Column 'onlinetime' cannot be null
2011-12-07 22:23:08 [WARNING] [LogBlock] Error while importing: 'UPDATE lb-players SET onlinetime = ADDTIME(onlinetime, TIMEDIFF(FROM_UNIXTIME(1323292982), lastlogin)) WHERE playerid = 668;': Column 'onlinetime' cannot be null
2011-12-07 22:23:08 [WARNING] [LogBlock] Error while importing: 'UPDATE lb-players SET onlinetime = ADDTIME(onlinetime, TIMEDIFF(FROM_UNIXTIME(1323292982), lastlogin)) WHERE playerid = 781;': Column 'onlinetime' cannot be null
2011-12-07 22:23:08 [WARNING] [LogBlock] Error while importing: 'UPDATE lb-players SET onlinetime = ADDTIME(onlinetime, TIMEDIFF(FROM_UNIXTIME(1323292982), lastlogin)) WHERE playerid = 751;': Column 'onlinetime' cannot be null
2011-12-07 22:23:08 [WARNING] [LogBlock] Error while importing: 'UPDATE lb-players SET onlinetime = ADDTIME(onlinetime, TIMEDIFF(FROM_UNIXTIME(1323292982), lastlogin)) WHERE playerid = 646;': Column 'onlinetime' cannot be null
2011-12-07 22:23:08 [WARNING] [LogBlock] Error while importing: 'UPDATE lb-players SET onlinetime = ADDTIME(onlinetime, TIMEDIFF(FROM_UNIXTIME(1323292982), lastlogin)) WHERE playerid = 812;': Column 'onlinetime' cannot be null
2011-12-07 22:23:08 [WARNING] [LogBlock] Error while importing: 'UPDATE lb-players SET onlinetime = ADDTIME(onlinetime, TIMEDIFF(FROM_UNIXTIME(1323292982), lastlogin)) WHERE playerid = 427;': Column 'onlinetime' cannot be null
2011-12-07 22:23:08 [WARNING] [LogBlock] Error while importing: 'UPDATE lb-players SET onlinetime = ADDTIME(onlinetime, TIMEDIFF(FROM_UNIXTIME(1323292982), lastlogin)) WHERE playerid = 19;': Column 'onlinetime' cannot be null
2011-12-07 22:23:08 [INFO] [LogBlock] Scheduled consumer with bukkit scheduler.
2011-12-07 22:23:08 [WARNING] [LogBlock] Error while importing: 'UPDATE lb-players SET onlinetime = ADDTIME(onlinetime, TIMEDIFF(FROM_UNIXTIME(1323292982), lastlogin)) WHERE playerid = 26;': Column 'onlinetime' cannot be null
2011-12-07 22:23:08 [WARNING] [LogBlock] Error while importing: 'UPDATE lb-players SET onlinetime = ADDTIME(onlinetime, TIMEDIFF(FROM_UNIXTIME(1323292982), lastlogin)) WHERE playerid = 709;': Column 'onlinetime' cannot be null
2011-12-07 22:23:08 [WARNING] [LogBlock] Error while importing: 'UPDATE lb-players SET onlinetime = ADDTIME(onlinetime, TIMEDIFF(FROM_UNIXTIME(1323292982), lastlogin)) WHERE playerid = 24;': Column 'onlinetime' cannot be null
2011-12-07 22:23:08 [INFO] [LogBlock] Successfully imported queue-1323292982265-0.sql.
2011-12-07 22:23:08 [INFO] [LogBlock] Successfully imported stored queue. (0 rows imported, 11 errors)
2011-12-07 22:23:08 [INFO] LogBlock v1.41 by DiddiZ enabled.

from logblock.

DiddiZ avatar DiddiZ commented on July 19, 2024

SELECT onlinetime FROM lb-players WHERE playerid = 548;

Yes, set it to false.

Or, just one shot in the dark, try:
UPDATE lb-players SET onlinetime = '00:00:00' WHERE onlinetime = NULL;

from logblock.

Ageo avatar Ageo commented on July 19, 2024

It's ok, very thx for you'r help and rapidity !

from logblock.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.