Web based family history software

Question Hi, is there a way to hide this error message?

  • xiao
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 months 3 weeks ago - 4 months 3 weeks ago #1 by xiao
Hi, is there a way to hide this error message?



URL:
dev.webtrees.net/demo-stable/index.php ?route=%2Fdemo-stable%2Ftree%2Fdemo%2Fsearch-general&query=%F0%A1%8A%A8&search_families=1&search_individuals=1&search_locations=0&search_notes=0&search_repositories=0&search_sources=0&search_trees%5B0%5D=demo#
Last edit: 4 months 3 weeks ago by xiao.

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

  • bertkoor
  • Offline
  • Platinum Member
  • Platinum Member
  • Greetings from Utrecht, Holland
More
4 months 3 weeks ago - 4 months 3 weeks ago #2 by bertkoor
Replied by bertkoor on topic Hi, is there a way to hide this error message?
Looks like this issue: github.com/fisharebest/webtrees/issues/2950
in other words: the database of the demo server does not support 4-byte Unicode characters.

How to hide the error message? It can be prevented by using only Latin or Cyrillic characters, avoid using Chinese characters.

Or does this also occur on your server, and not just the demo server?

stamboom.BertKoor.nl runs on webtrees v2.1.20
Last edit: 4 months 3 weeks ago by bertkoor.

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

  • xiao
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 months 2 weeks ago #3 by xiao
The amazing thing is: after logging in to your account, there will be no error when searching again, for example, logging in: "moderator"

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

  • xiao
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 months 2 weeks ago - 4 months 2 weeks ago #4 by xiao
My database is: MySQL5.6.24. If the field "Collation" is set to "utf8mb4_general_ci", special characters can be saved.

I tried to batch modify the collation of the table to "utf8mb4_general_ci", but it failed because of the foreign keys of some tables.
 


 
Last edit: 4 months 2 weeks ago by xiao.

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

  • bertkoor
  • Offline
  • Platinum Member
  • Platinum Member
  • Greetings from Utrecht, Holland
More
4 months 2 weeks ago - 4 months 2 weeks ago #5 by bertkoor
Replied by bertkoor on topic Hi, is there a way to hide this error message?
Try to do the tables first where those foreign keys are?

Note this comment in the issue:

fisharebest wrote: `
Using utf8mb4 on new installations is straightforward.
[...]
Updating existing databases has many difficulties. It may be impossible on some servers.


stamboom.BertKoor.nl runs on webtrees v2.1.20
Last edit: 4 months 2 weeks ago by bertkoor.

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

More
4 months 2 weeks ago #6 by fisharebest
Replied by fisharebest on topic Hi, is there a way to hide this error message?
I am waiting for the doctrine/dbal project to merge my fix and create a new release.

See github.com/doctrine/dbal/pull/6370

When this happens, I will be able to create a fix for this issue.

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

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

More
4 months 2 weeks ago #7 by xmlf
I've been patiently waiting for this fix, hoping it can be merged into dbal sooner.

Wang Family Website of Suining County, China
www.snwsjz.com
A family tree website that is customized, more humanized and convenient for users.

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

More
4 months 2 weeks ago #8 by joeysun
Thanks Greg for the status update. I also look forward to this. For those unfamiliar with the specifics: there are a series of Chinese (usually given) names which have no modern western translations and will crash the database currently used by webtrees when recorded in the program. See how the Peoples Republic of China 'deals' with this conundrum in a 2009 NYT's article: www.nytimes.com/2009/04/21/world/asia/21...=1&pagewanted=print#
Many westerners might see this when they use emojis copied from social media posts. For people documenting Chinese genealogical records, this runs into the core webtrees value of saving names. @xmif recommended recording homophones as a temporary substitute; he said this takes some time to figure our a correct word. My work-around (aggrevated by lack of language skills) is to record the unrecognized word into a unicoded text file and save it in the media folder. These names are stored in Gramps, which I assume use a different encoding in their database(?)

Doug
webtrees v2.1.20 at Our Family Tree (Jiapu 家譜/家谱)
PHP Version v8.1.x, LiteSpeed V8.1, MariaDB 15.1 | protected/'hindered' by ModSecurity

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

Powered by Kunena Forum