The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (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.27 (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.27 (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.27 (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.27 (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.27 (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 property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(257) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/printthread.php(257) : eval()'d code 2 errorHandler->error
/printthread.php 257 eval
/printthread.php 117 printthread_multipage
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Google Maps Error - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Modules / Other (https://forums.formtools.org/forumdisplay.php?fid=8)
+--- Forum: Form Validation: JS + PHP (https://forums.formtools.org/forumdisplay.php?fid=18)
+--- Thread: Google Maps Error (/showthread.php?tid=26764)

Pages: 1 2


Google Maps Error - nelsondcosta - Jul 31st, 2017

Hello guys, 

Im getting a error using Google Maps Module, when I opem any form, I have an error.

[Image: google.png]


RE: Google Maps Error - nelsondcosta - Aug 23rd, 2017

bump?!


RE: Google Maps Error - Polkafest - Sep 6th, 2017

(Aug 23rd, 2017, 7:20 AM)nelsondcosta Wrote: bump?!

I changed some code to get it working, and you need a google maps api  key from  https://developers.google.com/maps/documentation/javascript/get-api-key.

  if ($has_google_map_field)
   // this is the changed code
  echo "<script>var map;function initMap(){map=new google.maps.Map(document.getElementById('google_maps_field'),{center:{lat:52.005595,lng:5.8263877},zoom:12})}</script><script defer src=\"https://maps.googleapis.com/maps/api/js?key=AIzaSorryuseyourownkeyiXzStAkoS6Qo&callback=initMap\"&type=\"text/javascript\
</script>\n";
// comment, this is not required any more echo "<script src=\"http://maps.google.com/maps/api/js?sensor=false\"></script>\n";


RE: Google Maps Error - nelsondcosta - Sep 7th, 2017

(Sep 6th, 2017, 6:52 PM)Polkafest Wrote:
(Aug 23rd, 2017, 7:20 AM)nelsondcosta Wrote: bump?!

I changed some code to get it working, and you need a google maps api  key from  https://developers.google.com/maps/documentation/javascript/get-api-key.

  if ($has_google_map_field)
   // this is the changed code
  echo "<script>var map;function initMap(){map=new google.maps.Map(document.getElementById('google_maps_field'),{center:{lat:52.005595,lng:5.8263877},zoom:12})}</script><script defer src=\"https://maps.googleapis.com/maps/api/js?key=AIzaSorryuseyourownkeyiXzStAkoS6Qo&callback=initMap\"&type=\"text/javascript\
</script>\n";
// comment, this is not required any more echo "<script src=\"http://maps.google.com/maps/api/js?sensor=false\"></script>\n";

I ll test and give thefeeback Smile


RE: Google Maps Error - nelsondcosta - Sep 8th, 2017

(Sep 7th, 2017, 12:29 PM)nelsondcosta Wrote:
(Sep 6th, 2017, 6:52 PM)Polkafest Wrote:
(Aug 23rd, 2017, 7:20 AM)nelsondcosta Wrote: bump?!

I changed some code to get it working, and you need a google maps api  key from  https://developers.google.com/maps/documentation/javascript/get-api-key.

  if ($has_google_map_field)
   // this is the changed code
  echo "<script>var map;function initMap(){map=new google.maps.Map(document.getElementById('google_maps_field'),{center:{lat:52.005595,lng:5.8263877},zoom:12})}</script><script defer src=\"https://maps.googleapis.com/maps/api/js?key=AIzaSorryuseyourownkeyiXzStAkoS6Qo&callback=initMap\"&type=\"text/javascript\
</script>\n";
// comment, this is not required any more echo "<script src=\"http://maps.google.com/maps/api/js?sensor=false\"></script>\n";

I ll test and give thefeeback Smile

WORKS Smile


RE: Google Maps Error - borgeeee - Nov 8th, 2017

(Sep 6th, 2017, 6:52 PM)Polkafest Wrote:
(Aug 23rd, 2017, 7:20 AM)nelsondcosta Wrote: bump?!

I changed some code to get it working, and you need a google maps api  key from  https://developers.google.com/maps/documentation/javascript/get-api-key.

  if ($has_google_map_field)
   // this is the changed code
  echo "<script>var map;function initMap(){map=new google.maps.Map(document.getElementById('google_maps_field'),{center:{lat:52.005595,lng:5.8263877},zoom:12})}</script><script defer src=\"https://maps.googleapis.com/maps/api/js?key=AIzaSorryuseyourownkeyiXzStAkoS6Qo&callback=initMap\"&type=\"text/javascript\
</script>\n";
// comment, this is not required any more echo "<script src=\"http://maps.google.com/maps/api/js?sensor=false\"></script>\n";

Good day!.. Hope everything is well..

In what file did you exactly add this code?

Thank & Regards.


RE: Google Maps Error - nelsondcosta - Nov 8th, 2017

Dont remember XD but search for Polkafest, because i foudn the solution in oter topic Tongue


RE: Google Maps Error - weems085 - Dec 30th, 2017

Great Help!


RE: Google Maps Error - Polkafest - Jan 23rd, 2018

I changed the code in the formtools module for google maps, a library file . .. just search for string has_google_map_field


RE: Google Maps Error - nelsondcosta - Jan 24th, 2018

Do you think it's possible.
Running the FT on a smartphone, create a button that will tell you your location via GPS?