The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
Stack overflow Line 26 on Edit Submission - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Modules / Other (https://forums.formtools.org/forumdisplay.php?fid=8) +--- Forum: Modules (https://forums.formtools.org/forumdisplay.php?fid=16) +--- Thread: Stack overflow Line 26 on Edit Submission (/showthread.php?tid=1515) |
Stack overflow Line 26 on Edit Submission - Internaut - Aug 8th, 2011 Issue: Entering "Edit submission" results in: "Stack overflow at line 26". Clicking OK, one can continue to edit. Possible cause: In Edit Form, I changed the "Street" display 'Field Type' from Textbox to be a Google Maps Field type. And, also added a new Field Display called Google Map with the Field Type of Google Maps. Both appear as two opaque boxes. Just the input field box, nothing else except for the "Update" button to the field's right. The "UPDATE" button by the GM field does nothing. Details: The 'stack overflow' appears any time entering the Edit Submission GUI. The Street" field, after clicking the Google update button, resulted in the field having the longitude/lat added in beside the existing address. For example: the address was "123 Third Ave" and after the Update was clicked by the Field would look like : 1450 Pennsylvania Ave. NW Ave 38°53'55.19"N 77° 2'12.10"W Changing the Field Type for 'Street' and Updateing the edit, results in the same issue. Deleting the Google Map Form Field/Field Type cleared the issue - no more "Stack overflow" error. This issue can be repeated. I RE: Stack overflow Line 26 on Edit Submission - Ben - Aug 8th, 2011 Hi Internaut, Thanks for the bug report! I stepped it through as you described on FF5 and Safari 5.1 (Mac), but didn't get that particular Stack Overflow error. What browser were you on? It does, however, fail to load the Google Maps properly when there is old non-map generated data in the field. I'll release an update for the module tonight. Let me know if that fixes your problems. - Ben RE: Stack overflow Line 26 on Edit Submission - Internaut - Aug 8th, 2011 Hi Ben, (Aug 8th, 2011, 5:10 PM)Ben Wrote: Hi Internaut,Sorry, I should have given you that. Browser is IE 8. Ben Wrote:It does, however, fail to load the Google Maps properly when there is old non-map generated data in the field.It is a new field added at the end. When it didn't work there, it was moved up the ladder a few, to line 15 out of 18. Ben Wrote:I'll release an update for the module tonight. Let me know if that fixes your problems. I've been looking around the Docs and not sure yet how to upgrade without loosing data. I'm getting there - the program is so well layed out it makes for a short learbing curve. I RE: Stack overflow Line 26 on Edit Submission - Ben - Aug 9th, 2011 Hey Internaut, Ah, don't worry about losing data when upgrading this module. Here's how to do it: 1. Download it from here: http://modules.formtools.org/field_type_google_maps/download.php 2. Unzip it locally. 3. FTP the entire contents to your website, overwriting the old /modules/field_type_google_maps/ folder. 4. Log into Form Tools and go to the Modules page. There, find the Google Maps modules and click "Upgrade". That's it! And thanks for letting me know about IE8. Let me know if the fix fixes it for you (it may not... I didn't test with IE8). - Ben RE: Stack overflow Line 26 on Edit Submission - Ben - Aug 9th, 2011 *sigh* Sorry about this - I'm going to have to release another patch today. I spotted another problem... (trying to do too many things at once!). I'll release 1.0.4 today - don't bother with 1.0.3. - Ben |