4571 Posts in 1384 Topics by 1376 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1986 Views |
-
Undefined variable: _SESSION

24 February 2010 at 12:33am Last edited: 24 February 2010 1:31am
Hi,
I'm getting an error when trying to run my website on our test server. Basically the site works fine for the most part but I'm getting this error in my logs:
[23-Feb-2010 03:29:58] Warning at [edit]/sapphire/core/control/Director.php line 120: Undefined variable: _SESSION (http://[edit]/)
I believe this error is also what's preventing log ins from working. I've done a check on my encoding:
find ./ -exec file -i {} \;
and all of my files (mysite/* and themes/*) are us-ascii
Does anyone know this problem?
tia
Dave
-
Re: Undefined variable: _SESSION

24 February 2010 at 1:31am Last edited: 24 February 2010 1:31am
Turns out this was an extra space after one of my php closing tags ?>. Found this by looking into the "Redirecting to..." issue I was also noticing.
-
Re: Undefined variable: _SESSION

25 February 2010 at 11:37pm
I think there's a job for someone to go through the core and remove all the ?> end tags. These little guys cause a lot of problems!
| 1986 Views | ||
|
Page:
1
|
Go to Top |

