vesta-webtrees-2-custom-modules / vesta_gov4webtrees

⚶ Vesta Gov4Webtrees (Webtrees 2 Custom Module)
https://cissee.de/
GNU General Public License v3.0
11 stars 3 forks source link

PHP error if GOV server is not responding #94

Closed Jefferson49 closed 1 year ago

Jefferson49 commented 1 year ago

Observed with vesta vesta 2.1.16.1.3, webtrees 2.1.16

Currently the computergenealogy servers have severe problems and the GOV server does not respond, see error message. If a shared place is opened, which contains a GOV-id, vesta shows a PHP error after some seconds. As a result, the shared place cannot be opened/viewed any more. The only possibility seems to be to deactivate the vesta GOV module.

Proposals:

GOV error.txt PHP error open _LOC Jablanica.txt

ric2016 commented 1 year ago

Catch the exception and continue without using the information from the GOV server. Maybe, it could result in the same behaviour like if the GOV module is not activated. Additionally, a warning could be shown that GOV cannot be used.

This is already implemented in several places, apparently I missed at least this one.

ric2016 commented 1 year ago

Hopefully fixed (cannot actually test this easily) in Release 2.1.16.1.4.