Error loading stylesheet

19 views
Skip to first unread message

Moises

unread,
Feb 8, 2010, 2:35:00 PM2/8/10
to xmlarsenal-discuss
Hi all, i create a folder in my host called "armory" and i put all
files of XML Arsenal inside this folder.
I get one error when i try load this page, look bellow:

http://www.alleria.com.br/armory/

How solve this?
Sorry the english

Amras Taralom

unread,
Feb 8, 2010, 4:35:01 PM2/8/10
to xmlarsena...@googlegroups.com
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....@limao.com.br>
Sent: Monday, February 08, 2010 8:35 PM
To: "xmlarsenal-discuss" <xmlarsena...@googlegroups.com>
Subject: Error loading stylesheet

Moises de Oliveira

unread,
Feb 8, 2010, 4:47:53 PM2/8/10
to xmlarsena...@googlegroups.com
I will try :)

2010/2/8 Amras Taralom <amras-...@streber24.de>

Moises de Oliveira

unread,
Feb 8, 2010, 5:04:24 PM2/8/10
to xmlarsena...@googlegroups.com
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.

thanks for help.

2010/2/8 Amras Taralom <amras-...@streber24.de>

Amras Taralom

unread,
Feb 9, 2010, 4:07:26 AM2/9/10
to xmlarsena...@googlegroups.com
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-&gt;__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-&gt;loadDataGrabber()
#4 /home/alleria/public_html/armory/classes/Search.class.php(114): Search-&gt;firstLoad('Test')
#5 /home/alleria/public_html/armory/classes/Search.class.php(78): Search-&gt;fetchCachedData('Test')
#6 /home/alleria/public_html/armory/search.php(28): Search-&gt;__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.
 

Moises de Oliveira

unread,
Feb 9, 2010, 8:45:05 AM2/9/10
to xmlarsena...@googlegroups.com
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.


How configure to 1 realm only and rename this realm?
Thanks!

2010/2/9 Amras Taralom <amras-...@streber24.de>

Moises de Oliveira

unread,
Feb 16, 2010, 9:03:31 AM2/16/10
to xmlarsena...@googlegroups.com
Some help?

2010/2/9 Moises de Oliveira <moises....@limao.com.br>

amras-taralom

unread,
Feb 16, 2010, 10:21:42 AM2/16/10
to xmlarsenal-discuss
sorry i overread the question at the end, thought everything is
working for you now.
to remove a realm just look into the config and remove the additional
realm in the $realms-array

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-&gt;__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-&gt;loadDataGrabber()
> >> #4 /home/alleria/public_html/armory/classes/Search.class.php(114): Search-&gt;firstLoad('Test')
> >> #5 /home/alleria/public_html/armory/classes/Search.class.php(78): Search-&gt;fetchCachedData('Test')
> >> #6 /home/alleria/public_html/armory/search.php(28): Search-&gt;__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>

Moises de Oliveira

unread,
Feb 16, 2010, 1:49:35 PM2/16/10
to xmlarsena...@googlegroups.com

Amras Taralom

unread,
Feb 17, 2010, 3:06:24 AM2/17/10
to xmlarsena...@googlegroups.com
I see you have "unlocked" item search. this was disabled inentionally, since there are so many item databases (wowhead, buffed, allakhazam, speedydragon etc. pp) i disabled item search in the arsenal. if you think this feature is mandatory for XMLArsenal please open an issue on the project site Smiley Emoticon
 
Greetings, Amras.
 
 

Sent: Tuesday, February 16, 2010 7:49 PM
Subject: Re: Error loading stylesheet

Emoticon1.gif
Reply all
Reply to author
Forward
0 new messages