Battlefield 3 Servers Hosting
GAMETRACKER FORUMS
Forum Home > GameTracker Bug Reports [RESOLVED] > Ventrilo html banner error?
strictlypimpinPM
#1
Ventrilo html banner error?
Jan 03, 2012 7:38 PM
Joined: Sep 2007
Posts: 6
I'm trying to put my Ventrilo server on our website but I keep getting an error. All 8 of our BF3 server show up just fine. Can someone help with this error or point me in the right direction as far as getting to someone who can? thanks

I think the GT code is screwed up somehow.This is what it says the error is....
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in C:\Domains\wwwroot\administration\panel_editor.php(122) : eval()'d code on line 4
This is the code from GT....
<iframe src="http://cache.www.gametracker.com/components/html0/?host=68.232.167.202:5074&bgColor=373E28&fontColor=D2E1B5&titleBgColor=2E3225&titleColor=FFFFFF&borderColor=3E4433&linkColor=889C63&borderLinkColor=828E6B&showMap=0¤tPlayersHeight=160&showCurrPlayers=1&showTopPlayers=0&showBlogs=0&width=240" frameborder="0" scrolling="no" width="240" height="348"></iframe>
deathhasabeardPM
#2
Jan 05, 2012 10:53 AM
GAMETRACKER ADMIN Joined: Oct 2007
Posts: 509
This doesn't appear to be an error in the GameTracker.com banner code, although you do have a strange "¤" character after showMap. That should be an ampersand.

My guess would be that you have unescaped quotes when including the banner code on your website, similar to:

http://www.php-fusion.co.uk/forum/viewthread.php?thread_id=28112

Note that quotes inside the "echo" statement are escaped with \"

If that doesn't help, please post a copy of the php code you are using.
There is an inverse relationship between the amount of useful information you provide, and the time it will take for your issue to be resolved.
strictlypimpinPM
#3
Jan 05, 2012 12:20 PM
Joined: Sep 2007
Posts: 6
Yeah that's what it was. Thanks for the help all I had to do was put the code in notepad and change all " to ' got it up and all is good thx