OpenSprinkler Forums OpenSprinkler Mobile and Web App Error on settings page Re: Re: Error on settings page

#26047

Samer
Keymaster

@guylior I’ll be honest, I am vaguely understanding what is going. My interpretation is the isset($_SESSION) is failing on your setup (should be true but somehow coming back false) and as a result a session_start() is fired off. Normally, that is fine since session_start resumes the session if a PHPID is sent in the cookie. However, since this is the initial load there isn’t a PHPID and it’s starting the session over. As a result, the data is gone and you get the notices. I tried moving the checks to test and would like to know if that helps. If not, I have a few other ideas.

Thanks.