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

You are here: Big Brother Bot ForumAdd-OnsXLRstatsSome errors
Pages: [1]   Go Down
  Print  
Author Topic: Some errors  (Read 316 times) Bookmark and Share
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD2, COD4, COD5, BF3
Posts: 32
Offline Offline
« on: January 14, 2012, 10:35:37 AM »

I have a couple of errors when my xlrstats loads:

Quote
Warning: include(dynamic/award_idents_2.php) [function.include]: failed to open stream: No such file or directory in C:\inetpub\vhosts\banbutton.com\httpdocs\xlrstats\COD4\index.php on line 201

Warning: include() [function.include]: Failed opening 'dynamic/award_idents_2.php' for inclusion (include_path='.;./includes;./pear') in C:\inetpub\vhosts\banbutton.com\httpdocs\xlrstats\COD4\index.php on line 201

Warning: Cannot modify header information - headers already sent by (output started at C:\inetpub\vhosts\banbutton.com\httpdocs\xlrstats\COD4\index.php:201) in C:\inetpub\vhosts\banbutton.com\httpdocs\xlrstats\COD4\func-globallogic.php on line 1480

Are there any fixes for these?
Logged

XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 947
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #1 on: January 15, 2012, 07:59:32 AM »

Is your dynamics folder writable by webserver? You can chmod this folder to 777.
Logged

Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD4, CoD5, MW2, Minecraft, Battlefield 2, Battlefield 3
Posts: 23
Offline Offline
RFC 432432 tells us there are too many RFC's
WWW
« Reply #2 on: January 15, 2012, 08:09:40 AM »

The last error is the counter that tries to set a cookie when the server has already outputted content to the one that requested the webpage.
It can be solved by turning on output-buffering either in Xlrstats or in php.ini.
Logged


CEO @ Pie-Studios
Sysadmin @ NRNS-Games.com
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD2, COD4, COD5, BF3
Posts: 32
Offline Offline
« Reply #3 on: January 15, 2012, 09:45:11 AM »

Ok solved the last error thanks to ArmedGuy's suggestion, thanks very much.

The first two errors.. well they are happening because the file its looking for doesn't exist.. Where is this file? or do i need to create it myself and if that then how?

Thanks, Duc.

OK all sorted. i fixed it by running /index.php?func=cron Smiley
« Last Edit: January 15, 2012, 09:51:51 AM by Sitting-Duc » Logged
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD4, CoD5, MW2, Minecraft, Battlefield 2, Battlefield 3
Posts: 23
Offline Offline
RFC 432432 tells us there are too many RFC's
WWW
« Reply #4 on: January 15, 2012, 10:02:01 AM »

Thats fixed by running /index.php?func=cron
EDIT: Ah you got it already. =)

Btw, a tip, disable directory listing on your server. =D

Place an .htaccess in the root , with the code:
Options -Indexes

If the line "Options Indexes" already exists in the .htaccess file, change "Options Indexes" to
"Options -Indexes".
Save, and it should be disabled. =)
« Last Edit: January 15, 2012, 10:08:34 AM by ArmedGuy » Logged


CEO @ Pie-Studios
Sysadmin @ NRNS-Games.com
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD2, COD4, COD5, BF3
Posts: 32
Offline Offline
« Reply #5 on: January 15, 2012, 10:23:18 AM »

yes ty very much Smiley

Now another thing I would like to change on the stats is to have it so EVERY player has their specific stats displayed not just registers players and above. I have set it so the min level is 0 in the config however it still doesn't display for unregistered users.

This is what I want for all players: http://banbutton.com/xlrstats/COD4/Index.php?func=player&playerid=55&config=2

Instead I have: http://banbutton.com/xlrstats/COD4/Index.php?func=player&playerid=120&config=2

Anything you know of that would help with this?

Duc.
Logged
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD4, CoD5, MW2, Minecraft, Battlefield 2, Battlefield 3
Posts: 23
Offline Offline
RFC 432432 tells us there are too many RFC's
WWW
« Reply #6 on: January 15, 2012, 10:37:58 AM »

I think Xlrstats also makes it so an player wont have their stats recorded/showed unless he has an amount of hours/score on the server.

I think its another config value in the same area the determines that.
EDIT: Around Lines 72-42 in statsconfig{number}.php for Xlrstats
Code: php
// minimum amount of kills or rounds (which ever comes first) before a player is included in the mainpage player statistics and awards...
$minkills = 10; //10 //250;
$minrounds = 2; //14 //15;
« Last Edit: January 15, 2012, 10:45:17 AM by ArmedGuy » Logged


CEO @ Pie-Studios
Sysadmin @ NRNS-Games.com
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD2, COD4, COD5, BF3
Posts: 32
Offline Offline
« Reply #7 on: January 15, 2012, 10:55:08 AM »

yes i have changed those settings already to attempt to make this work, I think its using the B3 database and the levels. So anyone who is a unregistered user cannot view detailed stats whilst anyone who has used the command !register  or is an admin can..

not sure tbh.

Duc.
Logged
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD4, CoD5, MW2, Minecraft, Battlefield 2, Battlefield 3
Posts: 23
Offline Offline
RFC 432432 tells us there are too many RFC's
WWW
« Reply #8 on: January 15, 2012, 11:33:53 AM »

Changed
Code: php
$limitplayerstats = 1;
To 0?
Also in statsconfig on Xlrstats.
Logged


CEO @ Pie-Studios
Sysadmin @ NRNS-Games.com
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD2, COD4, COD5, BF3
Posts: 32
Offline Offline
« Reply #9 on: January 15, 2012, 03:17:30 PM »

aha that's exactly what I wanted thank-you!

You've really helped me progress with this project ty so much Smiley

Duc.
Logged
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD2, COD4, COD5, BF3
Posts: 32
Offline Offline
« Reply #10 on: January 15, 2012, 03:24:15 PM »

ok new error; our clan tags are >XI< and I think the website is having an issue with that.

Test Stats Website: http://banbutton.com/xlrstats/COD4/?config=2

If you type (as an example) 'ph4n' into the search box it autofinds ph4nt0m>XI<.. when you select that it adds it into the search box as Ph4nt0m&gt;XI&lt; so when you click search you get the 'Your search yielded no results.' message.

Any ideas chaps?

Duc.
Logged
Dev. Team
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD2,COD4,COD5
Posts: 1098
Offline Offline
« Reply #11 on: January 15, 2012, 03:49:44 PM »

Don't select the name that pops up before pressing search
Logged
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD2, COD4, COD5, BF3
Posts: 32
Offline Offline
« Reply #12 on: January 15, 2012, 04:05:49 PM »

Don't select the name that pops up before pressing search

lol yes that works but I was actually looking for a code fix Tongue

XI stands for Xtreme Idiots.. we will have problems remembering to do that lol xD

On another note if you type in ph4nt0m>XI< manually it works.. so if there's a way to disable the removing of the special chars then tht would be great Smiley

Duc.
Logged
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal