Page 1 of 1

checking admin username and password

Posted: Tue Nov 27, 2007 10:51 am
by Chris153
I've completed installation but I can't log in as admin. the username and password i noted down as installing doesn't work; the db username and password shown in config.php doesn't work; the username ("admin") and password (a long random string) shown in the cms_users table of the DB (viewed using phpmyadmin) doesn't work.

I always get the message "Username or password incorrect"

I have tried changing permissions on config.php from 444 to 666 but this doesn't help.

I am using CMSMS 1.2 which I installed via FTP on a basic webhosting package from hostnine (Cpanel), PHP version  4.4.7,
MySQL version 4.1.20-standard

What am I doing wrong?

Re: checking admin username and password

Posted: Tue Nov 27, 2007 11:06 am
by kermit
i suppose you opted not to email yourself the login details? ;)

see http://forum.cmsmadesimple.org/index.ph ... l#msg16270

Re: checking admin username and password

Posted: Tue Nov 27, 2007 11:12 am
by RonnyK
Chris153,

the password is stored in MD5 format, that is a one-way encrypted string of the password used. This cannot be reversed. You can change the password for the default user,  using mySQLadmin, as shown in

http://wiki.cmsmadesimple.org/index.php/FAQ/Login

The login/pw shown in the config.php are the credentials for the database that will be connected. The user you entered in step 2 of the installation is the user that will login in the backend.

Ronny

Re: checking admin username and password

Posted: Thu Dec 06, 2007 3:28 pm
by Pierre M.
Hello,
Chris153 wrote: I've completed installation but I can't log in as admin. the username and password i noted down as installing doesn't work;(...)
I always get the message "Username or password incorrect"
(...)
What am I doing wrong?
Do you use a supported admin browser ?
Does your browser accept session cookies ? What cookies show up ?

Has something changed (about PHP sessions) in your install ?
Do you see anything usefull in the http logS ?
Does setting debug ON give a hint ?

Pierre M.