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

TOPIC:

problem after 2.1.15 upgrade 2 weeks 1 day ago #1

  • eneless
  • eneless's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
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.

problem after 2.1.15 upgrade 2 weeks 1 day ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 16886
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 - 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.

problem after 2.1.15 upgrade 2 weeks 1 day ago #3

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 16886
... 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 - 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.

problem after 2.1.15 upgrade 2 weeks 1 day ago #4

  • eneless
  • eneless's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
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.
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.

problem after 2.1.15 upgrade 2 weeks 1 day ago #5

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 16886
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 - 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.

problem after 2.1.15 upgrade 2 weeks 1 day ago #6

  • eneless
  • eneless's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7

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

problem after 2.1.15 upgrade 2 weeks 1 day ago #7

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 16886
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 - 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.

Last edit: by fisharebest. Reason: typo

problem after 2.1.15 upgrade 2 weeks 1 day ago #8

  • eneless
  • eneless's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
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.

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: 
  • Page:
  • 1
Powered by Kunena Forum