Announcement

#1 2022-01-02 21:19:57

JamesWood
Member
2021-10-05
14

OpenStreetMap error

Hi guys

I recently upgraded to the latest Piwigo, and now the OpenStreetMap plugin throws up this error message when viewing a photo:

Warning: Parameter 2 to osm_insert_map() expected to be a reference, value given in /homepages/3/d531441881/htdocs/woodfamilytree/include/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php on line 63

It disappears when I refresh the page, though!  But keeps coming up each time I view a new photo.

Any ideas?

Thanks a lot :)
James

Offline

 

#2 2022-01-02 22:15:07

erAck
Only trying to help
2015-09-06
2026

Re: OpenStreetMap error


Running Piwigo at https://erack.net/gallery/

Offline

 

#3 2022-01-02 22:35:01

JamesWood
Member
2021-10-05
14

Re: OpenStreetMap error

Wonderful thanks so much for your quick reply! :)

Offline

 

#4 2022-01-06 13:06:31

JamesWood
Member
2021-10-05
14

Re: OpenStreetMap error

Unfortunately I’m getting this problem where only half the map is displaying on my photo page. Any thoughts? Thanks a lot!

Offline

 

#5 2022-01-06 15:02:13

Katryne
Member
2016-12-03
369

Re: OpenStreetMap error

May I have a link to view a photo page ?


http://photos.katrynou.fr/ v.14.1.0 https://album.chauvigne.info/ v.13.8.0
Système d'exploitation: Linux - Hébergeur 1&1-Ionos PHP: 8.0.28 - MySQL: 5.7.38
Bibliothèque graphique: External ImageMagick 6.9.10-23

Online

 

#6 2022-01-06 15:08:09

JamesWood
Member
2021-10-05
14

Re: OpenStreetMap error

Katryne wrote:

May I have a link to view a photo page ?

Unfortunately the page is all set to private. But I have a screenshot if it helps at all:

https://www.dropbox.com/s/xdpb44chx7q2w … 5.jpg?dl=0

Appreciate that might not help though as you probably want to see the code! Sorry. Just wondered if it might be anything obvious! ☺️ thanks

Offline

 

#7 2022-01-06 15:45:33

Katryne
Member
2016-12-03
369

Re: OpenStreetMap error

I cannot see much.
Try to disable the navigation thumbnails.
What theme are you using ?
What are the settings of your OSM plugin ?


http://photos.katrynou.fr/ v.14.1.0 https://album.chauvigne.info/ v.13.8.0
Système d'exploitation: Linux - Hébergeur 1&1-Ionos PHP: 8.0.28 - MySQL: 5.7.38
Bibliothèque graphique: External ImageMagick 6.9.10-23

Online

 

#8 2022-01-08 15:25:40

JamesWood
Member
2021-10-05
14

Re: OpenStreetMap error

Thanks Katryne - I managed to figure out a workaround with custom CSS.  The map seemed to bug out if there were too many keywords being displayed under it.  So I limited with the width of the map, and it's sorted now :)

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact