Forum Moderators: coopster
If you try to login without checking the "Remember me" box, the script/server will just redirect you to index.php, then back to the login page again. If, however, one enters the incorrect login details, the script will show an error message once you're back to the login page. However, in this particular case, it doesn't.
It isn't specific to only this script (WHMCS is a widely used script), and I've had this problem with 2 other scripts (only wordpress works fine though, hurray). According to at least 2 different people, it has something to do with the PHP sessions/server, but I can't figure why, or what, for that matter. My host isn't being very helpful either; we've just had an argument over MSN messenger. I've tried rebuilding the server, but the problem just keeps coming back (and hasn't been resolved for the past month or two). Please excuse me while I find a convenient wall to bang my head against right now.
I haven't touched any server core files, so I'm not sure what's happening (neither am I sure that this is the correct forum). But any help would be very much appreciated.
[edited by: dreamcatcher at 11:11 am (utc) on Dec. 3, 2008]
[edit reason] Removed url and specifics. [/edit]
maybe a bit of code would be in order.
what's the code that checks the session and decides where to redirect you to?
a useful bit of code to see what is in the session, or if it is even set at all, is
echo '<pre>';
print_r($_SESSION);
echo '</pre>';
you could use this on the page setting the session or even on the page that shows the error to see what is going on.
you could also check in your browser to see if the session cookie was set.
Aside from that if it isn't being set then you should check for session_start() everywhere and also look at the server settings