BuzzerBeater Forums

BB Global (English) > BuzzerBeaterStats

BuzzerBeaterStats

Set priority
Show messages by
From: LA-Niko

To: Soel
This Post:
00
49968.308 in reply to 49968.307
Date: 4/12/2009 6:28:29 PM
Overall Posts Rated:
2121
No prob

I just hope this doesn't take the site down...

It is very demanding code.

Maybe if everyone clicks on the google ads I will upgrade the server ;)

Creator of (http://www.buzzerbeaterstats.com) and (http://www.buzzerbeaternews.com/) -- Ex GM of Australia -- Division 1 winner of Italy Season 1 then moved team to Australia after the country was created by the BBs. Australian team manager for 2 seasons. Won various tournaments and division 1 titles in the following seasons.
Message deleted
Message deleted
This Post:
00
49968.311 in reply to 49968.308
Date: 4/22/2009 10:23:50 PM
Overall Posts Rated:
4242
Having problems logging in to bb-stats. Here's the error(s) I get:

Warning: XMLReader::read() [xmlreader.read]: /home/nikorob/public_html/bbstats/:7: parser error : Entity 'AMP' not defined in /home/nikorob/public_html/bbstats/bblogin.php5 on line 81

Warning: XMLReader::read() [xmlreader.read]: <shortName>W&AMP;C</shortName> in /home/nikorob/public_html/bbstats/bblogin.php5 on line 81

Warning: XMLReader::read() [xmlreader.read]: ^ in /home/nikorob/public_html/bbstats/bblogin.php5 on line 81

Warning: XMLReader::read() [xmlreader.read]: An Error Occured while reading in /home/nikorob/public_html/bbstats/bblogin.php5 on line 81

Any idea?





This Post:
00
49968.312 in reply to 49968.311
Date: 4/23/2009 8:18:06 AM
Overall Posts Rated:
2121
The XMLReader function is unable to parse your team name because of the & symbol

I don't think this is really something I can fix. I have tried but I don't seem to be able to fix this problem.

My option advice is, if you really want to use BB-Stats then wait for me to fix it or change your team name.

I am not sure how your team's shortName got to be W&C because if you try and set that in Your Profile it says it should only be numbers and letters...


Creator of (http://www.buzzerbeaterstats.com) and (http://www.buzzerbeaternews.com/) -- Ex GM of Australia -- Division 1 winner of Italy Season 1 then moved team to Australia after the country was created by the BBs. Australian team manager for 2 seasons. Won various tournaments and division 1 titles in the following seasons.
From: Avirto

This Post:
00
49968.313 in reply to 49968.312
Date: 4/23/2009 8:28:33 AM
Overall Posts Rated:
11
The problem with "&" is in sending the request to BB about the players?

From: LA-Niko

This Post:
00
49968.314 in reply to 49968.313
Date: 4/23/2009 8:32:42 AM
Overall Posts Rated:
2121
The problem is that the information (XML) that I am getting from BuzzerBeater is not compatible with my reader, when there are strange characters like &amp; and &nbsp;

The login just won't work... I don't really have time or money to fix this problem at the moment.

Creator of (http://www.buzzerbeaterstats.com) and (http://www.buzzerbeaternews.com/) -- Ex GM of Australia -- Division 1 winner of Italy Season 1 then moved team to Australia after the country was created by the BBs. Australian team manager for 2 seasons. Won various tournaments and division 1 titles in the following seasons.
From: Avirto

This Post:
00
49968.315 in reply to 49968.314
Date: 4/23/2009 8:36:42 AM
Overall Posts Rated:
11
OK, I just asked the question for my information.
Cheers

This Post:
00
49968.316 in reply to 49968.314
Date: 4/23/2009 5:48:42 PM
Overall Posts Rated:
3737
The problem is that the information (XML) that I am getting from BuzzerBeater is not compatible with my reader, when there are strange characters like &amp; and &nbsp;

The login just won't work... I don't really have time or money to fix this problem at the moment.


Just for the record, there are some problems out there with the info that comes from the BBAPI, but this isn't one of them. The XML is valid. (I know you didn't suggest otherwise.)

$ perl -MKGC::BB -e 'my $bb = KGC::BB->new; $bb->debug(1);
my $p = $bb->teaminfo( {params => { teamid => 23212 }});'
Sending [http://www.buzzerbeater.com/BBAPI/teaminfo.aspx?teamid=23212]
<?xml version='1.0' encoding='utf-8'?>
<bbapi version='1'>
<team id='23212' retrieved='2009-04-23T21:44:08Z'>
<teamName>W&amp;C Bball Club</teamName>
<shortName>W&amp;C</shortName>

<owner >squeakrico7</owner>

<league id='14' level='3'>III.9</league>
<country id='1'>USA</country>
</team>
</bbapi>


Last edited by Mod-oeuftete at 4/23/2009 5:54:39 PM

This Post:
00
49968.317 in reply to 49968.316
Date: 4/24/2009 2:43:45 PM
Overall Posts Rated:
4242
No worries on fixing it. I would love to use bb-stats at some point but I'm pretty busy at the moment anyway. If you do managed to get it fixed, let me know.

Appreciate it. Completely understand the time/money constrictions.

Message deleted
Advertisement