GithubHelp home page GithubHelp logo

gov4webtrees's People

Contributors

ric2016 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

gov4webtrees's Issues

is not working on webtrees 2.0 final

This extension seems not to work in webtrees 2.0. Start page of webtrees brings up an error message when activating this extension.
Message is similar to the on the theme compact_theme_adjuster
At moment I can not reproduce the error because I need my webtrees online at moment. But if required I can send the message here.

No GOV ID set for... not translated to German

Missing the text for the German translation of "No GOV id set for..."
I would recommend to translate it like:

Keine GOV-ID für % gesetzt. (where % is the name of the city).

And an other recommendation: the button shows the text "Id setzen".
I think it is more common to write ID instead of Id.

govtranslation

Better error handling in case of missing Soap Client

See also #1. Apparently, this case is more common than expected, so we should have better error handling for this (error message on the tab, so that the user is aware of the issue immediately, without having to check browser console etc).

SOAP-ERROR: Parsing WSDL: Couldn't load (using webtrees 2.0.2)

on http://ahnen2.hartenthaler.eu/index.php?route=%2Ftree%2Fahnen%2Findividual%2FI8860%2FChristine%2520Hinterh%25C3%25B6lzl
there is an error:
SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://gov.genealogy.net/services/ComplexService?wsdl' : failed to load external entity "http://gov.genealogy.net/services/ComplexService?wsdl"
…/modules_v4/vesta_gov4webtrees/FunctionsGov.php:72
#0 …/modules_v4/vesta_gov4webtrees/FunctionsGov.php(72): SoapClient->SoapClient()
....
GEDCOM for this person contains:

1 BIRT
2 DATE 23 JAN 1932
2 PLAC Lanzendorf bei Kasten; Kasten bei Böheimkirchen, St. Pölten-Land, Niederösterreich, AUT
3 _GOV LANTENJN78VD

The same error is on http://ahnen2.hartenthaler.eu/index.php?route=%2Ftree%2Fahnen%2Findividual%2FI3642%2FMaria%2520Goiser
but other persons are ok.

SOAP-ERROR: Parsing WSDL

Reported for server with webtrees 1.7.9 and PHP 7.2:

/modules_v3/gov4webtrees/FunctionsGov.php:568 SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://gov.genealogy.net/services/ComplexService?wsdl' : failed to load external entity "http://gov.genealogy.net/services/ComplexService?wsdl" #0 /modules_v3/gov4webtrees/FunctionsGov.php:568 SoapFault("SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://gov.genealogy.net/services/ComplexService?wsdl' : failed to load external entity "http://gov.genealogy.net/services/ComplexService?wsdl" ") #1 /modules_v3/gov4webtrees/FunctionsGov.php:399 loadGovObject('EICEIDJO30DN', 1519561202703.0)

See https://stackoverflow.com/questions/21861077/soap-error-parsing-wsdl-couldnt-load-from-but-works-on-wamp for possible causes.

Suugested fix 'running libxml_disable_entity_loader(false); before instantiating SoapClient' did not help.

Get HTTP 500 error on add GOV-ID

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).

  • Hooks
  • Facts and Events
  • Gov4Webtrees

I'am using webtress 1.7.9.

Module not installable!?

Hello Richard,
I just updated wt to 1.7.13 and then started to update your great modules gov4webtrees and extended_relationships.

After copying and activating vesta and hooks I started copying the dir gov4webtrees.
To check whether the modules are installed prperly nad have the right version number I tried to open the WT-page webtrees/admin_modules.php...
...but it was just blank.
When deleting the file module.php from the module dir the WT-module-page loads, but of course xour module is not listed.

Any idea?
Tnx, Markus

Integration with Shared Places

Store GOV-Ids via Shared Places.
Advantage: Exported via GEDCOM, no need for separate database table.

Requires migrating existing table to shared places.

  • Auto-create shared place, if necessary, when entering new GOV-Id?
  • If Shared Places module isn't available, store GOV-Id for current place only?

Integrity constraint violation

May have to be fixed in 2.x as well.

https://www.webtrees.net/media/kunena/attachments/6953/error.txt

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry &#039;136-eng&#039; for key &#039;PRIMARY&#039; (SQL: insert into gov_descriptions (type, lang, description) values (136, eng, commune)) …/vendor/illuminate/database/Connection.php:664 #0 …/vendor/illuminate/database/Connection.php(624): Illuminate\Database\Connection-&gt;runQueryCallback(&#039;insert into go...', Array, Object(Closure)) #1 …/vendor/illuminate/database/Connection.php(459): Illuminate\Database\Connection->run('insert into go...&#039;, Array, Object(Closure)) #2 …/vendor/illuminate/database/Connection.php(411): Illuminate\Database\Connection-&gt;statement(&#039;insert into go...', Array) #3 …/vendor/illuminate/database/Query/Builder.php(2646): Illuminate\Database\Connection->insert('insert into go...&#039;, Array) <b>#4 …/modules_v4/vesta_gov4webtrees/FunctionsGov.php(461):

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.