Announcement

  •  » Extensions
  •  » RV Maps and Earth error 404 map.php

#1 2017-10-24 23:26:09

kinsham
Member
2017-09-05
17

RV Maps and Earth error 404 map.php

Hello

I just installed a fresh Piwigo and RV Maps & Earth (v2.10.a) and get error 404, map.php not found. Both are up to date.

This is true since map.php doesn't exist in the Piwigo root but does exist in plugins/rv_gmaps directory.

Update:
I copied map.php from the plugins directory to the root and set its user:group to the Apache user:group (www-data:www-data). The whole Piwigo tree has this user:group. After deactivating/reactivating the plugin it began to work.

The problem now is that RVME is showing the map icon for some photos and not of others. I downloaded a working and non-working file and looked at the Exif GPS data using GeoSetter and ExifTool (PC) or Get Info (MAC). It appears to be correct in the Exif data fields for both the working and non-working files since they both show their respective maps.

Examples of working and non-working files are attached. Perhaps someone could see why one works and the other doesn't?

Thanks

Piwigo version: 2.9.2
PHP version:
MySQL version:
Piwigo URL: http://

Last edited by kinsham (2017-10-27 23:53:57)

Offline

 

#2 2019-05-14 04:36:42

Foto
Member
2019-04-22
11

Re: RV Maps and Earth error 404 map.php

I have the same problem as yours. Did you solved it?

btw, Must I have to apply a Google Map API Key ?

Offline

 

#3 2019-05-14 06:55:19

Foto
Member
2019-04-22
11

Re: RV Maps and Earth error 404 map.php

I found that if given a whole path of map.php in url, like :

http://192.168.0.199:3128/plugins/rv_gmaps/map.php

it almost works, seems map.php url did not rewrite by piwigo, I am not good at php, did any one knows where to set the rewrite address of map.php?

I thinks the problem is I originally activated "RV Maps and Earth" and later deactivated it, the problem happens while reactivate it.

Thanks for help, I do like this plugin.

Last edited by Foto (2019-05-15 06:59:18)

Offline

 

#4 2019-05-15 14:51:23

Foto
Member
2019-04-22
11

Re: RV Maps and Earth error 404 map.php

Like the plugin OSWORLDMAP describe in https://github.com/xbgmsharp/piwigo-openstreetmap/wiki,

just add the file in htdoc/piwigo/map.php with content:

<?php
define('PHPWG_ROOT_PATH','./');
include_once( PHPWG_ROOT_PATH. 'plugins/rv_gmaps/map.php');
?>

This finalize the plugin installation.

Last edited by Foto (2019-05-15 14:53:12)

Offline

 
  •  » Extensions
  •  » RV Maps and Earth error 404 map.php

Board footer

Powered by FluxBB

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