Announcement

  •  » Extensions
  •  » Stange behaviour of RV Maps & Earth

#1 2017-11-16 23:07:09

Hood_fr
Member
Salon de Provence
2017-11-05
8

Stange behaviour of RV Maps & Earth

Hello,

RV Maps & Earth is working fine when I am in an album (clicking on "map" shows the all the pictures from the album/sub-albums on the map), but when I am down to a specific pictures, clicking on map does nothing.

You can try here :

https://photos.daedalum.org/index.php?/category/149 => click "map/carte" => https://photos.daedalum.org/map.php?/category/149 :)

https://photos.daedalum.org/picture.php … tegory/149 => the "map" link points towards "https://photos.daedalum.org/picture.php?/2447-img_2452/category/149&map" and it reloads the current page :(

Am I doing something wrong ?

Thanks for your help

Robin

PS : I am using "stripped" theme.

Piwigo version: 2.9.2
PHP version: 7.0.24
MySQL version: 5.5
Piwigo URL: https://photos.daedalum.org/

Offline

 

#2 2017-11-18 17:19:21

Hood_fr
Member
Salon de Provence
2017-11-05
8

Re: Stange behaviour of RV Maps & Earth

Hello

I am advancing in my investigation but not completely happy with the results.

The problem was coming from two plugins calling the same event_handler 'render_element_content'

The first one is RV Maps & Earth, in picture_map.inc.php

add_event_handler(
  'render_element_content',
  'rvm_picture_map_content',
  EVENT_HANDLER_PRIORITY_NEUTRAL-5,
  2
  );

The second is a personalised version of PaypalShoppingCart , in main.inc.php

add_event_handler('render_element_content', 'ppppp_picture_handler');

I have added a lower priority to the second one (EVENT_HANDLER_PRIORITY_NEUTRAL-10), and now the maps is displaying correctly.

Residual problem is : the central part of the screen is not responsive anymore. Nothing happens when I click on the picture thumbnail, or on the form scrolling lists & buttons below the map. Header and Footer are OK though.

Example : https://photos.daedalum.org/picture.php … 60&map

Any help would be welcome

Thanks in advance

Robin

Offline

 

#3 2017-11-21 19:43:20

Hood_fr
Member
Salon de Provence
2017-11-05
8

Re: Stange behaviour of RV Maps & Earth

Anyone having any idea to what can cause this please ?

Offline

 

#4 2018-07-20 21:42:21

zork
Member
uk
2003-02-20
24

Re: Stange behaviour of RV Maps & Earth

I had Rv maps and earth working prior to the new update to 2.9.4. However i seem to get this depriciating warnings. If anyone could have any idea how to resolve this would be apprieciated.

I have got a new API key, so it would appear thats not a problem.

expected expression, got '<'
<br />
<b>Deprecated</b>:  Function create_function() is deprecated in <b>/homepages/25/d65753354/htdocs/Hollie/plugins/rv_gmaps/include/functions_map.php</b> on line <b>375</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /homepages/25/d65753354/htdocs/Hollie/plugins/rv_gmaps/include/functions_map.php:375) in <b>/homepages/25/d65753354/htdocs/Hollie/plugins/rv_gmaps/map_data.php</b> on line <b>43</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /homepages/25/d65753354/htdocs/Hollie/plugins/rv_gmaps/include/functions_map.php:375) in <b>/homepages/25/d65753354/htdocs/Hollie/plugins/rv_gmaps/map_data.php</b> on line <b>44</b><br />
{
title:"Hxxxxx Photo Gallery",
page_url:"/index.php?/categories",
blowup_url:"/plugins/rv_gmaps/mapl.php?/categories&amp;box=1,-46,72,150",
kml_url:"/plugins/rv_gmaps/kml.php?/categories/flat&amp;box=1,-46,72,150",
nb_items:122,
bounds

Offline

 

#5 2018-07-21 09:25:13

rvelices
Former Piwigo Team
2005-12-29
1960

Re: Stange behaviour of RV Maps & Earth

This plugin is not yet compatible with php 7. I will work on it next week and publish a new version.

Offline

 
  •  » Extensions
  •  » Stange behaviour of RV Maps & Earth

Board footer

Powered by FluxBB

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