close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Error after adding "Include Directons"

Thread began 1/31/2010 10:52 pm by fireplug41126928 | Last modified 2/05/2010 3:29 pm by Jimmy Wu | 1279 views | 8 replies |

fireplug41126928

Error after adding "Include Directons"

I am having issues with the page working fine until i check the "include Directions" check box and adding the form fields to the boxes. Once i do this when i load the page it gives me an error saying the following

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB5; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Timestamp: Mon, 1 Feb 2010 03:49:53 UTC


Message: Object doesn't support this property or method
Line: 267
Char: 5
Code: 0
URI: directions.asp

this is the code from that section of the page:

directions = new GDirections(map, document.getElementById('wagmp_directions_1'));
GEvent.addListener(directions, "error", function() {
map.setCenter(wagmp_map_1_obj.points[0], 13);
map.addOverlay(wagmp_map_1_obj.markers[0]);
});
directions.load('from: ' + fromAddress.full + ' to: ' + address_0.full);
wagmp_map_1_obj.directions = directions;


It works fine with out adding the include directions added.

Sign in to reply to this post

Jimmy Wu

When I access the page, I am not getting the same error that you are. What version of FireFox are you using to access the page?

Sign in to reply to this post

fireplug41126928

i am using IE8. It was working before then all of a suddenyl stopped working.

Sign in to reply to this post

fireplug41126928

i am attaching the files with the pages.

Attached Files
mapfiles.zip
Sign in to reply to this post

Jimmy Wu

I don't see line 267 on the files you sent. Are you sure that the error is referring to that line?

Sign in to reply to this post

fireplug41126928

that is because the error is occuring on line 267 of the combined file in IE. after internet explorer combines the include file into the code.

this is the error just like i put previous:
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB5; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Timestamp: Wed, 3 Feb 2010 18:48:41 UTC


Message: Object doesn't support this property or method
Line: 267
Char: 5
Code: 0
URI: directions.asp

I will attach the source code right out of IE8 in a word file, then you can see what i am talking about. I have put (Line 267) in the text at that point so you can see which one it is.

Attached Files
map page code.zip
Sign in to reply to this post

Jimmy Wu

It looks like it may be something else on your page that is causing this issue. Try creating the map on a new blank page and see if the map works for you.

Sign in to reply to this post

fireplug41126928

well you can disregard this thread now I have figured out what it is. The problem was coming from a image that had a image name of "Directons". so i renamed the of the image and all is well. Thanks for your input though.

Sign in to reply to this post

Jimmy Wu

Great to hear that you were able to figure out what the cause of the error was. If you run into any additional issues, feel free to open a new thread.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...