Full documentation and information about XLRstats can be found on our XLRstats website: www.xlrstats.com

You are here: Big Brother Bot ForumAdd-OnsXLRstatsctime activity
Pages: [1]   Go Down
  Print  
Author Topic: ctime activity  (Read 2166 times) Bookmark and Share
Sr. Member
****
Posts: 238
Offline Offline
« on: January 16, 2009, 10:16:10 AM »

Symptoms
I had a problem with the player activity and at first I did not understand why. I went to look and found out that even though the table was created by the correct sql accompanied with the plugin there was a problem with the Collation of the fields within the table!

You wont see anything on your stats page but if you do an
Code:
echo $query;
inside the inc_activitygraph.php and then execute that query directly on your b3 database you will see:
#1267 - Illegal mix of collations (latin1_general_ci,IMPLICIT) and (latin1_swedish_ci,IMPLICIT) for operation '='

Solution
Change the fields collation to latin1_general_ci
Logged


[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #1 on: January 16, 2009, 12:10:26 PM »

Is there anybody else with this problem? I don't recall it being an issue on other setups?
Logged

Sr. Member
****
Posts: 238
Offline Offline
« Reply #2 on: January 18, 2009, 10:51:51 AM »

I guess it depends on your default collation?
Logged

Sr. Member
****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD4, COD5, COD7, Homefront
Posts: 211
Offline Offline
« Reply #3 on: November 23, 2009, 06:14:22 AM »

Hate to necro bump, however I just noticed my xlrstats wasnt displaying ctime, and the fix he listed did correct the issue for me.
Logged
Tags: ctime Illegal mix of collations latin1_general_ci 
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal