Pages: [1]
Print
Author Topic: Unable to Import Location Data or Geocode Location  (Read 1125 times)
phansen
Newbie
*
Posts: 5


« on: April 27, 2010, 06:42:19 PM »

Hello,

I am having some difficulty getting this script to work for me. When I try to import location data, it is unsuccessful and I get the error: The upload path does not appear to be valid. If I manually enter a location and try to Geocode it, the process seems to hang and not complete.

Any assistance would be appreciated.

Thank you,
Philip
Logged
Support
Administrator
Jr. Member
*****
Posts: 97



« Reply #1 on: April 27, 2010, 09:35:37 PM »

The upload path invalid may indicate the server is stopping the upload form to save the data file in your hosting accounts temporary storage location. To check this go to the documentation section and look for PHP info under the Appendices menu and see if the diagnostic says Safe Mode on.

When you manual enter a location does the geocode window open when you click the Find Coordinates button?

Chris
Support
Logged
phansen
Newbie
*
Posts: 5


« Reply #2 on: April 28, 2010, 11:12:50 AM »

Hi Chris,

Yes, Safe Mode is on and yes I am able to find coordinates when adding a location manually.
Logged
Support
Administrator
Jr. Member
*****
Posts: 97



« Reply #3 on: April 28, 2010, 01:00:24 PM »

Philip,
Safe Mode is a server side configuration that restricts all but very basic PHP functions. Restricting file uploading and communication with other internet resources (like Google) are but a few examples. The LiteRadius upload form, which is just a simple html form, is an example where Safe Mode restricts depositing the uploaded file into your hosting account's temporary storage directory.

If you manage your hosting environment you will need to turn Safe Mode off via your php.ini configuration file. If you are on a shared hosting environment, you will need to contact their support and request that Safe Mode be turned off.

Chris
Tech Support
Logged
phansen
Newbie
*
Posts: 5


« Reply #4 on: April 29, 2010, 06:55:30 PM »

Hi Chris,

Thank you for the information. I was able to get Safe Mode turned off so I can now import. I am still having troubles with the batch geocoding function.
Logged
Support
Administrator
Jr. Member
*****
Posts: 97



« Reply #5 on: April 30, 2010, 08:33:09 AM »

The batch geocoder sends each location address to the Google geocoder then waits for a latitude and longitude coordinate to be returned. You should see a counter that indicates progress as locations are encoded. Can you explain in a little more detail what you are seeing during a geocoding event. Can you also list the uncoded locations? (found below the geocoder).

Logged
phansen
Newbie
*
Posts: 5


« Reply #6 on: May 03, 2010, 03:07:08 PM »

When I try to perform a batch geocode, the animated image to indicate that the process is running starts spinning a that is all. I have tried the function with only two locations in the database and let it run for 5 minutes with no results or indications of error.
Logged
Support
Administrator
Jr. Member
*****
Posts: 97



« Reply #7 on: May 03, 2010, 09:23:48 PM »

Philip,

As a diagnostic can you please visit this url and click the "Geocode Region" button.

http://www.escaperadius.com/debug/lr_v32/admin.php?/geocode

If geocoding works you should see 6 javascript alerts which pause the geocoder. After accepting each notification you should see the geocoder count increment.

Please let us know your results.

Support
Logged
phansen
Newbie
*
Posts: 5


« Reply #8 on: May 04, 2010, 11:40:13 AM »

Hi,

I have tried it with both fallback off and postal code with the same results as on my site; no alerts or geocoding. As a test, I have tried it in other browsers; my results are consistent in Firefox 3.5.9 and Google Chrome. However, unusually so, the function works properly in Internet Explorer 8.

Cheers,
Logged
Support
Administrator
Jr. Member
*****
Posts: 97



« Reply #9 on: May 04, 2010, 11:53:07 AM »

Even thought you don't see the geocode progress are the locations being encoded? It appears the geocode test you tried did encode the locations.
Logged
Support
Administrator
Jr. Member
*****
Posts: 97



« Reply #10 on: May 06, 2010, 08:06:45 PM »

Please refer to this post for an update patch to resolve geocoder issue.

http://literadius.escaperadius.com/index.php/topic,22.0.html
Logged
Pages: [1]
Print
Jump to: