Before asking for help please read "Requesting Help and Suggestions" by clicking on that tab above here.
  • Page:
  • 1

TOPIC:

Vorfahrenfächer shows many errors 2 weeks 1 day ago #1

  • WeT-Klb
  • WeT-Klb's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 25
In webtrees 2.1.16 when i click "Vorfahrenfächer" in Module "Diagramme" i get all this error throwings:
imagettfbbox(): any2eucjp(): invalid code in input string …/app/Module/FanChartModule.php:554
#0 [internal function]: Fisharebest\Webtrees\Webtrees::Fisharebest\Webtrees\{closure}()
#1 …/app/Module/FanChartModule.php(554): imagettfbbox()
#2 …/app/Module/FanChartModule.php(535): Fisharebest\Webtrees\Module\FanChartModule->textWidthInPixels()
#3 …/app/Module/FanChartModule.php(407): Fisharebest\Webtrees\Module\FanChartModule->fitTextToPixelWidth()
#4 [internal function]: Fisharebest\Webtrees\Module\FanChartModule->Fisharebest\Webtrees\Module\{closure}()
#5 …/app/Module/FanChartModule.php(408): array_map()
#6 …/app/Module/FanChartModule.php(235): Fisharebest\Webtrees\Module\FanChartModule->chart()
#7 …/app/Http/Middleware/RequestHandler.php(55): Fisharebest\Webtrees\Module\FanChartModule->handle()
#8 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\RequestHandler->process()
#9 …/app/Module/HitCountFooterModule.php(154): Middleland\Dispatcher->handle()
#10 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Module\HitCountFooterModule->process()
#11 …/app/Module/CheckForNewVersion.php(122): Middleland\Dispatcher->handle()
#12 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Module\CheckForNewVersion->process()
#13 …/app/Http/Middleware/CheckCsrf.php(80): Middleland\Dispatcher->handle()
#14 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CheckCsrf->process()
#15 …/vendor/oscarotero/middleland/src/Dispatcher.php(118): Middleland\Dispatcher->handle()
#16 …/app/Webtrees.php(275): Middleland\Dispatcher->dispatch()
#17 …/app/Http/Middleware/Router.php(161): Fisharebest\Webtrees\Webtrees::dispatch()
#18 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\Router->process()
#19 …/app/Http/Middleware/BootModules.php(60): Middleland\Dispatcher->handle()
#20 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BootModules->process()
#21 …/app/Http/Middleware/RegisterGedcomTags.php(54): Middleland\Dispatcher->handle()
#22 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\RegisterGedcomTags->process()
#23 …/app/Http/Middleware/LoadRoutes.php(75): Middleland\Dispatcher->handle()
#24 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\LoadRoutes->process()
#25 …/app/Http/Middleware/CheckForNewVersion.php(57): Middleland\Dispatcher->handle()
#26 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CheckForNewVersion->process()
#27 …/app/Http/Middleware/UseTransaction.php(45): Middleland\Dispatcher->handle()
#28 …/vendor/illuminate/database/Concerns/ManagesTransactions.php(29): Fisharebest\Webtrees\Http\Middleware\UseTransaction::Fisharebest\Webtrees\Http\Middleware\{closure}()
#29 …/app/Http/Middleware/UseTransaction.php(46): Illuminate\Database\Connection->transaction()
#30 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseTransaction->process()
#31 …/app/Http/Middleware/DoHousekeeping.php(73): Middleland\Dispatcher->handle()
#32 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\DoHousekeeping->process()
#33 …/app/Http/Middleware/UseTheme.php(69): Middleland\Dispatcher->handle()
#34 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseTheme->process()
#35 …/app/Http/Middleware/CheckForMaintenanceMode.php(51): Middleland\Dispatcher->handle()
#36 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CheckForMaintenanceMode->process()
#37 …/app/Http/Middleware/UseLanguage.php(71): Middleland\Dispatcher->handle()
#38 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseLanguage->process()
#39 …/app/Http/Middleware/UseSession.php(78): Middleland\Dispatcher->handle()
#40 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseSession->process()
#41 …/app/Http/Middleware/UpdateDatabaseSchema.php(57): Middleland\Dispatcher->handle()
#42 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UpdateDatabaseSchema->process()
#43 …/app/Http/Middleware/UseDatabase.php(122): Middleland\Dispatcher->handle()
#44 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseDatabase->process()
#45 …/app/Http/Middleware/BadBotBlocker.php(282): Middleland\Dispatcher->handle()
#46 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BadBotBlocker->process()
#47 …/app/Http/Middleware/CompressResponse.php(73): Middleland\Dispatcher->handle()
#48 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CompressResponse->process()
#49 …/app/Http/Middleware/ContentLength.php(40): Middleland\Dispatcher->handle()
#50 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ContentLength->process()
#51 …/vendor/middlewares/client-ip/src/ClientIp.php(65): Middleland\Dispatcher->handle()
#52 …/app/Http/Middleware/ClientIp.php(47): Middlewares\ClientIp->process()
#53 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ClientIp->process()
#54 …/app/Http/Middleware/HandleExceptions.php(90): Middleland\Dispatcher->handle()
#55 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\HandleExceptions->process()
#56 …/app/Http/Middleware/BaseUrl.php(73): Middleland\Dispatcher->handle()
#57 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BaseUrl->process()
#58 …/app/Http/Middleware/ReadConfigIni.php(68): Middleland\Dispatcher->handle()
#59 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ReadConfigIni->process()
#60 …/app/Http/Middleware/SecurityHeaders.php(48): Middleland\Dispatcher->handle()
#61 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\SecurityHeaders->process()
#62 …/app/Http/Middleware/EmitResponse.php(57): Middleland\Dispatcher->handle()
#63 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\EmitResponse->process()
#64 …/vendor/oscarotero/middleland/src/Dispatcher.php(118): Middleland\Dispatcher->handle()
#65 …/app/Webtrees.php(275): Middleland\Dispatcher->dispatch()
#66 …/app/Webtrees.php(262): Fisharebest\Webtrees\Webtrees::dispatch()
#67 …/index.php(51): Fisharebest\Webtrees\Webtrees->httpRequest()
#68 {main}

What to do?

Please Log in or Create an account to join the conversation.

Vorfahrenfächer shows many errors 2 weeks 1 day ago #2

  • Franz Frese
  • Franz Frese's Avatar
  • Away
  • Premium Member
  • Premium Member
  • Posts: 535
this module is bad. do use the user-module fanchart of magigsunday: github.com/magicsunday/webtrees-fan-char...btrees-fan-chart.zip

Please Log in or Create an account to join the conversation.

Vorfahrenfächer shows many errors 2 weeks 1 day ago #3

  • bertkoor
  • bertkoor's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Greetings from Utrecht, Holland
  • Posts: 2896
This is likely caused by letters with accents. Either the font used by webtrees does not contain the accent letter (we had this reported by users from eg Thailand) or (unlikely) the name is not encoded as UTF-8.
stamboom.BertKoor.nl runs on webtrees v1.7.13

Please Log in or Create an account to join the conversation.

Vorfahrenfächer shows many errors 2 weeks 1 day ago #4

  • WeT-Klb
  • WeT-Klb's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 25
@Franz Frese
Thanks for your reply - i just disabled this module as i don´t need it.

@bertkoor
I don´t have any names with accents - only my wife (born in beijing) i put the chinese signs together with the english word "beijing" - i will try if this causing the problem.
I checked my SQL database - everything is set to UTF8_unicode_ci - is this ok? The collation of MySQL-connection (according to phpMyAdmin) is set to utf8mb4_unicode_ci. The webtrees database doesn´t have that "mb4" with it.

EDIT:
I checked and replaced the chinese signs - but the errors keep being shown. So I decided just to disable "Vorfahrenfächer".

Please Log in or Create an account to join the conversation.

Last edit: by WeT-Klb.

Vorfahrenfächer shows many errors 2 weeks 1 day ago #5

  • Franz Frese
  • Franz Frese's Avatar
  • Away
  • Premium Member
  • Premium Member
  • Posts: 535
Die Ursache ist auf jeden Fall eine fehlgeschlagene Konvertierung der gespeicherten Daten in ein darstellbares Zeichen.

Please Log in or Create an account to join the conversation.

Last edit: by Franz Frese.

Vorfahrenfächer shows many errors 2 weeks 1 day ago #6

  • WeT-Klb
  • WeT-Klb's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 25
Wie gesagt - ich laß einfach diesen "Fächer" weg - bin eh nur durch Zufall draufgestoßen.
Im Programm selber jedenfalls funktioniert alles taddellos.

Please Log in or Create an account to join the conversation.

Vorfahrenfächer shows many errors 2 weeks 22 hours ago #7

  • fisharebest
  • fisharebest's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 16897
> any2eucjp(): invalid code in input string

webtrees uses UTF8 everywhere.
The graphics library uses UTF8.

But your version of PHP is compiled with option "--enable-gd-jis-conv"/
This tells it to expect a Japanese encoding, instead of UTF8.

There is a workaround for it in the code - but I think we also need to add the workaround somewhere else.

I just added this to the code:

github.com/fisharebest/webtrees/commit/2...851d3b3d655a49cb50cb

You can download a new version of this file from raw.githubusercontent.com/fisharebest/we...e/FanChartModule.php
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Vorfahrenfächer shows many errors 2 weeks 22 hours ago #8

  • WeT-Klb
  • WeT-Klb's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 25
With workaround the module works without throwing those errors - but my name (Werner Tröger) isn´t shown in the right was - at least the german "ö" is screwed.Unfortunately i can´t do anything with php as this is a fix package to raise the included php7.4 to 8 on a QNAP NAS-Server.That other suggested module (post

Please Log in or Create an account to join the conversation.

Last edit: by WeT-Klb.
Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 

Vorfahrenfächer shows many errors 2 weeks 21 hours ago #9

  • Bogie
  • Bogie's Avatar
  • Away
  • Premium Member
  • Premium Member
  • Life is good!
  • Posts: 954
Just a friendly hint. Be careful when you publish those screenshots. You are disclosing data that probably fall under privacy.
Bogie
webtrees 2.1.16 | PHP 8.1.13 | MariaDB 10.5.18 | Apache on Ubuntu 12.9
AutoComplete places of @tkempf, chart modules of @magicsunday, Fancy treeview of @justCarmen

Please Log in or Create an account to join the conversation.

Vorfahrenfächer shows many errors 2 weeks 20 hours ago #10

  • WeT-Klb
  • WeT-Klb's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 25
@Bogie

You are right - i removed them.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum