![]() |
|
OpenStreetMap - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html) +--- Thread: OpenStreetMap (/thread-13538.html) |
OpenStreetMap - jwaltrip4 - 2021-03-09 You stated:
What is OSM from github? Did you mean ZP_OpenStreetmap in github? the only OSM I see is OSM Labs OpenStreetMap - acrylian - 2021-03-09
No, as you can read there it is abandoned becuase it is incorporated in Zenphoto. I am referring to the master build (also known as support build) of Zenphoto from GitHub. Linked from the download page and also mentioned on the installation page: https://www.zenphoto.org/news/installation-and-upgrading/ Here: OpenStreetMap - jwaltrip4 - 2021-03-09 Ahhh... 1.5.8? (vs 1.5.7 I installed) OpenStreetMap - fretzl - 2021-03-09 You need to download and install the Support build OpenStreetMap - acrylian - 2021-03-09 It is not 1.5.8 yet, it 's 1.5.8RC currently (Release candidate). Please take the time and read the links we post. OpenStreetMap - jwaltrip4 - 2021-03-09 Just tested again. Image with good GPS info returned no errors in apache error log or debug log. Image with bad GPS info returns this: (debug)
(apache)
Looking at the code, and I think you already said, something bad is being passed. the error does not point to what that is directly I will DL 1.5.7 and 1.5.8 and try them from git (Install is currently from GIT OpenStreetMap - acrylian - 2021-03-09 You really need to try the 1.5.8RC version of the plugin where I think I have fixed this. Since I don't an image at hand to reproduce the issue so you need to confirm it is or not. OpenStreetMap - jwaltrip4 - 2021-03-09 thanks. Where can I find 1.5.8RC? OpenStreetMap - acrylian - 2021-03-09 Fretzl provided a direct link above and it is linkeed on our download page. Otherwise the green button on https://github.com/zenphoto/zenphoto OpenStreetMap - jwaltrip4 - 2021-03-09 Ah... It does not say 1.58, so I assumed it was 1.57. CMS Working.... But now openstreetmap does not display at all good or bad OpenStreetMap - acrylian - 2021-03-09
No, because it is always the work in progress next version, in this case it will become 1.5.8 later on
Review your logs. OpenStreetMap - jwaltrip4 - 2021-03-09 where do you set debugging options? I cant remember OpenStreetMap - acrylian - 2021-03-09 zp-core/global-definitions.php Errors are logged anyway. OpenStreetMap - jwaltrip4 - 2021-03-09 OK... Interestingly.... Not seeing any errors in debug.log, or apache log. Just no openstreetmaps OpenStreetMap - jwaltrip4 - 2021-03-09 I am seeing new error... but it is not tied to web access
OpenStreetMap - jwaltrip4 - 2021-03-10 And I have been hunting around all of the settings... OpenStreeMap just is not working. I even tried switching to another theme (zenpage) OpenStreetMap - acrylian - 2021-03-10 It seems that your image has invalid or corrupt meta data as the notice above tells. That is the core metadata handler and not the OSM plugin. For example if there a values but not "real coordinates". Currently there is no check if the coordinates are valid itself. I have to look at the exif handler what it exaclty does and if there is already a check (it is technically a 3rd party tool that was taken in once). OpenStreetMap - acrylian - 2021-03-10 I looked at the exif library and since it is a bit old it and I am not that familiar with it in detail, it seems not to use the PHP standard function I guess this library was made before this function was available. Perhaps not the best way to parse exif data anymore. And ZP does use OpenStreetMap - acrylian - 2021-03-10 I reviewed and apparently my fix is not working as expected. Besides the issue your image provides. OpenStreetMap - acrylian - 2021-03-10 There is a fix up that also validates that the geocoords are actually within the valid range. However there is no fix if there is actually no proper data within the image. |