represent-map icon indicating copy to clipboard operation
represent-map copied to clipboard

Eventbrite events_get encoding problem

Open davidszedely opened this issue 12 years ago • 3 comments

Hi, I'm setting up the map for Slovakia, and wanted to pull events we're organizing into the map for testing. However, I have received this error - probably due to special characters in the location of the event. As eventbrite is pulling this based on the location entered, there is little I can do about it... Is there some quick fix? Thanks for help! David http://www.neulogy.com/map/events_get.php Sorry if there is something inappropriate about this post, this is my first issue ticket ever.

https://www.eventbrite.com/xml/event_search?...&within=50&within_unit=M&keywords=neulogy&city=bratislava&date=This+month&app_key=76TR7C5SUKL66H4MOD
0 places geocoded

Warning: simplexml_load_file() [function.simplexml-load-file]: http://maps.google.com/maps/geo?output=xml&key=abcdefg&q=36+M%3F%3Ftna%2C+Bratislava+-+Star%3F%A9+Mesto%2C+81107:3: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xA9 0x20 0x4D 0x65 in /domains1/do1377700/public/www_root/map/geocode.php on line 38

Warning: simplexml_load_file() [function.simplexml-load-file]: <name>36 M??tna, Bratislava - Star?© Mesto, 81107</name> in /domains1/do1377700/public/www_root/map/geocode.php on line 38

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /domains1/do1377700/public/www_root/map/geocode.php on line 38
url not loading

davidszedely avatar Sep 12 '12 15:09 davidszedely

I had this problem with Los Angeles briefly. Its an eventbrite bug - sometimes their api outputs invalid xml. I just had to wait a few days and it worked again.

On Sep 12, 2012, at 8:21 AM, davidszedely [email protected] wrote:

Hi, I'm setting up the map for Slovakia, and wanted to pull events we're organizing into the map for testing. However, I have received this error - probably due to special characters in the location of the event. As eventbrite is pulling this based on the location entered, there is little I can do about it... Is there some quick fix? Thanks for help! David

Sorry if there is something inappropriate about this post, this is my first issue ticket ever.

https://www.eventbrite.com/xml/event_search?...&within=50&within_unit=M&keywords=neulogy&city=bratislava&date=This+month&app_key=76TR7C5SUKL66H4MOD 0 places geocoded

Warning: simplexml_load_file() [function.simplexml-load-file]: http://maps.google.com/maps/geo?output=xml&key=abcdefg&q=36+M%3F%3Ftna%2C+Bratislava+-+Star%3F%A9+Mesto%2C+81107:3: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xA9 0x20 0x4D 0x65 in /domains1/do1377700/public/www_root/map/geocode.php on line 38

Warning: simplexml_load_file() [function.simplexml-load-file]: 36 M??tna, Bratislava - Star?© Mesto, 81107 in /domains1/do1377700/public/www_root/map/geocode.php on line 38

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /domains1/do1377700/public/www_root/map/geocode.php on line 38 url not loading — Reply to this email directly or view it on GitHub.

abenzer avatar Sep 12 '12 21:09 abenzer

Thanks, I hope it will start working within next week :) D.

On Wed, Sep 12, 2012 at 11:52 PM, Alex Benzer [email protected]:

I had this problem with Los Angeles briefly. Its an eventbrite bug - sometimes their api outputs invalid xml. I just had to wait a few days and it worked again.

On Sep 12, 2012, at 8:21 AM, davidszedely [email protected] wrote:

Hi, I'm setting up the map for Slovakia, and wanted to pull events we're organizing into the map for testing. However, I have received this error - probably due to special characters in the location of the event. As eventbrite is pulling this based on the location entered, there is little I can do about it... Is there some quick fix? Thanks for help! David

Sorry if there is something inappropriate about this post, this is my first issue ticket ever.

https://www.eventbrite.com/xml/event_search?...&within=50&within_unit=M&keywords=neulogy&city=bratislava&date=This+month&app_key=76TR7C5SUKL66H4MOD 0 places geocoded

Warning: simplexml_load_file() [function.simplexml-load-file]: http://maps.google.com/maps/geo?output=xml&key=abcdefg&q=36+M%3F%3Ftna%2C+Bratislava+-+Star%3F%A9+Mesto%2C+81107:3: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xA9 0x20 0x4D 0x65 in /domains1/do1377700/public/www_root/map/geocode.php on line 38

Warning: simplexml_load_file() [function.simplexml-load-file]: 36 M??tna, Bratislava - Star?© Mesto, 81107 in /domains1/do1377700/public/www_root/map/geocode.php on line 38

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /domains1/do1377700/public/www_root/map/geocode.php on line 38 url not loading — Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHubhttps://github.com/abenzer/represent-map/issues/12#issuecomment-8511415.

davidszedely avatar Sep 13 '12 07:09 davidszedely

Seems the problem isn't only with events, but also with adding places: http://dl.dropbox.com/u/1601526/Screenshots/v14tgn-li1-a.png Nevertheless, it adds the place into the database (and onto the map) with correct location unless no special characters are part of the address. If there are special characters, it adds to the DB, but places it in the middle of an ocean. Can I somehow specify the encoding? Any help is appreciated...

davidszedely avatar Oct 02 '12 12:10 davidszedely