Web based family history software

Important problem after 2.1.15 upgrade

  • eneless
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 10 months ago #1 by eneless
problem after 2.1.15 upgrade was created by eneless
Updated from v2.0.16 to 2.1.15 manually (auto-script failed in previous upgrade - documented in previous forum post of mine).

Part of the message is hidden for the guests. Please log in or register to see it.

site doesn't load properly - theme loads but with large red error box with the following

Warning: Spoiler!

hosted on siteground SG servers
webtrees.natsacks.com/

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

More
1 year 10 months ago #2 by fisharebest
Replied by fisharebest on topic problem after 2.1.15 upgrade
This looks like

1) there is a new version available (2.1.16)
2) webtrees is trying to send an email to all admins
3) it is selecting the correct language for each admin
4) one of the admins does not have a language defined.

I'm not sure how this situation could occur. We set languages when users register, when they save their account settings (e.g. making them an admin), etc.


Perhaps you could use phpMyAdmin to update the wt_user_setting table, and make sure that all admins have a valid entry for `language`. e.g. `en-US`, 'fr', etc.

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

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

More
1 year 10 months ago #3 by fisharebest
Replied by fisharebest on topic problem after 2.1.15 upgrade
... or manually upgrade to 2.1.16 - so that no upgrade is available.

Then go through each admin account, and select a language in their account settings.

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

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

  • eneless
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 10 months ago #4 by eneless
Replied by eneless on topic problem after 2.1.15 upgrade
I haven't upgraded yet. will do that later.

Perhaps you could use phpMyAdmin to update the wt_user_setting table, and make sure that all admins have a valid entry for `language`. e.g. `en-US`, 'fr', etc.

Having checked this is what's there. all valid entries.
Code:
setting_name setting_value language en_US language en-GB language en_US language en-GB language en_US language en-GB language en-GB language en-GB language en-GB

hosted on siteground SG servers
webtrees.natsacks.com/

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

More
1 year 10 months ago #5 by fisharebest
Replied by fisharebest on topic problem after 2.1.15 upgrade
The issue is not that you have an invalid value - it is (I think) that you have a missing value.

i.e. do you have an entry in wt_user_setting for every entry in wt_user?

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

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

  • eneless
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 10 months ago #6 by eneless
Replied by eneless on topic problem after 2.1.15 upgrade

The issue is not that you have an invalid value - it is (I think) that you have a missing value.

i.e. do you have an entry in wt_user_setting for every entry in wt_user?

yes, except for
Code:
user_id user_name -1 DEFAULT_USER

hosted on siteground SG servers
webtrees.natsacks.com/

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

More
1 year 10 months ago - 1 year 10 months ago #7 by fisharebest
Replied by fisharebest on topic problem after 2.1.15 upgrade
OK - that's a special case.

But I just spotted that your language entries are en_US, when they should be en-US (hyphen instead of underscore).

Does it help to update these?

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Last edit: 1 year 10 months ago by fisharebest. Reason: typo

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

  • eneless
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 10 months ago #8 by eneless
Replied by eneless on topic problem after 2.1.15 upgrade
yes that fixed it. thanks!

bizzare though as nothing has changed for some time. (no one other than me has logged in since the last update)

hosted on siteground SG servers
webtrees.natsacks.com/

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

Powered by Kunena Forum