PHP Session Issue -
17-07-2008
At cfegames.com/login.php there is a session and headers error that has been annoying me and eluding me for months. I've issolated the issue and found it to be within 3 files.
Mysql php
database php
login php
I checked all three, no spaces are before or after the <?php ?> tags.
I had a headers list display, it showed normal powered by: php-x-version 2.5.2 and something about content-type: x or something similar.
It appears on all pages, but does not bother the others. I'm assuming it may be a cache issue, but I've delete the cache before, and still the problem presists.
I'm using Smarty template engine and everything in the portal seems to work but the login. It says can't send session_start(), however, you are able to login. Although, if you select remember me, the cookies will not submit because of the headers already sent.
I took the login.php from another website I made that had the same portal system, and moving to cfegames and it still had the error, however, the error does not exist in the website I took it from. This seems very complicated and it is frustrating me very much. I checked the CHMOD and it is 644 like it should be. This has stumped U Tews from the Smarty forum and he could not assist me. I am hoping maybe someone here could assist with this probably very simple issue.
[Web Designer][Waypointer][Gamer]
CFE Games Administrator
[CFE]Games.com
[Never Trust the Untrusted]
|