Git Product home page Git Product logo

Comments (5)

admin-eschaeffer58 avatar admin-eschaeffer58 commented on July 30, 2024

I found in the code where the error was coming from and put a print_r($_SESSION) in the conditional, that triggers the error and it appears that no session data is being returned. I get an empty array output.

Array ( )

from aad-sso-wordpress.

admin-eschaeffer58 avatar admin-eschaeffer58 commented on July 30, 2024

Ok, so ended up figuring the issue out. Turns out the session path for the php instance on this cpanel server was invalid. Once I set a valid path, it fixed the issue.

from aad-sso-wordpress.

psignoret avatar psignoret commented on July 30, 2024

Thanks for reporting, and thanks for following up with the issue on your side and how you solved it. Indeed, this issue is always something to do with sessions, but the root cause is rarely the same, and is usually dependent on the infrastructure WordPress is installed on.

I'll use the information you shared to improve the troubleshooting options available, and try to see if there isn't a better way to achieve the same capability without relying on PHP sessions.

from aad-sso-wordpress.

bradkovach avatar bradkovach commented on July 30, 2024

from aad-sso-wordpress.

psignoret avatar psignoret commented on July 30, 2024

Yeah, I was thinking of testing PHP sessions at config time (show warnings and allow saving but not enabling) and at runtime (show useful error instead of redirecting to a sign-in which is guaranteed to fail).

from aad-sso-wordpress.

Related Issues (20)

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.