Active
Project:
storefinder
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Aug 2008 at 22:29 UTC
Updated:
9 Sep 2009 at 06:29 UTC
Jump to comment: Most recent file
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.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | storefinder_build_ui.txt | 7.09 KB | thompsono |
Comments
Comment #1
bmagistro commentedHello,
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.
Comment #2
fuquam commentedCan 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.
Comment #3
bmagistro commentedtry going to /locations there is no /storefinder alias, but you can create one.
Comment #4
fuquam commentedThanks 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?
Comment #5
bmagistro commentedNo, 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
Comment #6
fuquam commentedxml
XML Support active
XML Namespace Support active
EXPAT Version expat_1.95.7
Comment #7
bmagistro commentedEdit it is provided by SimpleXML available in PHP version 5.
Comment #8
kmfj1 commentedI 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
Comment #9
thompsono commentedHi Guys,
Please see the attached file, it should fix any of the issues above.
Rename with the .inc extension.
Regards
OT
Comment #10
fuquam commentedSeems 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.
Comment #11
fuquam commentedAlso 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"
Comment #12
fuquam commentedSorry 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.
Comment #13
nelslynn commentedWorking 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!