warning: Missing argument 1 for storefinder_location_form() in /home/sitepath/public_html/modules/storefinder/storefinder_build_ui.inc on line 44.
-------------

line 44 = function storefinder_location_form($dvalues) {

Any ideas? I haven't been able to get this module to work at all. Should it still be in development stage?
Thanks.

CommentFileSizeAuthor
#9 storefinder_build_ui.txt7.09 KBthompsono

Comments

bmagistro’s picture

Hello,

I just got the notifications on this, I have this working in two production sites and know a couple others that are using it. I'll look into this issue this week.

fuquam’s picture

Can you send me a link to a working version from a site. I have the module installed but when I go to www.mysite.com/storefinder I get a 404 error like the module doens't exist. I've never had a module do that.
Thanks for the reply.

bmagistro’s picture

try going to /locations there is no /storefinder alias, but you can create one.

fuquam’s picture

Thanks for the reply. Well the form shows up. I get an error when using it however.

Fatal error: Cannot instantiate non-existent class: simplexmlelement in /home/breadcom/public_html/modules/storefinder/storefinder_view_ui.inc on line 61

line 61 = $xml = new SimpleXMLElement($gmappage);

Is there something wrong with the Google API?

bmagistro’s picture

No, it sounds like the php Module to do xml is not loaded, can you create a file and place the following in it and check for XML

phpinfo();
fuquam’s picture

xml
XML Support active
XML Namespace Support active
EXPAT Version expat_1.95.7

bmagistro’s picture

Edit it is provided by SimpleXML available in PHP version 5.

kmfj1’s picture

I get the following error when trying to view the map:

user warning: Unknown column 'distance' in 'having clause' query: SELECT COUNT(*) FROM storefinder HAVING distance < '25' in C:\_vhosts\drupal-5.12\includes\database.mysql.inc on line 174.

Any thoughts? Thanks - KJ

thompsono’s picture

StatusFileSize
new7.09 KB

Hi Guys,

Please see the attached file, it should fix any of the issues above.
Rename with the .inc extension.

Regards

OT

fuquam’s picture

Seems to be working ok. I need to load locations into the db. Just in time for me to update my site to D6. Any chance this module will go to D6?
Thanks.

fuquam’s picture

Also it would be nice if there was
1. a separate screen for when no results are found instead of showing blank results
2. a link to "return to search form"

fuquam’s picture

Sorry one more thing. Is there a way to either get rid of the 'range' selection or hide the array? I just want the closest location to show up regardless of distance. Thanks.

  $form['range'] = array(
    '#type' => 'select',
    '#title' => t('Distance'),
   '#options' => drupal_map_assoc(array(50000)),
  );
nelslynn’s picture

Working with latest Drupal 5 version (5.19), and the revised storefinder_build_ui.inc, but still receive this error:

user warning: Unknown column 'distance' in 'having clause' query: SELECT COUNT(*) FROM storefinder HAVING distance < '25' in C:\htdocs\drupal5\includes\database.mysql.inc on line 174.

Can anyone help me along here?

Thanks!