The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key 1 - Line: 801 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_parser.php 801 errorHandler->error
/inc/class_parser.php 866 postParser->mycode_parse_post_quotes
[PHP]   postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 751 preg_replace_callback
/inc/class_parser.php 431 postParser->mycode_parse_quotes
/inc/class_parser.php 187 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key 1 - Line: 820 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_parser.php 820 errorHandler->error
/inc/class_parser.php 866 postParser->mycode_parse_post_quotes
[PHP]   postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 751 preg_replace_callback
/inc/class_parser.php 431 postParser->mycode_parse_quotes
/inc/class_parser.php 187 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key 1 - Line: 801 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_parser.php 801 errorHandler->error
/inc/class_parser.php 866 postParser->mycode_parse_post_quotes
[PHP]   postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 751 preg_replace_callback
/inc/class_parser.php 431 postParser->mycode_parse_quotes
/inc/class_parser.php 187 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key 1 - Line: 820 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_parser.php 820 errorHandler->error
/inc/class_parser.php 866 postParser->mycode_parse_post_quotes
[PHP]   postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 751 preg_replace_callback
/inc/class_parser.php 431 postParser->mycode_parse_quotes
/inc/class_parser.php 187 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
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,

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?
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.
- Ben

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