se7enet purgatorio

Page 1 of 1 1
Topic Options
Rate This Topic
#12481 - 06/09/06 07:33 PM XML Page
qtgyjda80
Malt-o-Meal


Registered: 06/09/06
Posts: 16

Offline
some of my new users are getting a error
this error.
Can anyone tell me what to do?

me and all my other users have no problem with this error but when new users try to get to the main game page it brings this error.
______________________________________
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

Only one top level element is allowed in an XML document. Error processing resource 'http://www.tlow.neo-forums.com/dkmodde...

<b>Warning</b>: Division by zero in <b>/home/tlowneo/public_html/dkmodded/lib.php</b> on line <b...
_____________________________________


I seen this line in the lib.php
$xml = "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n"
. "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"DTD/xhtml1-transitional.dtd\">\n"
. "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">\n";

is there something wrong in that code maybe?

or maybe something wrong with his code:
$page = $xml . $page;

Im not a php wiz soo =P, thanks for your help


Edited by qtgyjda80 (06/09/06 07:40 PM)

Top
#12482 - 06/09/06 09:54 PM Re: XML Page [Re: Serwas]
killad
Rice Krispies
***

Registered: 09/04/05
Posts: 353
Loc: Cincinnati OH

Offline
tell your users to use firefox and they wont have a problem. IE doesn't parse xml as well as firefox does so that might be part of the problem. so try that, if it doesn't work then repost in here.
_________________________
Stupid signature in this Epic Thread

Top
#12483 - 06/10/06 03:47 PM Re: XML Page [Re: Archangel]
Jamin Administrator
Cookie Crisp
****

Registered: 02/25/05
Posts: 2649
Loc: Texas

Offline
You must have manually changed their userrow or something. It happens when someone has zero as their max HP, MP or TP. The status bars try to divide current into max, and can't because max is zero. This causes a PHP error, which in turn causes an XML error since the server sent an error message before the game tried to send its own XML header.

Fix whatever userrows you jacked with, and it'll be fine.

---Jamin
_________________________
Diablo 3 Lead Designer Jay Wilson:
“The development of a Blizzard game is sometimes a long affair. This is how long it took us to be ready.”

Top
Page 1 of 1 1


Hop to:

se7enet

Barack Obama Logo