Amannim wrote:You only need Content-Length if you are doing a POST.
That was it. It's a very good start. I got signs of life now.
However, the titles of all guild members are now blank.
Amannim wrote:You only need Content-Length if you are doing a POST.
Kevin_R wrote:I've been looking for something similar to this, but not really tied to the WowRoster project.
I was looking for some php code to grab the xml pages, such as http://armory.wow-europe.com/#character ... er&n=Vdera
Then parse that into an array which can then be used on guild websites to display information about the characters, just much simpler than the Armory.
Is anyone willing to show me how this would be done?
Thanks in advance!
Stigg wrote:I got some signs of life as well.
Lots of 'Critical Incomplete Data' stuff too.. but its more data than I had before
Kevin_R wrote:Stigg wrote:I got some signs of life as well.
Lots of 'Critical Incomplete Data' stuff too.. but its more data than I had before
Same here, get a huge list of
CRITICAL ERROR: Incomplete Data for Character.
Vanterax wrote:Amannim wrote:You only need Content-Length if you are doing a POST.
That was it. It's a very good start. I got signs of life now.
However, the titles of all guild members are now blank.
Amannim wrote:OK! I have some fixes!!!
2 things...
People who get the:
1) "CRITICAL ERROR - socket not connected"
Make sure you only have armory.worldofwarcraft.com, DO NOT add http://.
2) CRITICAL ERROR - no root XML node found
You only need Content-Length if you are doing a POST. In functions.general.php change the following:
- Code: Select all
$headers =
"GET $request HTTP/1.0\r\n" .
"Host: $host\r\n".
(($sendAsBrowser) ? "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2\r\n" : "") .
"Connection: close\r\n".
"Content-Length: " . strlen($request) . "\r\n" .
"\r\n" .
$request;
to:
- Code: Select all
$headers =
"GET $request HTTP/1.1\r\n" .
"Host: $host\r\n".
(($sendAsBrowser) ? "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2\r\n" : "") .
//"Content-Length: " . strlen($request) . "\r\n" .
"Connection: close\r\n".
"\r\n";
and it should work. YAY!
Tazochai wrote:this is the error I get.. Looks like armory.worldofwarcraft.com/character-sheet.xml should be armory.worldofwarcraft.com/#character-sheet.xml
- Code: Select all
CRITICAL ERROR - no root XML node found: armory.worldofwarcraft.com/character-sheet.xml?r=Proudmoore&n=Abaca page
HTTP/1.0 411 Length Required Server: squid/2.5.STABLE12 Mime-Version: 1.0 Date: Wed, 21 Mar 2007 21:28:56 GMT Content-Type: text/html Content-Length: 1426 Expires: Wed, 21 Mar 2007 21:28:56 GMT X-Squid-Error: ERR_INVALID_REQ 0 X-Cache: MISS from wc01.inet.mesa1.secureserver.net Connection: close
ERROR
The requested URL could not be retrieved
While trying to process the request:
GET /character-sheet.xml?r=Proudmoore&n=Abaca HTTP/1.0
Host: armory.worldofwarcraft.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2
Connection: close
Content-Length: 41
The following error was encountered:
* Invalid Request
Some aspect of the HTTP Request is invalid. Possible problems:
* Missing or unknown request method
* Missing URL
* Missing HTTP Identifier (HTTP/1.0)
* Request is too large
* Content-Length missing for POST or PUT requests
* Illegal character in hostname; underscores are not allowed
Your cache administrator is webmaster.
Bajah wrote:I must be stupid. I see in the first post that it says "You must edit your index.php" but I don't see anything anywhere about what inside that php I should be editing and there's (as mentioned) no documention.
I can't even get it to activate. I put the "&Activate=true" as instructed, but it doesn't do anything. I've tried Firefox and IE both. In IE it gives me the new IE7 version of a 404 and in Firefox, it just gives a blank white screen.
And then still says I need to activate it.
Did I miss something really easy? Prove me stupid, please.
http://sok.bajah.com/roster
(I created a fresh new roster and started from there for testing, so it's just a guild with no player updates)
Kevin_R wrote:About the CRITICAL ERROR: Incomplete Data for Character.
This happens for every single character in the guild, including myself.
Samadhi wrote:I think there may be a problem with reputation parsing, but I'll be damned if I can figure out where...
The data is coming from the armory ok, but it's being lost in translation sometime before it gets written to the database.
Check the Rep tab on this toon to see the symptoms:
http://www.undeadfish.com/UFRoster/char ... %20Council
Kristoff22 wrote: However, it does take awhile to load - it could be up to 10 or 15 minutes.
Return to ArmorySync - Depreciated
Users browsing this forum: No registered users and 1 guest