Closed hartenthaler closed 2 years ago
I checked some of my other code hacks and couldn't reproduce that issue with my one tree config. I will try adding a 2nd tree and see what happens with it.
It still works here on my server with 2 trees. So I need more info. Could you describe your webtrees version, Family Tree Home Page version, do you have rewrite_urls in the config file, and are there any special privacy settings, such as guests can't see any trees? Any other custom modules? Also, if you could tell me anything about the address under the Sign In link, which sometimes ends with %2Fmy-page
depending on the current page viewed.
One theory I have is the lack of rewrite_urls, as seen on the demo site, causes the Sign In URL to end with %252Fmy-page
instead of %2Fmy-page
If you can confirm your test server is doing the same, then that might be the bug in my module.
I was able to reproduce that bug. Here are the criteria:
rewrite_urls = "0"
Any other combination of settings or inputs would not trigger this bug. It was tricky!
Sorry for the late answer. I was busy, today. rewrite_urls was not set, so I assume it is used as "0". There is a tree visible to guests. And I signed in from the default tree home page. Now I will test your new version.
Success! Now it works like expected. Great!
I just installed your module on my test server. There are four trees. The module is visible in the control panel. No error.
No function. When I log out and log in, I see "MyPage", not the page of any tree.