Member
Member
Eli15   2015-09-18, 21:31
#1
hi,

a funny behaviour on my installation (version 1.4.9):

if I have a description with more than about 12 words,
I just see the OSM placeholder/empty space, not anymore the map.

Anybody knows something about a possible connection
between those both code operation areas: the description and the osm-PlugIn??

The behaviour happens (again) only on my hosters space,
not on my home environment.

Eli
Administrator
Administrator
acrylian   2015-09-19, 08:04
#2
You mean the whole map is missing then? Will try to reproduce that. In any case please review your browser log/konsole about any Javascript errors.
Administrator
Administrator
acrylian   2015-09-19, 08:32
#3
I cannot reproduce this, sorry.
Administrator
Administrator
acrylian   2015-09-19, 11:17
#4
Ok, finally I could with a little help by fretzl. Please try the just released update.
Member
Member
Eli15   2015-09-20, 15:28
#5
> Ok, finally I could with a little help by fretzl. Please try the just released update.
thank you! But - how?
I just upgrade with
...zenphoto/archive/zenphoto-1.4.9.zip
but its "just" again 1.4.9 [36167d6556] and no betterment Sad

on the other hand there is an zenphoto-master.zip on github?

witch update? Where?

--------------------

I too search for the "bug". In browsers website-sources:

<div id="osm_map" style="width:100%; height:300px;"></div>
<script>
...
desc : "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut l",
...
</script>

there might happen a linebreak on char >100.
so with the following "a" (101), the osm isn't shown anymore...

Eli
Administrator
Administrator
acrylian   2015-09-20, 15:43
#6
You should try the just release plugin update to 1.1 of course (besides that it has a master as well as every GitHub repo does)… The osm plugin is not part of the Zenphoto release package.
Member
Member
Eli15   2015-09-20, 22:34
#7
Smile

great!! Thank you very much.
better - 100 character-texts are very ambitious ... but stringent.

:\

there are some Warnings above the map:

Warning: Missing argument 2 for shortenContent(), called in .../plugins/zp_openstreetmap.php on line 547 and defined in .../zp-core/functions.php on line 169
Warning: Missing argument 3 for shortenContent(), called in .../plugins/zp_openstreetmap.php on line 547 and defined in .../zp-core/functions.php on line 169
Warning: Missing argument 2 for shortenContent(), called in .../plugins/zp_openstreetmap.php on line 548 and defined in .../zp-core/functions.php on line 169
Warning: Missing argument 3 for shortenContent(), called in .../plugins/zp_openstreetmap.php on line 548 and defined in .../zp-core/functions.php on line 169

so at the moment I set on the zp_openstreetmap.php top
error_reporting(0);

( that with the original ZenPhoto - without my doubtful features ... (from an other posting) )

Eli
Administrator
Administrator
acrylian   2015-09-21, 07:56
#8
The 100 char lenght was set before. Might consider to change that to options though.

Thanks for the error report, a small oversite error with the last fixes. Try the master of the osm plugin please.
Member
Member
Eli15   2015-09-21, 10:43
#9
> The 100 char lenght was set before. Might consider to change that to options though.
ah - for something like "ellipsis" plus text like "open", "more" ... - too with optional 100, 200, 500 ... thats worthwhile.

> ... a small oversite error with the last fixes.
Everything ok now. Smile
the plugin works fine! Thank you!

Eli
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.