Before asking for help please read "How to request help" by clicking on that tab above here."
Question Administrator account(s) ?
- mboucher
- Topic Author
- Offline
- Junior Member
If I set up a new account, I only see control panel and family trees; no user or other configurable items.
Thanks
Michael Boucher
php8.1
mySQL5.7
www.mike-boucher.com/MikeFamilyFiles (version 2.1.18)
www.mike-boucher.com/BBunchwt (version 2.1.18)
Please Log in or Create an account to join the conversation.
- fisharebest
- Away
- Administrator
I think you have given this new user "manager" status in one of the trees.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- mboucher
- Topic Author
- Offline
- Junior Member
My primary admin account does not even have the admin box ticked. Whenever I move the mouse over it it has a red circle not allowing it to be clicked.
The 2nd account does have the admin button clicked and assigns manager privilege to the family trees as does my main admin account.
But only family trees may be admined by the 2nd account.
By changing to no admin button clicked and the Family tree status to visitor; then no access.
I have another old wt that allowed a 2nd admin, but later when I added a 3rd it does not have all the admin privileges.
Do you have any idea what is going on? In previous versions an admin was as admin.
Thanks for any suggestions.
Mike
Michael Boucher
php8.1
mySQL5.7
www.mike-boucher.com/MikeFamilyFiles (version 2.1.18)
www.mike-boucher.com/BBunchwt (version 2.1.18)
Please Log in or Create an account to join the conversation.
- fisharebest
- Away
- Administrator
Uh? Then it is not an admin account.
> Whenever I move the mouse over it it has a red circle not allowing it to be clicked.
You cannot change your own "admin" status. Only another admin can do this.
I'm a bit confused about all your accounts. Can you be more precise about what accounts you have, and what permissions each of them has?
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- mboucher
- Topic Author
- Offline
- Junior Member
I start with one account; the primary one that created the whole web site.
I can log in with it and perform all the duties of an admin; adding family trees, adding and editing user accounts, modifying media, modules.
This account does not have administrator clicked.
With that said, I add another account with the admin button clicked on that account. After logging in with that new admin account, all I can modify is family trees.
No other menu options are available at the top of the page.
So no matter how many new accounts I add with admin clicked, they are NOT admins.
I hope this is clear.
Thanks
Michael Boucher
php8.1
mySQL5.7
www.mike-boucher.com/MikeFamilyFiles (version 2.1.18)
www.mike-boucher.com/BBunchwt (version 2.1.18)
Please Log in or Create an account to join the conversation.
- Sodan
- Offline
- New Member
When I loggin with my admin account, it is unticked but disabled.
When I create a new admin, the new account doesn't have any admin menu.
When I loggin again with my admin account, the new admin is not listed as "Administrator" under the panel "Users" on the dashboard.
webtrees 2
nginx, PHP 7, MariaDB, HTTP/2
genealorand.com
Please Log in or Create an account to join the conversation.
- exxamalte
- Visitor
In my webtrees instance's database table `wt_user_setting` the admin has a setting `canadmin` set to `1`. And this is apparently what `app/Auth.php#isAdmin` checks for. However, in `admin_users.php` when rendering the checkbox the code looks for a setting `admin`. And when you add a new user with the `Administrator` checkbox checked, this user ends up with a `admin` setting set to `1` in the database table, but no `canadmin` setting.
Looks as if the setting has been renamed at some point in time, but unfortunately not in all code instances.
I raised a new issue for this: github.com/fisharebest/webtrees/issues/678
Please Log in or Create an account to join the conversation.
- mboucher
- Topic Author
- Offline
- Junior Member
Michael Boucher
php8.1
mySQL5.7
www.mike-boucher.com/MikeFamilyFiles (version 2.1.18)
www.mike-boucher.com/BBunchwt (version 2.1.18)
Please Log in or Create an account to join the conversation.
- exxamalte
- Visitor
A new timestamp is generated in each request, but the software does only update the "last logged in" timestamp in the database if at least 5 minutes have passed since the last update.mboucher wrote: There may be some other issues as well. I note that it does not track last login; sometimes not noting the actual last time or for one user not at all.
Other than that little constraint, I couldn't see anything suspicious in the code. And in my webtrees instance the timestamp appears to be updated correctly.
Could you maybe elaborate a bit further on your issue? Is there anything special about the affected user? Would you be able to take a look into the database table `wt_user_setting` and check if the user's `sessiontime` setting exists, and if it contain a timestamp (i.e a large number ~1439390000)?
Please Log in or Create an account to join the conversation.
- klemens
- Offline
- Junior Member
Have upgraded from version V1.6.2 of the upgrade wizard to V1.7.1.
Klemens Miehe
Hannover Germany
anverwandte.info
stammbaum.anverwandte.info
webtrees 2.1.18
PHP Version 8.2.9
Linux v12015021622323418 4.19.0-23-amd64 #1 SMP Debian 4.19.269-1 (2022-12-20) x86_64
Please Log in or Create an account to join the conversation.
- mboucher
- Topic Author
- Offline
- Junior Member
My other webtrees install has been around for a couple of years and sucessfully upgraded to 1.71. I inherited the admin accounts and they work. After the dust settles on 1.71 perhaps I will upgrade the new install.
I suppose this might be a"fix", but my new install needs users, so I will wait.
Michael Boucher
php8.1
mySQL5.7
www.mike-boucher.com/MikeFamilyFiles (version 2.1.18)
www.mike-boucher.com/BBunchwt (version 2.1.18)
Please Log in or Create an account to join the conversation.
- exxamalte
- Visitor
klemens wrote: I also have the problem that I can not enter as an admin myself and therefore have no way to access the management module. See appendix 2administrator.png and administrator.png. In the equipment and wt_user_gedcom_setting.png wt_user_setting.png you will see the server settings.
From the data you sent I would have assumed that your admin account should still have full admin power, i.e. you should have access to the control panel (the setting 'canadmin' is set to '1'). And we also already established that administrators cannot change their own admin status, hence the checkbox is disabled on your own user detail form.
Only newly created admin user accounts will not have the correct settings, and thus cannot access the control panel.
In the meantime I provided a fix for the issue I mentioned above ( github.com/fisharebest/webtrees/issues/678 ), so I assume that fix will become part of the next webtrees release.
Please Log in or Create an account to join the conversation.
- exxamalte
- Visitor
mboucher wrote: I "solved" the problem by deleting the 1.71 install and installing a new version of 1.62.
...
I suppose this might be a"fix", but my new install needs users, so I will wait.
Well, if you cannot wait the workarounds in version 1.7.1 I can think of are
1. Either apply the software changes manually to your installation ( github.com/exxamalte/webtrees/commit/a42...fe78cb4f26c30a7e7dfb ),
2. Or, after creating a user account that is supposed to be an administrator, make a manual change in the database and change the user's setting name 'admin' to 'canadmin' and make sure the value is still '1'.
Please Log in or Create an account to join the conversation.
- mboucher
- Topic Author
- Offline
- Junior Member
I'll give it a try!
regards,
Mike
Michael Boucher
php8.1
mySQL5.7
www.mike-boucher.com/MikeFamilyFiles (version 2.1.18)
www.mike-boucher.com/BBunchwt (version 2.1.18)
Please Log in or Create an account to join the conversation.
- klemens
- Offline
- Junior Member
Klemens Miehe
Hannover Germany
anverwandte.info
stammbaum.anverwandte.info
webtrees 2.1.18
PHP Version 8.2.9
Linux v12015021622323418 4.19.0-23-amd64 #1 SMP Debian 4.19.269-1 (2022-12-20) x86_64
Please Log in or Create an account to join the conversation.
- exxamalte
- Visitor
klemens wrote: Hi many helpers, for one of the can not speak English and in the progamming is at the bottom, I do not understand what to change. The entries are with me "canadmin / 1" (see Appendix wt_user_setting.png above). I ask for help.
Klemens, beschreib doch bitte noch mal auf Deutsch, was genau das Problem zu sein scheint. Aus den Screenshots aus Deiner vorherigen Nachricht konnte ich keine Auffälligkeiten erkennen. Der Eintrag in der Datenbank ist korrekt ('canedit' ist der korrekte Name). Für ein Administrator Benutzerkonto, das mit einer früheren Version (<1.7) erstellt wurde, ist es irrelevant, dass die Checkbox keinen Haken hat. Ich würde erwarten, dass Du mit genau diesem Benutzerkonto auf das Verwaltungsmodel zugreifen können müsstest.
Ein neues Administrator Benutzerkonto kann man allerdings mit den Versionen 1.7.0/.1 nicht erstellen. Den Fehler habe ich behoben, aber der Fix wird erst in der nächsten Version integriert sein.
---
Little detour in German to explore the issue. I'll keep you posted if we reveal anything interesting.
Please Log in or Create an account to join the conversation.
- klemens
- Offline
- Junior Member
Wenn ich das „Verwaltungsmodul“ aufrufe, wird mir eine leere Seite angezeigt.
Du könntest dir auch meine Einstellungen über TeamViewer / Skype (klmmie) anschauen.
Klemens Miehe
Hannover Germany
anverwandte.info
stammbaum.anverwandte.info
webtrees 2.1.18
PHP Version 8.2.9
Linux v12015021622323418 4.19.0-23-amd64 #1 SMP Debian 4.19.269-1 (2022-12-20) x86_64
Please Log in or Create an account to join the conversation.
- exxamalte
- Visitor
klemens wrote: Wenn ich das „Verwaltungsmodul“ aufrufe, wird mir eine leere Seite angezeigt.
Ok, das deutet ja erstmal nicht darauf hin, dass es sich um denselben Fehler handelt, der vorher in diesem Thread beschrieben wurde. Der Fehler bestand ja darin, dass ein neu erstellter Administrator den Menüeintrag zum Aufruf des Verwaltungsmoduls gar nicht erst zu sehen bekam.
Wenn Du aber beim Aufruf des Verwaltungsmoduls eine leere Seite erhältst, wie genau hast Du denn dann den Screenshot "administrator.png" erstellt? Das Formular mit dieser Checkbox kann man meines Wissens nach nur über "Verwaltungsmodul -> Benutzer -> Benutzerverwaltung -> Benutzer anklicken" erreichen.
Please Log in or Create an account to join the conversation.
- klemens
- Offline
- Junior Member
Klemens Miehe
Hannover Germany
anverwandte.info
stammbaum.anverwandte.info
webtrees 2.1.18
PHP Version 8.2.9
Linux v12015021622323418 4.19.0-23-amd64 #1 SMP Debian 4.19.269-1 (2022-12-20) x86_64
Please Log in or Create an account to join the conversation.
- exxamalte
- Visitor
klemens wrote: was mir fehlt, ist die alte Verwaltung
Aha, jetzt erkenne ich das Problem. Ich vermute, dass Du zusätzliche Module installiert hattest - also Module, die nicht in der Standard webtrees Software enthalten sind. Nach dem Update auf Version 1.7.x sind diese Module nicht mehr kompatibel und bewirken offenbar, dass man auf das Verwaltungsmodul gar nicht zugreifen kann. Dieser Thread 30362-module-administration und dieser hier 30398-cannot-open-module-administration-after-update berichten über dasselbe Problem.
Lösung: Erstmal alle Module, die nicht webtrees Standard sind, entfernen (also die Dateien vom Webserver entfernen). Danach müsstest Du wieder auf das Verwaltungsmodul zugreifen können. Anschließend einzeln prüfen, für welche Module es bereits eine Version gibt, die mit webtrees 1.7.x kompatibel ist.
Please Log in or Create an account to join the conversation.