Welcome Guest, Not a member yet? Register   Sign In
Undefined variable: _SESSION
#6

If you're using php spark serve it should work mostly like any other web server. Which means that, no, you don't need to comment out session based stuff.

Looks like it's because you're using it in a filter that's causing the problem, if I had to guess. That's probably something we need to look into.

Your workaround works fine for now. I think the filter is being ran when the server is being setup, which it probably shouldn't be.
Reply


Messages In This Thread
Undefined variable: _SESSION - by NiteRaven - 11-20-2018, 08:56 AM
RE: Undefined variable: _SESSION - by NiteRaven - 11-20-2018, 04:12 PM
RE: Undefined variable: _SESSION - by ciadmin - 11-20-2018, 05:50 PM
RE: Undefined variable: _SESSION - by NiteRaven - 11-20-2018, 06:18 PM
RE: Undefined variable: _SESSION - by natanfelles - 11-20-2018, 08:34 PM
RE: Undefined variable: _SESSION - by kilishan - 11-20-2018, 08:36 PM
RE: Undefined variable: _SESSION - by kilishan - 11-22-2018, 09:49 PM
RE: Undefined variable: _SESSION - by NiteRaven - 11-24-2018, 10:42 AM
RE: Undefined variable: _SESSION - by NiteRaven - 12-02-2018, 03:14 PM
RE: Undefined variable: _SESSION - by kilishan - 12-03-2018, 02:03 PM
RE: Undefined variable: _SESSION - by NiteRaven - 12-03-2018, 02:26 PM
RE: Undefined variable: _SESSION - by kilishan - 12-03-2018, 02:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB