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

bdragon’s picture

Planning on posting the errors, or a link?

ravinggenius’s picture

I'm sorry!

    * warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 795.
    * warning: array_shift() [function.array-shift]: The argument should be an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 658.
    * warning: array_unshift() [function.array-unshift]: The first argument should be an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 669.
    * warning: array_shift() [function.array-shift]: The argument should be an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 849.
    * warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 795.
    * warning: array_shift() [function.array-shift]: The argument should be an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 658.
    * warning: array_unshift() [function.array-unshift]: The first argument should be an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 669.
    * warning: array_shift() [function.array-shift]: The argument should be an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 849.
    * warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 795.
    * warning: array_shift() [function.array-shift]: The argument should be an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 658.
    * warning: array_unshift() [function.array-unshift]: The first argument should be an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 669.
    * warning: array_shift() [function.array-shift]: The argument should be an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 849.
    * warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 795.
    * warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 795.
    * warning: array_shift() [function.array-shift]: The argument should be an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 658.
    * warning: array_unshift() [function.array-unshift]: The first argument should be an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 669.
    * warning: array_shift() [function.array-shift]: The argument should be an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 849.
    * warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 795.
    * warning: array_shift() [function.array-shift]: The argument should be an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 658.
    * warning: array_unshift() [function.array-unshift]: The first argument should be an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 669.
    * warning: array_shift() [function.array-shift]: The argument should be an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 849.
    * warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 795.
    * warning: array_shift() [function.array-shift]: The argument should be an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 658.
    * warning: array_unshift() [function.array-unshift]: The first argument should be an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 669.
    * warning: array_shift() [function.array-shift]: The argument should be an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 849.
    * warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 795.
    * warning: array_shift() [function.array-shift]: The argument should be an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 658.
    * warning: array_unshift() [function.array-unshift]: The first argument should be an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 669.
    * warning: array_shift() [function.array-shift]: The argument should be an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 849.
    * warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 795.
    * warning: array_shift() [function.array-shift]: The argument should be an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 658.
    * warning: array_unshift() [function.array-unshift]: The first argument should be an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 669.
    * warning: array_shift() [function.array-shift]: The argument should be an array in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 849.
    * warning: implode() [function.implode]: Bad arguments. in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 618.
    * warning: implode() [function.implode]: Bad arguments. in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 618.
    * warning: implode() [function.implode]: Bad arguments. in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 618.
    * warning: implode() [function.implode]: Bad arguments. in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 618.
    * warning: implode() [function.implode]: Bad arguments. in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 618.
    * warning: implode() [function.implode]: Bad arguments. in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 618.
    * warning: implode() [function.implode]: Bad arguments. in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 618.
    * warning: implode() [function.implode]: Bad arguments. in /home/.mandinka/thomasandallea/thomasandallea.com/www/includes/form.inc on line 618.
bdragon’s picture

Hmm, 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?

ravinggenius’s picture

/* $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)

Gazard7’s picture

I have the same warning messages, and there are no submit button. I'm using drupal 5.1

ravinggenius’s picture

I 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.

geograt’s picture

Try in admin/settings/gmap: in block "Marker manager" enabling only the "No manager (use addOverlay directly)" radius.

Gazard7’s picture

Have 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.

bdragon’s picture

I 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.

niklp’s picture

I'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.

jmengle’s picture

I 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.

bdragon’s picture

Ahh, 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.

bdragon’s picture

OK, 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...

bdragon’s picture

Ahh. I'm stomping on the incoming $element at the top of that function, thereby losing #parents and causing this mess. OK.

bdragon’s picture

OK, DRUPAL-5 has a fix. Try the next snapshot.

Thanks again for the insight!

Gazard7’s picture

Thanks, it is working fine now.

bdragon’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)