Pages (6):    1 2 3 4 5 6   
Administrator
Administrator
acrylian   09-03-2021, 20:35
#31

Ah... It does not say 1.58, so I assumed it was 1.57.

No, because it is always the work in progress next version, in this case it will become 1.5.8 later on

CMS Working.... But now openstreetmap does not display at all good or bad

Review your logs.

Member
Member
jwaltrip4   09-03-2021, 20:56
#32

where do you set debugging options? I cant remember

Administrator
Administrator
acrylian   09-03-2021, 21:00
#33

zp-core/global-definitions.php

Errors are logged anyway.

Member
Member
jwaltrip4   09-03-2021, 21:20
#34

OK... Interestingly.... Not seeing any errors in debug.log, or apache log.

Just no openstreetmaps

Member
Member
jwaltrip4   09-03-2021, 23:39
#35

I am seeing new error... but it is not tied to web access

{3920463:Tue, 09 Mar 2021 20:49:45 GMT}
NOTICE: Uninitialized string offset: 1 in /var/www/cms.waltrips.com/zp-core/exif/makers/gps.php on line 82
formatGPSData called from parseGPS (gps.php [216])
from read_entry (exif.php [830])
from read_exif_data_raw (exif.php [1036])
from read_exif_data_protected (functions.php [2451])
from Image->updateMetaData (class-image.php [340])
from Gallery->garbageCollect (class-gallery.php [818])
from admin-refresh-metadata.php [33]

Member
Member
jwaltrip4   10-03-2021, 00:11
#36

And I have been hunting around all of the settings... OpenStreeMap just is not working. I even tried switching to another theme (zenpage)

Administrator
Administrator
acrylian   10-03-2021, 10:05
#37

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).

Administrator
Administrator
acrylian   10-03-2021, 10:31
#38

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 exif_read_data() for reading the data but instead directly parses the file on its own.

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 exif_read_data() for getting image rotation values for example.

Administrator
Administrator
acrylian   10-03-2021, 10:58
#39

I reviewed and apparently my fix is not working as expected. Besides the issue your image provides.

Administrator
Administrator
acrylian   10-03-2021, 11:21
#40

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.

Pages (6):    1 2 3 4 5 6   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.