12-21-2007, 06:34 AM
I am trying to get a script working on my server, which can be located here. For those familiar with World of Warcraft, if it basically a script that pulls data from WoWArmory.com. I had this script successfully working on my old server (Not hosted @ A2) and it worked, now when I try to grab the data from wowarmory.com I receive the following errors.
Code:
Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : Space required after the Public Identifier in /home/kastang/public_html/armory/_armory.php on line 97
Warning: simplexml_load_string() [function.simplexml-load-string]: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> in /home/kastang/public_html/armory/_armory.php on line 97
Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /home/kastang/public_html/armory/_armory.php on line 97
Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : SystemLiteral " or ' expected in /home/kastang/public_html/armory/_armory.php on line 97
Warning: simplexml_load_string() [function.simplexml-load-string]: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> in /home/kastang/public_html/armory/_armory.php on line 97
Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /home/kastang/public_html/armory/_armory.php on line 97
Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : SYSTEM or PUBLIC, the URI is missing in /home/kastang/public_html/armory/_armory.php on line 97
Warning: simplexml_load_string() [function.simplexml-load-string]: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> in /home/kastang/public_html/armory/_armory.php on line 97
Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /home/kastang/public_html/armory/_armory.php on line 97
Fatal error: Call to a member function xpath() on a non-object in /home/kastang/public_html/armory/create_sig.php on line 84
I attempted to look up this function on google, but honestly I found little to no useful information. Attached is the _armory.php file. I know enough PHP to get me around (I am self taught) and I cannot see anything wrong with it.
From what I have read though, It seems as some people are having other random issues with the script, I believe that the creator of this script based it around his particular hosting/server. Any help would be great, its really not imperative that I get this working but it would be nice to.
Thanks!