Can't add more than one store, issue displaying even the one store, and no icons displayed
| Project: | storefinder |
| Version: | 5.x-1.1 |
| Component: | Code |
| Category: | support request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
I receive this error when attempting to add a second store:
* warning: Missing argument 1 for storefinder_location_form() in /home/jnicola/mthoodsnowsports.com/drupal/sites/all/modules/storefinder/storefinder_build_ui.inc on line 44.
* user warning: Duplicate entry '0' for key 1 query: insert into storefinder (sname, address, city, state, zip, country, phone, http, lat, lon)values('asdfasdfasdf', 'asdfsd', 'asdfasdf', 'asdfsdfa', '97201', 'USA', '', '', '0', '0'); in /home/jnicola/mthoodsnowsports.com/drupal/includes/database.mysql.inc on line 172.
I receive this error when attempting to display even one store:
* user warning: Unknown column 'distance' in 'having clause' query: SELECT COUNT(*) FROM storefinder HAVING distance < '25' in /home/jnicola/mthoodsnowsports.com/drupal/includes/database.mysql.inc on line 172.
* user warning: Unknown column 'distance' in 'having clause' query: SELECT COUNT(*) FROM storefinder HAVING distance < '25' in /home/jnicola/mthoodsnowsports.com/drupal/includes/database.mysql.inc on line 172.
(Check it out here: http://www.mthoodsnowsports.com/drupal/locations/ )
I also have the following issue display the result(s):
No markers are shown. This means that I can't click on them either.
I am running the latest version of drupal, I have php5, I am on dreamhost. Any advice?

#1
I have implemented fixes for a number of errors and would like to be added as a contributor to this project so I may commit them back to the canonical version of the module.
Fixes include:
#2
Hi All,
Please rename the attached file to storefinder_build_ui.inc, and copy and paste the file to sites/all/modules/storefinder or where ever you have the module installed. This fixes the majority of issues posted on this module.
I like this module, i think its alot cleaner than the PHP Google store locator module, but it does have fewer features, i have both working on different websties.
Kind regards
OT