Closed (fixed)
Project:
GMap Module
Version:
5.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Feb 2007 at 23:49 UTC
Updated:
19 Mar 2007 at 16:17 UTC
Actually it shows a map and a bunch of controls, but above all that is a big list of errors, each one referencing includes/form.inc at various lines. Everything else seems to work.
Comments
Comment #1
bdragon commentedPlanning on posting the errors, or a link?
Comment #2
ravinggenius commentedI'm sorry!
Comment #3
bdragon commentedHmm, form_set_value and form_set_error malfunctions, stuff dealing with #tree and #parents....
What's your /* Id: */ tag at the top of gmap_settings_ui.inc?
Comment #4
ravinggenius commented/* $Id: gmap_settings_ui.inc,v 1.1.2.3 2007/02/23 00:00:57 bdragon Exp $ */
I just downloaded this module today. (2007.02.23)
Comment #5
Gazard7 commentedI have the same warning messages, and there are no submit button. I'm using drupal 5.1
Comment #6
ravinggenius commentedI believe the problem is with the markers. Anytime I add markers, I get a grey box. I even copied the example from http://www.webgeer.com/gmapdemo and it didn't work. I can still get a map, but that just doesn't do much with out the markers. The url I am testing on is http://www.thomasandallea.com/gmap_test. I really just want a map with markers on a few hotels and a church. Then when someone clicks on a hotel marker, it pops up with the address, along with a link to get directions to the church.
I will be happy to provide you with any information you need, as I would really love to get this working. (It is for out of town guest coming to my wedding.) Oh and I posted the macros under the map on my site.
Comment #7
geograt commentedTry in admin/settings/gmap: in block "Marker manager" enabling only the "No manager (use addOverlay directly)" radius.
Comment #8
Gazard7 commentedHave tried to set "Marker manager" to "No manager" but the setting seem couldn't be saved. Set to other option also same. The form stays unselected for all three options after submit.
Comment #9
bdragon commentedI recently repaired the settings form regarding the marker manager. Please try again with the latest.
And yes, the No Manager option is the only one that works at the moment.
Comment #10
niklp commentedI've just done this. Whereas I had "grey box syndrome" a few minutes ago, I now have a map, but I still have all the errors.
Comment #11
jmengle commentedI was also having problems with the array/implode warnings in form.inc.
I removed line 1054 from the gmap.module file. ('#tree' => TRUE in the process_gmap_overlay_edit function) I'm not uploading a patch, because I'm not really familiar with the forms api stuff yet, however this seemed to make the errors go away.
Hope this helps.
Comment #12
bdragon commentedAhh, thank you for isolating that. That should make it much easier to find.
Off the top of my head, I think it may be a problem with form expansion.
Comment #13
bdragon commentedOK, I finally am able to reproduce. I set up a php5 test site on dreamhost (My main dev server is a linode running lighttpd) and got the warnings. Investigating now...
Comment #14
bdragon commentedAhh. I'm stomping on the incoming $element at the top of that function, thereby losing #parents and causing this mess. OK.
Comment #15
bdragon commentedOK, DRUPAL-5 has a fix. Try the next snapshot.
Thanks again for the insight!
Comment #16
Gazard7 commentedThanks, it is working fine now.
Comment #17
bdragon commentedComment #18
(not verified) commented