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
Comments
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
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
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
Thanks for the error report, a small oversite error with the last fixes. Try the master of the osm plugin please.
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.
the plugin works fine! Thank you!
Eli