Git Product home page Git Product logo

Comments (5)

hartenthaler avatar hartenthaler commented on June 24, 2024 1

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.

from family-tree-home.

hartenthaler avatar hartenthaler commented on June 24, 2024 1

Success! Now it works like expected. Great!

from family-tree-home.

miqrogroove avatar miqrogroove commented on June 24, 2024

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.

from family-tree-home.

miqrogroove avatar miqrogroove commented on June 24, 2024

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.

from family-tree-home.

miqrogroove avatar miqrogroove commented on June 24, 2024

I was able to reproduce that bug. Here are the criteria:

  • Must have at least one tree visible to guests.
  • Must have rewrite_urls = "0"
  • Must click the Sign In link from the visitor's home/tree page.

Any other combination of settings or inputs would not trigger this bug. It was tricky!

from family-tree-home.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.