PDA

View Full Version : session error


Vman
01-30-2005, 06:55 AM
Anyone have any idea what any of this is. The site was working perfectly today and it seems to have maigically broken. I'm guessing this is a server thing because I don't have any tmp folders. Does something need to be changed in their php.ini setting or something possibly?

If you click the link and there are no error messages on the page, it is most likely fixed.

http://thezplane.com/TZAclient_db/
Thanks for any insight.

SmoothDime
01-30-2005, 07:59 AM
maybe you're redirecting on some script for the first time. did you write the script? if so, look where the header is being sent.

Vman
01-30-2005, 04:36 PM
Yes, I wrote the script. The headers was being sent on line 4 like the error message said. I just find it strange that it worked fine for so long and then all of a sudden it didn't. It also worked fine on my local server.

I was using session_register() which I found has been deprecated so I don't know if that was causing a problem so I changed
$GLOBALS['Username'] = $login username;
//to
$_SESSION['Username'] = $login username;

I wiped out what was currently up on the server and replaced erything and it works now. I have to admit that I'm not very comfortable since I don't know exactly what was causing the problem. I'd hate to have it do that once it's turned over to my client. :(

Vman
01-30-2005, 10:10 PM
Well, it's doing it again. I have no idea what's going on. :(

Vman
01-30-2005, 11:57 PM
Well, After waiting an hour to speak with tech support, it appears that the partition on the server was full. I kinda suspected something like that, but at least I know for sure now. :)