Page 1 of 1

Problem with Admin Login [SOLVED]

Posted: Tue Dec 12, 2006 2:16 am
by tonypiazza
I am trying to install cmsms locally on Windows XP with Apache 2.2, PHP 5.2 and MySQL 5.0. The install script runs with no problems and I can then proceed to the home page. My problem is that I can't get past the Admin Login page. I have double-checked the credentials and even tried reinstalled from scratch. The Admin Login page doesn't complain about a bad username or password. It just stays on the same page when I click on the submit button.

Anyone have an idea as to what is happening here?

Any help would be greatly appreciated!

Tony Piazza

Re: Problem Admin Login

Posted: Tue Dec 12, 2006 2:21 am
by Dr.CSS
Look in the config.php, thru your FTP client, for path problems...

May be a \ instead of a / some where...

Re: Problem Admin Login

Posted: Tue Dec 12, 2006 2:29 am
by tonypiazza
Thanks very much for your fast reply!

I open up the config.php and found several backslashes so I changed them all to forward slashes. I then restarted Apache and tried logging in again. No difference....

Any other ideas?

Tony

Re: Problem Admin Login

Posted: Tue Dec 12, 2006 2:44 am
by Dr.CSS
Are all the permissions set correctly for all files/folders?...

Re: Problem Admin Login

Posted: Tue Dec 12, 2006 2:50 am
by tonypiazza
Mark,

Thanks again for your post. I doubled-checked the permissions on my folders/files and everything looks fine. I am running on Windows and installed cmsms in the root of the C: drive.

Anything else I should check?

Tony

Re: Problem with Admin Login [SOLVED]

Posted: Wed Dec 13, 2006 1:34 am
by tonypiazza
After turning on PHP debugging, I was able to see that sessoin.save_path referenced a non-existent directory. After changing it to a valid directory and restarting Apache, I was finally able to login!

Hopefully this helps someone else with the same issue.

Tony

Re: Problem with Admin Login [Not SOLVED]

Posted: Fri Dec 15, 2006 10:35 am
by lulu
Tony,

I think I have the same problem, I am trying to install cmsms locally on Windows XP and I don't pass the 4 step, it come back to the admin login page.
Coudl you help me to understand how you succeeded, could you explain the "php" debuging"...

Thanks,

lulu

Re: Problem with Admin Login [SOLVED]

Posted: Fri Jan 19, 2007 4:54 pm
by tonypiazza
Lulu,

Sorry it took so long to reply. I didn't see your posting until now. To enable debugging in CMSMS, open the file config.php and look for the following:

Code: Select all

$config['debug'] = false;
Change that value to true and then your CMSMS pages will write debug info to the generated pages. This was very helpful in seeing what was wrong with my CMSMS installation.

Hope this helps.

Tony