Open tazmaton opened 8 years ago
Could you please specify the PWG version and the plugin version as well as your PHP and OS version. I am not able to reproduce the issue.
Hello,
I’m running Piwigo version 2.8.1, OpenStreetMap version 2.8.b, Google Chrome version 51.0.2704.106 (64-bit), Mac OS X version 10.11.3, PHP version 5.3.3 .
Thanks.
That is weird, I use HP 5.6.x. PHP 5.3 is quite old but should work.
https://github.com/xbgmsharp/piwigo-openstreetmap/blob/master/admin/admin_tag.php#L80 https://github.com/xbgmsharp/piwigo-openstreetmap/blob/master/admin/admin_photo.php#L145
If you check the line of the code involve, the error message, does not make much sense.
For admin/admin_photo.php#L145
you should have the error twice. You could try to replace []
by array()
eg:
$list_of_places = array()
Well, I’m not a programmer, just a user of Piwigo, so I would not know how to incorporate that.
Would you be able to confirm the line you are seeing the error? In addition Piwigo version, OpenStreetMap version and PHP version?
With the merge of #117, would you be able to confirm you still see the error?
When I go to Edit Photo [Properties] on an image and click on the "OpenStreetMap" tab, I get the following error message:
Also, when I go to OpenStreetMap Plugin [Configuration] and click on the "Tags" tab I get the following error message:
Thanks.