ric2016 / gov4webtrees

⚶ Gov4Webtrees (Webtrees 1.x Custom Module)
https://cissee.de/
2 stars 0 forks source link

Get HTTP 500 error on add GOV-ID #1

Closed fanningert closed 6 years ago

fanningert commented 6 years ago

I get following PHP-Error for the HTTP-500 error (Internal Server Error) when I would like to add a GOV-ID.

PHP message: PHP Fatal error:  Uncaught Error: Class 'SoapClient' not found in /var/www/example.com/modules_v3/gov4webtrees/FunctionsGov.php:581
Stack trace:
#0 /var/www/example.com/modules_v3/gov4webtrees/FunctionsGov.php(785): Cissee\Webtrees\Module\Gov4Webtrees\FunctionsGov::loadGovObject('object_215349', '1518358763978')
#1 /var/www/example.com/modules_v3/gov4webtrees/AjaxRequests.php(18): Cissee\Webtrees\Module\Gov4Webtrees\FunctionsGov::retrieveGovObjectSnapshot('2420256', 'object_215349', '1518358763978', 'de')
#2 /var/www/example.com/modules_v3/gov4webtrees/ajaxExpand.php(43): Cissee\Webtrees\Module\Gov4Webtrees\AjaxRequests::expand()
#3 {main} thrown in /var/www/example.com/modules_v3/gov4webtrees/FunctionsGov.php on line 581

Here the url to this. https://example.com/modules_v3/gov4webtrees/ajaxExpand.php?placeId=Graz,%20Steiermark,%20Austria&type=MAIN&id=object_215349&version=1518358763978&julianDay=2420256&locale=de&allowSettlements=true

Active are following plugins from your site (Installed you package).

I'am using webtress 1.7.9.

ric2016 commented 6 years ago

The first thing to check is whether the php Soap Client is enabled, see e.g. here.

You can check this via Control Panel > Website > Server information. Search for "Soap Client", it should be set to "enabled". If that's not the case, you'll have to adjust your php.ini settings.

fanningert commented 6 years ago

Thank you for the help. It is working now. The problem was the missing php-soap client.

ric2016 commented 6 years ago

Great - I'll add a note to the module (I wasn't aware of this potential problem, apparently this library is enabled most of the time).