Re: PHP Notice: Undefined variable: _SESSION in
Reply #1 –
That file only exists on the 1.1 development branch.
I think this would imply that sources/Session.php wasn't loaded or something, because without session_start() there's no $_SESSION. Are you sure you have the very latest files and all that?
Re: PHP Notice: Undefined variable: _SESSION in
Reply #2 –
It's the scheduled tasks controller: it's initialized and run before the session is loaded and when the Action_Controller tries to use $_SESSION, it doesn't exit.
At the moment I'm not sure what the best action is. I would avoid load the session just for scheduled tasks, but seems the less messed-up for the code.
Re: PHP Notice: Undefined variable: _SESSION in
Reply #3 –
Ok thanks for reply how to fix that.
German
OK danke für die Antwort wie kann ich das Problem lösen.
Re: PHP Notice: Undefined variable: _SESSION in
Reply #4 –
I made a quick and dirty adjustment that only copied that array in httpreq if and only if session was actually started. This stopped the error cleanly but I was never sure if that was appropriate so I didn't embed it in my pull requests.
Re: PHP Notice: Undefined variable: _SESSION in
Reply #6 –
Okay what is the stable download of elkarte?
1.0.6 ore 1.0.7
Re: PHP Notice: Undefined variable: _SESSION in
Reply #7 –
Oh sorry also the stable version is 1.0?
First I downloaded development version that's my failure.
I have yet download the version from the portal 1.0.6
And tray again with a fresh install.
Re: PHP Notice: Undefined variable: _SESSION in
Reply #8 –
I have found the problem!
When I mark the checkbox for
Search engine friendly URLs
Apache/Lighttpd only
This feature will work on your server.
Than come this failure.
My server can this option. Only the script will not work when I check this option.
Re: PHP Notice: Undefined variable: _SESSION in
Reply #13 –
And it starts again with me not receiving github notifications... >_>