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

You are here: Big Brother Bot ForumAdd-OnsXLRstatsXLR Webfront Error T_ENCAPSED_AND_WHITESPACE
Pages: [1]   Go Down
  Print  
Author Topic: XLR Webfront Error T_ENCAPSED_AND_WHITESPACE  (Read 227 times) Bookmark and Share
Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD6
Posts: 13
Offline Offline
« on: January 29, 2012, 11:02:16 AM »

Greetings,

i've tried to install latest XLRStats Webfront pulled from github.
When i installed and tried to access page i got this error:

Code:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\xampp\htdocs\oloxlr\config\statsconfig1.php on line 130

This is what is on line 130:

Code:
$t['b3_clients'] = "clients";

Using Windows 2008 R2 with latest PHP.

I guess ' is wrong. But i don't know what to replace it with...

Update!!!!!!
I tried to edit lines like this:

Code:
$t[b3_clients] = clients;

and now i have another issue:

Code:
Parse error: syntax error, unexpected $end in C:\xampp\htdocs\oloxlr\config\statsconfig1.php on line 159

This is on line 159:

Code:
?>

Here is whole config:
http://pastebin.com/qRREKWjS
« Last Edit: January 29, 2012, 11:13:16 AM by hOlyYy » 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 #1 on: January 29, 2012, 10:55:27 PM »

Revert to how it was before with the quotation marks that wraps in the table names.

My quick guess would be
Code: php
$geoip_path = "E:\TCAfiles\Users\ragealaz\49\extplugins\GeoIP\";
causing issues.

Try with Double Backslashes on the paths:
Code: php
$geoip_path = "E:\\TCAfiles\\Users\\ragealaz\\49\\extplugins\\GeoIP\\";

That goes for all file/folder paths in the code.
« Last Edit: January 29, 2012, 11:01:58 PM by ArmedGuy » Logged


CEO @ Pie-Studios
Sysadmin @ NRNS-Games.com
Tags: T_ENCAPSED_AND_WHITESPACE  on line 130  statsconfig1.php 
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal