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

You are here: Big Brother Bot ForumAdd-OnsXLRstatsXLR Stats Web Installation PHP Error
Pages: [1]   Go Down
  Print  
Author Topic: XLR Stats Web Installation PHP Error  (Read 4507 times) Bookmark and Share
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: Cod2
Posts: 16
Offline Offline
« on: March 16, 2010, 03:17:46 PM »

Hello,
I have run into installing the webfront of XLRSTATS.... here is my php error.....
Code:
Notice: Undefined offset: 1 in /home/a7697388/public_html/xlrstats/func-globallogic.php on line 596
The line of code that it is referring to is
Code:
$link = ' <a href="gsc://joinGame:game='.$tgame.'&ip='.$temp[1].'&port='.$temp[1].'"><img src="images/ico/icon_gsc.jpg" title="'.$text["conwgsc"].'" alt="gsc" width="16" height="16" border="0" align="absmiddle" id="gsc" /></a>';


 I'm also can't get my status.xml file to upload to the FTP server.... my stats plugin xml code is ....
Code:
<?xml version="1.0" encoding="utf-8"?>
<configuration plugin="status">
  <settings name="settings">
    <set name="interval">60</set>
    <set name="output_file">ftp://usernameremoved:passwordremoved@siteremoved.com/public_html/status/status.xml</set>
  </settings>
</configuration>




Thanks So Much,
-Colin
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: March 16, 2010, 11:46:22 PM »

Actually it's not an error, it's a notice. Please open statsconfig.php and set debug var to "0".
Code:
$debug = "0";

This will prevent displaying it.

About your second problem. Check your b3.log to see the error message where b3 is trying to write the status.xml to your ftp server. That should give you the hint.
Logged

Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: Cod2
Posts: 16
Offline Offline
« Reply #2 on: March 17, 2010, 02:22:36 PM »

Hello,
Thanks so much for your response.... my problem with the stats not getting posted to the ftp server was that I didn't put www. in front of the host.... just wanted to let you know in case others run into this problem.
Thanks,
-Colin (Admin of Modern Ops)
Logged
Full Member
***
OS: Windows
Type: Home user
Gameservers: CoD7, BF3
Posts: 64
Offline Offline
www.ooc-clan.com
WWW
« Reply #3 on: March 14, 2011, 11:37:40 AM »

Instead of ur URL ''...@siteremoved.com/public_html/status/status.xml''
Take IP, and replace 'public_html' with 'www' =>


ftp://*****:******@188.**.***.9/www/status.xml

Same as Colin 'just wanted to let you know in case others run into this problem.' Smiley

Logged


Tags: XLR Stats PHP 
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal