Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Membermaps Javascript & XML Error?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

et10yl
Starting Member

17 Posts

Posted - 08 June 2006 :  19:00:01  Show Profile
Hi all, I get the following JS error when I run MemberMap.asp:
quote:

Line: 175
Char: 4
Error: 'documentElement' is null or not an object
Code: 0



The map and the page loads fine, but none of the pins load, and I presume that and the above-referenced error are because I don't have a usuable MemberMapsData file?

This is the error I get when I try to run MemberMapData.asp
quote:
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.


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

A string literal was expected, but no opening quote character was found. Error processing resource 'http://www.asp...

<font face="Arial" size=2>
-------------------------^



Thanks for any light you can shed on this.

muzishun
Senior Member

United States
1079 Posts

Posted - 08 June 2006 :  19:45:24  Show Profile  Visit muzishun's Homepage
Do you have a link to the files in question? It looks like there's an error when generating the XML file, so the map won't display anything (the XML file is effectively empty).

Try temporarily changing the content type of the xml.asp file to html and see what you are able to generate. The error is likely in the ASP part of it, and the XML parser will stop at the smallest error (usually ones caused by another error page).

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)

Edited by - muzishun on 08 June 2006 19:45:55
Go to Top of Page

CarKnee
Junior Member

USA
297 Posts

Posted - 09 June 2006 :  15:12:11  Show Profile  Visit CarKnee's Homepage
You are getting a "500 error" on the MemberMapData.asp page...
all ASP Errors start off like
<font face="Arial" size=2>
<p>Active Server Pages</font> <font face="Arial" size=2>error 'ASP...


Comments out the following line in MemberMapData.asp:
Response.ContentType = "text/xml"


Now run the page directly to see what error you are getting.

Go to Top of Page

et10yl
Starting Member

17 Posts

Posted - 09 June 2006 :  16:12:23  Show Profile
ahhh thanks for that tip CarKnee. I'm not familiar with XML, so that was very helpful. It turned out to be a JOIN function that was not supported. I am using MS Access. I applied the SQL changes that was referenced in the original thread for MemberMap w/Code and it looks like I am no longer getting the JOIN error.

However, membermapdata.asp shows up as an empty page. Even though when I look at the source of it, I see the output for it. Weird? Any ideas on what's going on?

Thanks!
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 10 June 2006 :  00:20:38  Show Profile  Visit muzishun's Homepage
This is going to sound like a silly question, but did you UNcomment out the line above? If you don't, the server will interpret it as something other than XML. If you uncomment the line, it should be displayed properly.

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Go to Top of Page

et10yl
Starting Member

17 Posts

Posted - 10 June 2006 :  20:45:06  Show Profile
muzishun, I did uncomment out that line. I actually just tried it on another computer and it's working perfectly. I guess the simple F5 refresh on my computer didn't work, and I really needed to clear out my cache for that...

Thanks for the help, muzishun & CarKnee!! I hope this will pop up for anyone else using MemberMaps w/Access and it'll help them...
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 11 June 2006 :  14:47:57  Show Profile  Visit muzishun's Homepage
Glad you got it working.

I don't know if you know about this, but when F5 doesn't work, try Shift-F5. It does a hard refresh that ignores whatever you have in your cache.

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.34 seconds. Powered By: Snitz Forums 2000 Version 3.4.07