Admin Login Problem w/ IIS w/ Possible Solution

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
Mike8888

Admin Login Problem w/ IIS w/ Possible Solution

Post by Mike8888 »

(Okay, I don't know much about CMS Made Simple or PHP.)

If you are using IIS and having problems logging into CMS Made Simple, here is a problem I encountered with what I believe was the solution for me.

I am using:
Windows Server 2000 / IIS 5 / PHP 4.3.8

Anyway, when I would try to log in with the correct username and password, it would just bring me back to the login page without stating any problem with the username / password combination.  I finally found out that my session variables were not being stored *between* pages.  It seems to me others have had similar problems.

To see if you have this problem, save this code as a complete page, go to it, and then refresh.  If your "Views" remains at "1" after refreshing, you lose.  (The "Views" is all the way at the bottom past all the PHP info stuff and such.)
*****************************
";
echo "Version = ".phpversion()."";
echo "Session ID = ".session_id()."";
echo "Session Name = ".session_name()."";
if(isset($_SESSION['views']))
    $_SESSION['views'] = $_SESSION['views'] + 1;
else
    $_SESSION['views'] = 1;

echo "views = ". $_SESSION['views'];
?>
******************************
While I did change a bunch of php.ini settings, I believe the one that fixed it was to set:
session.save_path = .\

I guess this just saves the session information in the script's directory or something.  Also note that I had to reboot after making the change for it to take effect, contrary to what I've read.

Hope this helps someone.
Locked

Return to “[locked] Installation, Setup and Upgrade”