http://www.alleria.com.br/armory/
How solve this?
Sorry the english
--------------------------------------------------
From: "Moises" <moises....@limao.com.br>
Sent: Monday, February 08, 2010 8:35 PM
To: "xmlarsenal-discuss" <xmlarsena...@googlegroups.com>
Subject: Error loading stylesheet
<b>Fatal error</b>: Uncaught exception 'ErrorException' with message 'mysql_query(): supplied argument is not a valid MySQL-Link resource' in /home/alleria/public_html/armory/classes/dataGrabbers/Trinity_PVPDataGrabber.class.php:350 Stack trace: #0 /home/alleria/public_html/armory/classes/dataGrabbers/Trinity_PVPDataGrabber.class.php(350): __lambda_func('SET NAMES 'utf8...', NULL) #1 /home/alleria/public_html/armory/classes/Realm.class.php(36) : eval()'d code(1): Trinity_PVPDataGrabber->__construct() #2 /home/alleria/public_html/armory/classes/Realm.class.php(36): eval() #3 /home/alleria/public_html/armory/classes/Search.class.php(149): Realm->loadDataGrabber() #4 /home/alleria/public_html/armory/classes/Search.class.php(114): Search->firstLoad('Test') #5 /home/alleria/public_html/armory/classes/Search.class.php(78): Search->fetchCachedData('Test') #6 /home/alleria/public_html/armory/search.php(28): Search->__construct('Test') #7 {main} thrown in <b>/home/alleria/public_html/armory/classes/dataGrabbers/Trinity_PVPDataGrabber.class.php</b> on line <b>350</b><br />you have to provide a valid mysql link. uncomment lines 344/345 and input your realm dbase (characters) data.
Greetings, Amras.
i.e. for only one realm it could look like that:
$realms = array(
//insert the following line for every realm you want to appear in
the arsenal:
//number => new Realm($realmId = null, $realmType = null,
$realmName = null)
//Type MUST match the name of a [Type]DataGrabber.class.php for the
Arsenal to work (you can write your own!)
1=>new Realm(1, 'Trinity_PVP', 'myRealmName')
);
On 16 Feb., 15:03, Moises de Oliveira <moises.olive...@limao.com.br>
wrote:
> Some help?
>
> 2010/2/9 Moises de Oliveira <moises.olive...@limao.com.br>
>
> > Ok, now works :D
> > Thanks Amras for the help.
>
> > I have changed my realm in the config.inc.php to: *1=>new Realm(1,
> > 'Alleria', 'Alleria')*, deleted the ID 2 on this array,* *and i rename the
> > datagraber to *AlleriaDataGrabber.class.php*
> > But when i search for some player, the realm name is PVP-Realm and
> > PVE-Realm.
>
> >http://armory.alleria.com.br/search.xml?searchQuery=jertok&searchType...
>
> > How configure to 1 realm only and rename this realm?
> > Thanks!
>
> > 2010/2/9 Amras Taralom <amras-tara...@streber24.de>
>
> > your data grabber is not correctly configured
>
> >> <b>Fatal error</b>: Uncaught exception 'ErrorException' with message 'mysql_query(): supplied argument is not a valid MySQL-Link resource' in /home/alleria/public_html/armory/classes/dataGrabbers/Trinity_PVPDataGrabber.class.php:350
> >> Stack trace:
> >> #0 /home/alleria/public_html/armory/classes/dataGrabbers/Trinity_PVPDataGrabber.class.php(350): __lambda_func('SET NAMES 'utf8...', NULL)
> >> #1 /home/alleria/public_html/armory/classes/Realm.class.php(36) : eval()'d code(1): Trinity_PVPDataGrabber->__construct()
> >> #2 /home/alleria/public_html/armory/classes/Realm.class.php(36): eval()
> >> #3 /home/alleria/public_html/armory/classes/Search.class.php(149): Realm->loadDataGrabber()
> >> #4 /home/alleria/public_html/armory/classes/Search.class.php(114): Search->firstLoad('Test')
> >> #5 /home/alleria/public_html/armory/classes/Search.class.php(78): Search->fetchCachedData('Test')
> >> #6 /home/alleria/public_html/armory/search.php(28): Search->__construct('Test')
> >> #7 {main}
> >> thrown in <b>/home/alleria/public_html/armory/classes/dataGrabbers/Trinity_PVPDataGrabber.class.php</b> on line <b>350</b><br />
>
> >> you have to provide a valid mysql link. uncomment lines 344/345 and input
> >> your realm dbase (characters) data.
>
> >> Greetings, Amras.
>
> >> *From:* Moises de Oliveira <moises.olive...@limao.com.br>
> >> *Sent:* Monday, February 08, 2010 11:04 PM
> >> *To:* xmlarsena...@googlegroups.com
> >> *Subject:* Re: Error loading stylesheet
>
> >> Ok, works...
> >> But when i searh for some character, i get this error:
>
> >> This page contains the following errors:
> >> error on line 2 at column 1: Extra content at the end of the document
> >> Below is a rendering of the page up to the first error.
> >> Here:http://armory.alleria.com.br/
> >> thanks for help.
>
> >> 2010/2/8 Amras Taralom <amras-tara...@streber24.de>
>
> >>> hi,
> >>> you must NOT put XMLArsenal into a subdir like /armory.
> >>> instead you have to create a subdomain + virtual host for it like "
> >>> arsenal.alleria.com.br"
>
> >>> ------------------------------ --------------------
> >>> From: "Moises" <moises.olive...@limao.com.br>