Bug when an & is in the Location Field
Discussion in "Map Me Support" started by VR6Pete Oct 14, 2009.
Wed Oct 14 2009, 04:07 am
Version 1.3: I've noticed that if a user has a location with an & sign in the location field, it kills the plugin.
User id: 44 User mapme_location: Maidenhead, Norwich & Preston
It imports ok, and is stored - but upon viewing the map, it produces the following error and no map is loaded:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; InfoPath.1)
Timestamp: Mon, 5 Oct 2009 11:32:57 UTC
Message: 'documentElement' is null or not an object
Line: 41
Char: 8
Code: 0
URI: http://www.vr6oc.com/e107_plugins/mapme/mapjs.php
User id: 44 User mapme_location: Maidenhead, Norwich & Preston
It imports ok, and is stored - but upon viewing the map, it produces the following error and no map is loaded:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; InfoPath.1)
Timestamp: Mon, 5 Oct 2009 11:32:57 UTC
Message: 'documentElement' is null or not an object
Line: 41
Char: 8
Code: 0
URI: http://www.vr6oc.com/e107_plugins/mapme/mapjs.php
Wed Oct 14 2009, 11:04 am
yeah.. i figured out that.. thank you VR6Pete. I found out that i need to encode these special characters. even while displaying MAP it create this problem. I have updated and tested on my site and it seems to work fine now. will give another look.
Powered by e107 Forum System