login/username not accepted

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
rhys
Forum Members
Forum Members
Posts: 40
Joined: Thu Nov 24, 2005 4:16 pm

login/username not accepted

Post by rhys »

Hello

I've now got 7 sites up and running with cmsms, but have hit a new problem. I've installed it on a client's server (savusavu), and all reports were fine, but it refuses my username/ and or/password saying ''password/ username incorrect" for cmsms (not the database connetction, which is fine). So at first I figured human error, reinstalled and typed the username and password as slowly and accurately as i could - same problem... and a third time. I also got someone else to try it and it failed too.

Does anyone have any ideas?
tcmmngs

Re: login/username not accepted

Post by tcmmngs »

A late reply, but hopefully it helps some others.

I just completed an install of 1.0.4 on a GoDaddy shared Linux host and had the same error -- couldn't login with my admin username and password, although I confirmed that it was correct.

To cut to the chase, my username contained special characters, which apparently PHP/MySQL could not use e.g., site-admin. So, I had to enter the database and change the username from 'site-admin' to siteadmin. Problem solved.

For those interested in my troubleshooting steps:
1. Turned on debug in config.php and attempted login. This confirmed that the original username was the problem.
2. Went to GoDaddy's host control panel and via phpMyAdmin and updated the username. The SQL syntax is:
    UPDATE `cms_users` SET username='newname' WHERE id=id#;
    WARNING: Make sure you understand the syntax and replace values properly.
3. Tested login. OK.
4. Turned off debug.
5. Continued with the last install steps.
Pierre M.

Re: login/username not accepted

Post by Pierre M. »

@rhys :
May be your new server doesn't correctly handle PHP sessions ?
If you can browse the front end but not log in to the back end, double check server side cookies (with internet valid domain name) and sessions handling.
Pierre M.
Locked

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