Hi,
After installing this module I get these errors:
•Notice: Use of undefined constant GEOCODER_AUTOCOMPLETE_URL - assumed 'GEOCODER_AUTOCOMPLETE_URL' in include_once() (line 11 of /usr/home/deb16445/domains/mikesportel.nl/public_html/sis/sites/all/modules/geocoder_autocomplete/geocoder_autocomplete.module).
•Notice: Use of undefined constant GEOCODER_AUTOCOMPLETE_FORMAT - assumed 'GEOCODER_AUTOCOMPLETE_FORMAT' in include_once() (line 12 of /usr/home/deb16445/domains/mikesportel.nl/public_html/sis/sites/all/modules/geocoder_autocomplete/geocoder_autocomplete.module).
•Notice: Use of undefined constant GEOCODER_AUTOCOMPLETE_URL - assumed 'GEOCODER_AUTOCOMPLETE_URL' in include_once() (line 11 of /usr/home/deb16445/domains/mikesportel.nl/public_html/sis/sites/all/modules/geocoder_autocomplete/geocoder_autocomplete.module).
•Notice: Use of undefined constant GEOCODER_AUTOCOMPLETE_FORMAT - assumed 'GEOCODER_AUTOCOMPLETE_FORMAT' in include_once() (line 12 of /usr/home/deb16445/domains/mikesportel.nl/public_html/sis/sites/all/modules/geocoder_autocomplete/geocoder_autocomplete.module).
•Notice: Undefined index: size in geocoder_autocomplete_field_widget_form() (regel 52 van /usr/home/deb16445/domains/mikesportel.nl/public_html/sis/sites/all/modules/geocoder_autocomplete/geocoder_autocomplete.module).
The module seems to work however.
Hope this helps you in perfecting this module.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 1363676-4-geocoder_autocomplete-notices.patch | 1.47 KB | pfrenssen |
| #1 | geocoder_autocomplete-undefined_constants-1363676-1.patch | 535 bytes | cyborg_572 |
Comments
Comment #1
cyborg_572 commentedThe first 4 notices are because the constant definitions are missing quotes, and I've attached a patch to fix them. That last notice seems unrelated, and I'm not getting it with the setup on the site I'm working on. If it does pop up I'll have a look into then.
Comment #2
jordi_bcktt commentedThank you, is working now.
Comment #3
bjalford commentedWorks fine
Comment #4
pfrenssenUpdated patch with a fix to the other reported notice.
Comment #5
gagarine commented#4 work for me thanks
Comment #6
gvanto commentedmoved to diff forum ...
Comment #7
gvanto commentedwhen I try and apply the patch, I get errors (says target file not found):
[root@host:/home/zingleco/public_html/dev2/sites/all/modules/geocoder_autocomplete]# patch -p0 --dry-run < 1363676-4-geocoder_autocomplete-notices.patch
can't find file to patch at input line 14
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From 28f7f706b690786e5f2b1333f7173b7605b1de4d Mon Sep 17 00:00:00 2001
|From: Pieter Frenssen
|Date: Wed, 14 Mar 2012 01:30:30 +0100o
|Subject: [PATCH] Issue #1363676 by cyborg_572, pfrenssen: Fix notices.
|
|---
| geocoder_autocomplete.module | 6 +++---
| 1 file changed, 3 insertions(+), 3 deletions(-)
|
|diff --git a/geocoder_autocomplete.module b/geocoder_autocomplete.module
|index 26a95e4..79a4f88 100644
|--- a/geocoder_autocomplete.module
|+++ b/geocoder_autocomplete.module
--------------------------
File to patch:
[Here I hit ctrl-C as I didn't expect this?]
PS, files are all there:
[16:13:23][root@host:/home/zingleco/public_html/dev2/sites/all/modules/geocoder_autocomplete]# ls
./ 1363676-4-geocoder_autocomplete-notices.patch geocoder_autocomplete.module LICENSE.txt
../ geocoder_autocomplete.info geocoder_autocomplete.pages.inc .svn/
Comment #8
pfrenssen@gvanto Use patch -p1. Check the man page for patch for more info.
Comment #9
mxtPatch provided in #4 resolve the issue and works very well for me.
Can this be committed please?
Thank you very much
Comment #10
twistor commentedPatch works for me as well.
Comment #11
kbasarab commentedPatch in #4 works for me as well.
Comment #12
Taxoman commentedTime to commit to -dev?
Comment #13
sanduhrsCommited to dev.
Thanks.