clangham
Download
Newbie

Posts: 9
|
 |
« on: October 31, 2011, 12:14:14 PM » |
|
I have completed the installation and setup, and then loaded the sample data from "us_filter.txt" However, if I try to perform a search on the front-end, I get a popup "Not Found" no matter what I search for.
Also, in the back-end administration, if I click "Find Coordinates" then I also get "Not Found" no matter which address I am editing.
I know my API Key is good, b/c I do not get any errors and the map displays correctly.
I have only loaded the 1 sample file, and I am only searching USA. The API Key has been correctly entered into the backend and also updated in the source code of the Golf Demo page (which is what I am testing)
Please advise.
Thank you!
|
|
|
|
|
Logged
|
|
|
|
|
Support
|
 |
« Reply #1 on: October 31, 2011, 02:20:44 PM » |
|
If you have uploaded the sample us_filter.txt data file, please browse the list and see if the data has been inserted in the proper columns, with special attention to the latitude and longitude columns. If you data has not been geocoded, there should be zeros in the coordinates column.
If you are editing one of the sample locations, and click the "Find Coordinates" button, you should not get a "Not Found" message when the manual map window opens. What exactly is inserted in the "Get Coordinates" text box, when you open the manual geocoding window. What should appear is the address of your location (if it has one).
Support
|
|
|
|
|
Logged
|
|
|
|
clangham
Download
Newbie

Posts: 9
|
 |
« Reply #2 on: October 31, 2011, 02:53:50 PM » |
|
If I upload and overwrite the "us_filter.txt" data file, then I get a clean table of data, and all of the coordinates are zero's.
If I click one to edit, and select "find coordinates", then a popup window opens with a map and the address is shown in the text field. If I then select "Get Longitude & Latitude" I get an error.
For instance, the first entry is "513 Country Club Drive Hampstead NC 28443" so the error reads "513 Country Club Drive Hampstead NC 28443 not found"
Thanks,
|
|
|
|
|
Logged
|
|
|
|
clangham
Download
Newbie

Posts: 9
|
 |
« Reply #3 on: October 31, 2011, 02:56:38 PM » |
|
Also, forgot to mention that when I try to geo-code, all of the locations coordinates fail/default to "80.000000"
|
|
|
|
|
Logged
|
|
|
|
clangham
Download
Newbie

Posts: 9
|
 |
« Reply #4 on: October 31, 2011, 04:37:38 PM » |
|
I have resolved the issue, their was no problem with the script, as I thought, but rather with the Google API Key, since I initially test on my local DEV machine, I just re-registered for another key for "Localhost" and it works great on that environment now.
Thank you for the quick response! I look forward to working with the script.
Regards,
|
|
|
|
|
Logged
|
|
|
|
clangham
Download
Newbie

Posts: 9
|
 |
« Reply #5 on: October 31, 2011, 05:52:42 PM » |
|
I now have a new 'related' issue, I have all of the test locations loaded, and I was able to geocode them all. However, when I do any location search I get the origin marker, but never any locations results returned. This is true no matter where I search.
Using us_filter.txt data, and searching any zip code close to one of the rows, I still get "no locations found near XXX"
Any suggestions?
Regards,
|
|
|
|
|
Logged
|
|
|
|
clangham
Download
Newbie

Posts: 9
|
 |
« Reply #6 on: October 31, 2011, 06:00:23 PM » |
|
...also, when I search for a certain zip code, I get 'no results,' but if I view the tracking logs, it shows that it just returned to me 10 results (viewed)?
|
|
|
|
|
Logged
|
|
|
|
clangham
Download
Newbie

Posts: 9
|
 |
« Reply #7 on: November 02, 2011, 09:16:30 AM » |
|
Issue was resolved in another post: Your webserver must have PHP 5.3 installed, where ereg_replace is deprecated in that version. If you are comfortable with editing the models/locator_model.php script, you can replace the PHP function ereg_replace, line 245, with str_replace.
Line 245 in locator_model.php is the only occurrence of ereg_replace in the program.
Regards
|
|
|
|
|
Logged
|
|
|
|
|