Jump to content
TNG Community

Openstreetmap mod v13.0.0.7b to 7c upgraded failed


Peter Heerink

Recommended Posts

Peter Heerink

Hello Folks,

 

I have tried to upgrade from version 7b tot 7c and it failed. I was however not able to go back to 7b. That failed to

Further because I maked a nasty mistake in adding in the mapsettings as the key for the map "OSM" in stead of OSM (without quotes ).

This resulted in a crash of the admin part of the website. Registered users were not able to access the database anymore. The getperson.php page did result in an error 500.

Darrin was so kind to look in this matter and fixed it. May be a warning on the wiki is possible. The affected file that maked the problem was not listed so far.

The file that created the problem was mapconfig.php   Here the extra "" had to be removed.

The map is still not working but I plan soon to upgrade to TNG v14

   

 

Link to comment
Share on other sites

Michel KIRSCH
On 1/26/2024 at 9:11 AM, Peter Heerink said:

May be a warning on the wiki is possible

on the wiki :

Simply Install, Fill your API key box with "OSM" without quotes (TNG 13+) or empty it (TNG < 13), Save and it's done.

in Mod Manager :

v7c :
Requires OSM in the beginning of the map key in Map Settings to activate OpenStreet Maps after you install the mod

In a change from previous version of OpenStreetMap, you must start your map key with "OSM" to get TNG to use OSM.
You can leave your google key in the map key field after "OSM". (Do not use quotes)

in v8j :
Once the Mod is installed, do not forget to start your map key with "OSM" (without quotes) to get TNG to use OSM.
You can leave your Google key in the map key field after "OSM". (Do not use quotes)

Sorry, can't do better :-)
Michel

Link to comment
Share on other sites

On 1/26/2024 at 3:11 AM, Peter Heerink said:

The file that created the problem was mapconfig.php   Here the extra "" had to be removed.

The map is still not working but I plan soon to upgrade to TNG v14

Peter,

What version of TNG are you using?  what version of PHP?

If Darrin was able to look at your site, I take it is is online.  What is the URL for a page where the map is not working?

Link to comment
Share on other sites

Peter Heerink

Hello Ken,

Yes my site is online again, but without the map.

I use TNG version 13.0.4 and have PHP 8.1.24 running with MySQL 10.4.27-MariaDB

I have installe mod openstreetmap_v13.0.0.7b.cfg

I have put OSM in may key of the Map Settings

The map did work with vesion 7b. After upgrade to 7c it refused however. Going back to 7b did not work too

 

Greetings Peter

Link to comment
Share on other sites

Peter Heerink
Just now, Peter Heerink said:

Hello Ken,

Yes my site is online again, but without the map.

I use TNG version 13.0.4 and have PHP 8.1.24 running with MySQL 10.4.27-MariaDB

I have installe mod openstreetmap_v13.0.0.7b.cfg

I have put OSM in may key of the Map Settings

The map did work with vesion 7b. After upgrade to 7c it refused however. Going back to 7b did not work too

https://genealogie.historischekringlosser.nl/index.php

Greetings Peter

 

Link to comment
Share on other sites

Michel KIRSCH

Peter,

to be able to help you, i need an Administrator account on your site.

Send it to genealogie AT mkirsch.be

Could you install the english language too? Thanks.

Michel

Link to comment
Share on other sites

1 hour ago, Peter Heerink said:

I use TNG version 13.0.4 and have PHP 8.1.24 running with MySQL 10.4.27-MariaDB

TNG 13.0.3 was not tested during beta test with any PHP 8 versions.  If you can downgrade to PHP 7.4, it might resolve your problem See TNG versions

Link to comment
Share on other sites

  • 2 months later...
Peter Heerink

Hello Folks,

 

Today I have updated my TNG website from v13.0.4 to v14.0.4. I was hoping to solve the problem with my OSM map.

The OpenStreetmap v13.0.0.7b face the same problem that it can not install the mod

I have tried several things , like manually copying the files but I did not succeed.

I followed already the by Ken recommended upgrade from the cust_text.php

It did a lot of cust_text.php but not in the Dutch_UTF language

This is error message.

 

Thanks for any help and advice

 

Peter 

 

ijn 65: %copyfile: osmmaplib.php  niet gekopiëerd
Bron: mods/openstreetmap_v13.1.0.8j/osmmaplib.php
lijn 66: %copyfile: osmmaplib2.php  niet gekopiëerd
Bron: mods/openstreetmap_v13.1.0.8j/osmmaplib2.php
lijn 67: %copyfile: osmmapdrawthemap.php  niet gekopiëerd
Bron: mods/openstreetmap_v13.1.0.8j/osmmapdrawthemap.php
lijn 68: %copyfile: heatmap_OSM.php  niet gekopiëerd
Bron: mods/openstreetmap_v13.1.0.8j/heatmap_OSM.php
lijn 69: %copyfile: osm_settings.php  niet gekopiëerd
Bron: mods/openstreetmap_v13.1.0.8j/osm_settings.php
lijn 70: %copyfile: osmmapswitch.js  niet gekopiëerd
Bron: mods/openstreetmap_v13.1.0.8j/osmmapswitch.js
lijn 71: %copyfile2: css/ol.css  niet gekopiëerd
Bron: mods/openstreetmap_v13.1.0.8j/ol.css
lijn 72: %copyfile2: css/ol-geocoder.min.css  niet gekopiëerd
Bron: mods/openstreetmap_v13.1.0.8j/ol-geocoder.min.css
lijn 73: %copyfile2: css/ol-popup.css  niet gekopiëerd
Bron: mods/openstreetmap_v13.1.0.8j/ol-popup.css
lijn 74: %copyfile2: js/ol.js  niet gekopiëerd
Bron: mods/openstreetmap_v13.1.0.8j/ol.js
lijn 75: %copyfile2: js/ol-geocoder.js  niet gekopiëerd
Bron: mods/openstreetmap_v13.1.0.8j/ol-geocoder.js
lijn 76: %copyfile2: js/ol-popup.js  niet gekopiëerd
Bron: mods/openstreetmap_v13.1.0.8j/ol-popup.js
lijn 77: %copyfile2: img/osmpin.png  niet gekopiëerd
Bron: mods/openstreetmap_v13.1.0.8j/osmpin.png
lijn 78: %copyfile2: img/osmmap.gif  niet gekopiëerd
Bron: mods/openstreetmap_v13.1.0.8j/osmmap.gif
lijn 79: %copyfile2: img/osmsatel.gif  niet gekopiëerd
Bron: mods/openstreetmap_v13.1.0.8j/osmsatel.gif
lijn 87: %target admin_updatemapconfig.php gecontroleerd

lijn 89: %location #1 %insert:after niet geïnstalleerd

lijn 109: %target mapconfig.php gecontroleerd

lijn 111: %location #1 %insert:after niet geïnstalleerd

lijn 128: %target genlib.php gecontroleerd

lijn 137: %location #1 %replace niet geïnstalleerd
lijn 159: %location #2 v474 %insert:after Ongeldig doel

lijn 183: %target admin_editplace.php gecontroleerd

lijn 192: %location #1 %insert:before niet geïnstalleerd
lijn 219: %location #2 %replace niet geïnstalleerd
lijn 252: %location #3 %replace niet geïnstalleerd
lijn 279: %location #4 %replace niet geïnstalleerd
lijn 299: %location #5 %replace niet geïnstalleerd

lijn 323: %target admin_editmedia.php gecontroleerd

lijn 332: %location #1 %insert:before niet geïnstalleerd
lijn 358: %location #2 %replace niet geïnstalleerd
lijn 390: %location #3 %replace niet geïnstalleerd
lijn 414: %location #4 %replace niet geïnstalleerd

lijn 438: %target admin_newplace.php gecontroleerd

lijn 446: %location #1 %insert:before niet geïnstalleerd
lijn 471: %location #2 %replace niet geïnstalleerd
lijn 502: %location #3 %replace niet geïnstalleerd
lijn 522: %location #4 %replace niet geïnstalleerd
lijn 546: %location #5 %replace niet geïnstalleerd

lijn 570: %target admin_editcemetery.php gecontroleerd

lijn 578: %location #1 %insert:before niet geïnstalleerd
lijn 603: %location #2 %replace niet geïnstalleerd
lijn 635: %location #3 %replace niet geïnstalleerd
lijn 659: %location #4 %replace niet geïnstalleerd

lijn 688: %target admin_newcemetery.php gecontroleerd

lijn 692: %location #1 %insert:before niet geïnstalleerd
lijn 716: %location #2 %replace niet geïnstalleerd
lijn 748: %location #3 %replace niet geïnstalleerd
lijn 772: %location #4 %replace niet geïnstalleerd

lijn 796: %target admin_places.php gecontroleerd

lijn 806: %location #1 %replace niet geïnstalleerd

lijn 829: %target getperson.php gecontroleerd

lijn 845: %location #1 %replace niet geïnstalleerd
lijn 862: %location #2 %insert:before niet geïnstalleerd
lijn 878: %location #3 %insert:after niet geïnstalleerd

lijn 902: %target placesearch.php gecontroleerd

lijn 910: %location #1 %replace niet geïnstalleerd
lijn 933: %location #2 %replace niet geïnstalleerd

lijn 959: %target headstones.php gecontroleerd

lijn 968: %location #1 %replace niet geïnstalleerd
lijn 987: %location #2 %replace niet geïnstalleerd

lijn 1015: %target showmap.php gecontroleerd

lijn 1025: %location #1 %replace niet geïnstalleerd
lijn 1043: %location #2 %replace niet geïnstalleerd

lijn 1071: %target heatmap.php gecontroleerd

lijn 1076: %location #1 %insert:before niet geïnstalleerd

lijn 1112: %target admin_mapconfig.php gecontroleerd

lijn 1115: %location #1 %replace niet geïnstalleerd

lijn 1139: %target languages/English/cust_text.php gecontroleerd

lijn 1141: %location #1 %insert:before niet geïnstalleerd

lijn 1166: %target languages/English-UTF8/cust_text.php gecontroleerd

lijn 1168: %location #1 %insert:before niet geïnstalleerd

lijn 1193: %target @languages/Czech/cust_text.php gecontroleerd

lijn 1195: %location #1 %insert:before niet geïnstalleerd

lijn 1220: %target @languages/Czech-UTF8/cust_text.php gecontroleerd

lijn 1222: %location #1 %insert:before niet geïnstalleerd

lijn 1247: %target @languages/Danish/cust_text.php gecontroleerd

lijn 1249: %location #1 %insert:before niet geïnstalleerd

lijn 1274: %target @languages/Danish-UTF8/cust_text.php gecontroleerd

lijn 1276: %location #1 %insert:before niet geïnstalleerd

lijn 1301: %target @languages/Dutch/cust_text.php gecontroleerd

lijn 1303: %location #1 %insert:before niet geïnstalleerd

lijn 1328: %target @languages/Dutch-UTF8/cust_text.php gecontroleerd

lijn 1330: %location #1 %insert:before niet geïnstalleerd

lijn 1355: %target @languages/French/cust_text.php gecontroleerd

lijn 1357: %location #1 %insert:before niet geïnstalleerd

lijn 1382: %target @languages/French-UTF8/cust_text.php gecontroleerd

lijn 1384: %location #1 %insert:before niet geïnstalleerd

lijn 1409: %target @languages/German/cust_text.php gecontroleerd

lijn 1411: %location #1 %insert:before niet geïnstalleerd

lijn 1437: %target @languages/German-UTF8/cust_text.php gecontroleerd

lijn 1439: %location #1 %insert:before niet geïnstalleerd

lijn 1464: %target @languages/Icelandic/cust_text.php gecontroleerd

lijn 1466: %location #1 %insert:before niet geïnstalleerd

lijn 1491: %target @languages/Icelandic-UTF8/cust_text.php gecontroleerd

lijn 1493: %location #1 %insert:before niet geïnstalleerd

lijn 1518: %target @languages/Norwegian/cust_text.php gecontroleerd

lijn 1520: %location #1 %insert:before niet geïnstalleerd

lijn 1545: %target @languages/Norwegian-UTF8/cust_text.php gecontroleerd

lijn 1547: %location #1 %insert:before niet geïnstalleerd

lijn 1572: %target @languages/Polish-UTF8/cust_text.php gecontroleerd

lijn 1574: %location #1 %insert:before niet geïnstalleerd

lijn 1599: %target @languages/PortugueseBR/cust_text.php gecontroleerd

lijn 1601: %location #1 %insert:before niet geïnstalleerd

lijn 1626: %target @languages/PortugueseBR-UTF8/cust_text.php gecontroleerd

lijn 1628: %location #1 %insert:before niet geïnstalleerd

lijn 1653: %target @languages/Spanish/cust_text.php gecontroleerd

lijn 1655: %location #1 %insert:before niet geïnstalleerd

lijn 1680: %target @languages/Spanish-UTF8/cust_text.php gecontroleerd

lijn 1682: %location #1 %insert:before niet geïnstalleerd

lijn 1707: %target @languages/Swedish/cust_text.php gecontroleerd

lijn 1710: %location #1 %insert:before niet geïnstalleerd

lijn 1735: %target @languages/Swedish-UTF8/cust_text.php gecontroleerd

lijn 1738: %location #1 %insert:before niet geïnstalleerd

lijn 1762: %target @osm_settings.php bestand niet aanwezig (optioneel) zal negeren
Link to comment
Share on other sites

Leif Sweden

Hello Peter,

If you follow what Michel Kirsch asked for I think he can solve your problem. He has helped me before.

Leif

Link to comment
Share on other sites

Peter Heerink

Thx, I have re-installed my v13.4 TNG website due to another problem.

Next time I will try it again. If it fails I will certainly ask Michel Kirsch for help.

 

Peter

Link to comment
Share on other sites

  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...