Jump to content
TNG Community
Rob Roy

OpenStreetMap Mod not working in 12.3

Recommended Posts

Rob Roy

OpenStreetMap came up as Cannot Install:  Using 12.0.0.5 version.  Here is the detail:

Author: Erik Hoppe

This mod creates OSM maps if you have no GoogleMap API key.
Note the Edit Options after install.

Updates from v12.0.0.4:
* Some map-settings showed blank map but all the rest - Thanks to Patricia Hobbs for the alert.
* Zoom > 17 (max f Satellite) zoomed out when toggled.

Please report errors using the Mod Support link at the Wiki page.
Support this mod by adding your site to the Site list at the Wiki page!
Thank You,
Erik

 

flags:
@  optional
^  (provisional) must be available
~  protected

 

line 27: %copyfile: osmmaplib.php  not copied
Source: mods/OpenStreetMap.5/osmmaplib.php
line 28: %copyfile: osmmaplib2.php  not copied
Source: mods/OpenStreetMap.5/osmmaplib2.php
line 29: %copyfile: osmmapdrawthemap.php  not copied
Source: mods/OpenStreetMap.5/osmmapdrawthemap.php
line 30: %copyfile: heatmap_OSM.php  not copied
Source: mods/OpenStreetMap.5/heatmap_OSM.php
line 31: %copyfile: osm_settings.php  not copied
Source: mods/OpenStreetMap.5/osm_settings.php
line 32: %copyfile: osmmapswitch.js  not copied
Source: mods/OpenStreetMap.5/osmmapswitch.js
line 33: %copyfile2: css/ol.css  not copied
Source: mods/OpenStreetMap.5/ol.css
line 34: %copyfile2: css/ol-geocoder.min.css  not copied
Source: mods/OpenStreetMap.5/ol-geocoder.min.css
line 35: %copyfile2: css/ol-popup.css  not copied
Source: mods/OpenStreetMap.5/ol-popup.css
line 36: %copyfile2: js/ol.js  not copied
Source: mods/OpenStreetMap.5/ol.js
line 37: %copyfile2: js/ol-geocoder.js  not copied
Source: mods/OpenStreetMap.5/ol-geocoder.js
line 38: %copyfile2: js/ol-popup.js  not copied
Source: mods/OpenStreetMap.5/ol-popup.js
line 39: %copyfile2: img/osmpin.png  not copied
Source: mods/OpenStreetMap.5/osmpin.png
line 40: %copyfile2: img/osmmap.gif  not copied
Source: mods/OpenStreetMap.5/osmmap.gif
line 41: %copyfile2: img/osmsatel.gif  not copied
Source: mods/OpenStreetMap.5/osmsatel.gif
line 50: %target:genlib.php% verified

line 51: %location:% #1 not installed
line 66: %location:% #2 not installed
line 81: %location:% #3 Bad target

line 102: %target:personlib.php% verified

line 103: %location:% #1 Bad target

line 124: %target:admin_main.php% verified

line 125: %location:% #1 not installed

line 150: %target:admin_editplace.php% verified

line 151: %location:% #1 not installed
line 178: %location:% #2 not installed
line 201: %location:% #3 not installed
line 216: %location:% #4 not installed
line 237: %location:% #5 not installed
line 269: %location:% #6 not installed

line 295: %target:admin_editmedia.php% verified

line 296: %location:% #1 not installed
line 323: %location:% #2 not installed
line 357: %location:% #3 not installed
line 389: %location:% #4 not installed

line 417: %target:admin_newplace.php% verified

line 418: %location:% #1 not installed
line 445: %location:% #2 not installed
line 461: %location:% #3 not installed
line 483: %location:% #4 not installed
line 498: %location:% #5 not installed
line 531: %location:% #6 not installed

line 557: %target:admin_editcemetery.php% verified

line 558: %location:% #1 not installed
line 585: %location:% #2 not installed
line 608: %location:% #3 not installed
line 623: %location:% #4 not installed
line 655: %location:% #5 not installed

line 683: %target:admin_newcemetery.php% verified

line 684: %location:% #1 not installed
line 711: %location:% #2 not installed
line 733: %location:% #3 not installed
line 748: %location:% #4 not installed
line 781: %location:% #5 not installed

line 809: %target:admin_places.php% verified

line 810: %location:% #1 not installed
line 826: %location:% #2 not installed
line 849: %location:% #3 not installed
line 872: %location:% #4 not installed
line 889: %location:% #5 not installed

line 913: %target:getperson.php% verified

line 914: %location:% #1 not installed
line 929: %location:% #2 not installed
line 944: %location:% #3 not installed
line 960: %location:% #4 Bad target
line 975: %location:% #5 not installed
line 992: %location:% #6 not installed
line 1009: %location:% #7 not installed
line 1026: %location:% #8 not installed
line 1043: %location:% #9 not installed

line 1068: %target:placesearch.php% verified

line 1069: %location:% #1 not installed
line 1085: %location:% #2 not installed
line 1100: %location:% #3 not installed

line 1123: %target:headstones.php% verified

line 1124: %location:% #1 not installed
line 1140: %location:% #2 not installed

line 1166: %target:showmap.php% verified

line 1167: %location:% #1 not installed
line 1186: %location:% #2 not installed
line 1202: %location:% #3 not installed

line 1228: %target:heatmap.php% verified

line 1229: %location:% #1 not installed

line 1263: %target:@osm_settings.php% file missing (optional) will ignore

Share this post


Link to post
Share on other sites
Ken Roy

Rob,

You need to check the TNG WIki by clicking on the W icon in the Mod Manager when a mod shows a Cannot Install status.

The OpenStreetMap mod was updated to work with TNG 12.3 during beta testing and a production version was publish when TNG 12.3 was made generally available.

Share this post


Link to post
Share on other sites
Rob Roy

I have two instances of TNG (both licensed).  I just installed 12.3 on the second instance, which is the out of the box version with Open Street Map 12.3.0.6.  I am getting a "Cannot Install".  In the lists of files not copied, I checked and they are all there.  I also downloaded the working files from the first instance and loaded them in the second instance.  Still get the "Cannot Install"  Here are the error messages:

line 31: %copyfile: osmmaplib.php  not copied
Source: mods/OpenStreetMap.6/osmmaplib.php
line 32: %copyfile: osmmaplib2.php  not copied
Source: mods/OpenStreetMap.6/osmmaplib2.php
line 33: %copyfile: osmmapdrawthemap.php  not copied
Source: mods/OpenStreetMap.6/osmmapdrawthemap.php
line 34: %copyfile: heatmap_OSM.php  not copied
Source: mods/OpenStreetMap.6/heatmap_OSM.php
line 35: %copyfile: osm_settings.php  not copied
Source: mods/OpenStreetMap.6/osm_settings.php
line 36: %copyfile: osmmapswitch.js  not copied
Source: mods/OpenStreetMap.6/osmmapswitch.js
line 37: %copyfile2: css/ol.css  not copied
Source: mods/OpenStreetMap.6/ol.css
line 38: %copyfile2: css/ol-geocoder.min.css  not copied
Source: mods/OpenStreetMap.6/ol-geocoder.min.css
line 39: %copyfile2: css/ol-popup.css  not copied
Source: mods/OpenStreetMap.6/ol-popup.css
line 40: %copyfile2: js/ol.js  not copied
Source: mods/OpenStreetMap.6/ol.js
line 41: %copyfile2: js/ol-geocoder.js  not copied
Source: mods/OpenStreetMap.6/ol-geocoder.js
line 42: %copyfile2: js/ol-popup.js  not copied
Source: mods/OpenStreetMap.6/ol-popup.js
line 43: %copyfile2: img/osmpin.png  not copied
Source: mods/OpenStreetMap.6/osmpin.png
line 44: %copyfile2: img/osmmap.gif  not copied
Source: mods/OpenStreetMap.6/osmmap.gif
line 45: %copyfile2: img/osmsatel.gif  not copied
Source: mods/OpenStreetMap.6/osmsatel.gif
line 54: %target:genlib.php% verified

line 55: %location:% #1 not installed
line 70: %location:% #2 not installed
line 85: %location:% #3 Bad target

line 108: %target:personlib.php% verified

line 109: %location:% #1 Bad target

line 130: %target:admin_main.php% verified

line 131: %location:% #1 not installed

line 156: %target:admin_editplace.php% verified

line 157: %location:% #1 not installed
line 184: %location:% #2 not installed
line 207: %location:% #3 not installed
line 222: %location:% #4 not installed
line 243: %location:% #5 not installed
line 275: %location:% #6 not installed

line 301: %target:admin_editmedia.php% verified

line 302: %location:% #1 not installed
line 329: %location:% #2 not installed
line 363: %location:% #3 not installed
line 395: %location:% #4 not installed

line 423: %target:admin_newplace.php% verified

line 424: %location:% #1 not installed
line 451: %location:% #2 not installed
line 467: %location:% #3 not installed
line 489: %location:% #4 not installed
line 504: %location:% #5 not installed
line 537: %location:% #6 not installed

line 563: %target:admin_editcemetery.php% verified

line 564: %location:% #1 not installed
line 591: %location:% #2 not installed
line 614: %location:% #3 not installed
line 629: %location:% #4 not installed
line 661: %location:% #5 not installed

line 689: %target:admin_newcemetery.php% verified

line 690: %location:% #1 not installed
line 717: %location:% #2 not installed
line 739: %location:% #3 not installed
line 754: %location:% #4 not installed
line 787: %location:% #5 not installed

line 815: %target:admin_places.php% verified

line 816: %location:% #1 not installed
line 832: %location:% #2 not installed
line 855: %location:% #3 not installed
line 878: %location:% #4 not installed
line 895: %location:% #5 not installed

line 919: %target:getperson.php% verified

line 920: %location:% #1 not installed
line 935: %location:% #2 not installed
line 950: %location:% #3 not installed
line 966: %location:% #4 Bad target
line 981: %location:% #5 not installed
line 998: %location:% #6 not installed
line 1015: %location:% #7 not installed
line 1032: %location:% #8 not installed
line 1049: %location:% #9 not installed

line 1074: %target:placesearch.php% verified

line 1075: %location:% #1 not installed
line 1091: %location:% #2 not installed
line 1106: %location:% #3 not installed

line 1129: %target:headstones.php% verified

line 1130: %location:% #1 not installed
line 1146: %location:% #2 not installed

line 1172: %target:showmap.php% verified

line 1173: %location:% #1 not installed
line 1192: %location:% #2 not installed
line 1208: %location:% #3 not installed

line 1234: %target:heatmap.php% verified

line 1235: %location:% #1 not installed

line 1269: %target:@osm_settings.php% file missing (optional) will ignore

Share this post


Link to post
Share on other sites
tngrlkrz

As to the 'not copied' , it doesn't mean the files are missing, it merely means Mod Mgr didn't process the command because of the bad targets elsewhere in the cfg file. When you say you downloaded the 'working files' , was that files from the tng root, or the mods or ? You would need the exact same mods installed on the second system.

With  bad targets in 3 different php files,  it is likely  that you have contamination of those php files from mod remnants from this or another mod which wasn't uninstalled properly.  On the OSM, attempt to 'cleanup' from the 'cannot install'. 

I would uninstall all other mods, then refresh original files (at least genlib.php, getperson.php and personlib.php) from the tng12.3 upgrade distribution.  Then, if all 'ok to install' status, reinstall your mods.

Alternatively, if you are comfortable doing it, you could inspect one of the 'bad targets' , such as getperson.php, looking what is actually there  where the location target should have been.  You could even do a quick search of 'Open Street' (since the author wrapped code with comments) within the 'bad target' files and if you get any 'hits', then you know you have remnants of a bad uninstall and you need to refresh files with no other mods installed.

Ron

Share this post


Link to post
Share on other sites
Rob Roy

Ron, That fixed that issue.  Now I just have the Collapse Family Children and Show Nickname that cannot install.  Oh, and those two cannot install on both instances.

Rob Roy (no relation to Ken)

 

Share this post


Link to post
Share on other sites
tngrlkrz

Rob,

I assume you've downloaded the tng 12.3 version of Collapse_Family_Children ?  It is supported.  Are you also referring to the Show_Nicknames mod? I do now see it has  5 bad targets in the tngdblib.php file which haven't been addressed, and not sure if anyone else has looked at it before release of tng12.3. 

You might contact the mod's author User:Nkristensen.  His last activity on this mod was over a year ago.

 

Share this post


Link to post
Share on other sites
Rob Roy

Yes

collapse_family_children_v12.3.0.3.cfg

Share this post


Link to post
Share on other sites
tngrlkrz
3 minutes ago, Rob Roy said:

Yes

collapse_family_children_v12.3.0.3.cfg

The show nicknames is *not* supported yet on v12.3, but is on v12.03.  I looked and the nickname mod is fairly easy to make compliant with v12.3.

Collapse family children runs fine on tng12.3 on my system.  You may have a conflict with another mod,....or...more contamination.  Uninstall all other mods but that one, and it should be clear to install.  You need to post what errors you are getting (just that mod).

 

Share this post


Link to post
Share on other sites
Rob Roy

Just uninstalled all mods, and collapse family children shows "cannot install"  Here is the error

line 10: %target:getperson.php% verified

line 12: %location:% #1 not installed
line 27: %location:% #2 Bad target
line 35: %location:% #3 not installed
line 43: %location:% #4 not installed
line 51: %location:% #5 not installed
line 59: %location:% #6 not installed
line 67: %location:% #7 not installed
line 75: %location:% #8 not installed
line 85: %location:% #9 not installed

Share this post


Link to post
Share on other sites
tngrlkrz

Then it is likely you have corruption in getperson.php.  You can tell that by refreshing getperson.php from your downloaded upgrade tng12.3 files and see if it clears it up.  As to the show nicknames, try this 'beta' version, since you have not contacted the author.  It installs fine on my system, ....as the *only* mod installed.

show_nicknames_v12.3.3.1beta.cfg

 

Share this post


Link to post
Share on other sites
Rob Roy

Will try.  Oh, I did contact the author yesterday but have heard nothing back.

Share this post


Link to post
Share on other sites
Rob Roy

Results.  Show Nickname (outstanding mod by the way) works fine.  Thank you for the fix.

Collapse Family Children (only a nice to have for me) still displays Cannot install after relocading getperson.php.

Rob

Share this post


Link to post
Share on other sites
tngrlkrz
6 minutes ago, Rob Roy said:

Results.  Show Nickname (outstanding mod by the way) works fine.  Thank you for the fix.

Collapse Family Children (only a nice to have for me) still displays Cannot install after relocading getperson.php.

Rob

I have passed along the 'beta' of Show Nicknames to the author for his review.  Hmmm...Was this with all other mods uninstalled?  Not sure why you cannot install collapse family children.  If you could post or message me your getperson.php file I can give it a try on my system.  Again (sorry to repeat) send getperson.php without any other mods installed when you get the status error.  It *must* be identical to the tng12.3 distributed file, otherwise you have some other mod touching it.

 

Ron

Share this post


Link to post
Share on other sites
Rob Roy

Belay the last.  Just uninstalled all mods, and reloaded the get file.  Collapse Family Children now works.  Bold Person doesn't, but I know the guy who built it. 

Share this post


Link to post
Share on other sites
tngrlkrz

OK, so you have a conflict to resolve.  I think that's good news that the problem has been isolated.  Since 'bold person' is unpublished, I will leave it to you and your friend to fix😉

Share this post


Link to post
Share on other sites
Rob Roy

Brett is on the other side of the globe, but we work reasonably well together. 

 

Share this post


Link to post
Share on other sites
tngrlkrz

Niels has responded and will review the 'beta' of Show Nicknames and will likely post the TNG 12.3 compliant version.

Ron

Share this post


Link to post
Share on other sites
Rob Roy

Found the culprit.  Collapse Children steps on Bold Name.  Hopefully a simple fix for Brett. 

Share this post


Link to post
Share on other sites
tngrlkrz
1 minute ago, Rob Roy said:

Found the culprit.  Collapse Children steps on Bold Name.  Hopefully a simple fix for Brett. 

Good.  I would hope Brett leaves Collapse Children as is since released already, and opt to adjust his mod.

Share this post


Link to post
Share on other sites
Rob Roy

I am sure he will.  He was originally working on those private mods to make them available to all when ready.  They aren't necessarily startling but make the page a bit neater. 

Regards,

Rob Roy

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×