system
(system)
May 9, 2006, 1:38pm
1
dmssmgr wrote on Tuesday, May 09, 2006 :
PHP 4.4.2, MySQL 4.1, Linux, Apache
After a successful installation (via FTP transfer) and (phpmyadmin SQL load of files and data) the screen will never leave the login_frame.php page utilizing the ‘admin’ ‘pass’. I have verified the data in the user file as auth=‘1’.
Anyone have any clues why this is not allowing me to log in?
system
(system)
May 9, 2006, 4:51pm
2
system
(system)
May 10, 2006, 1:35pm
3
dmssmgr wrote on Wednesday, May 10, 2006 :
Globals set to ‘off’
system
(system)
May 10, 2006, 1:37pm
4
dmssmgr wrote on Wednesday, May 10, 2006 :
Also, I don’t seem to really be logged in when I echo variables to the screen.
system
(system)
May 10, 2006, 2:42pm
5
drbowen wrote on Wednesday, May 10, 2006 :
This sounds like you don’t actually have permission to log in.
The way you describe your setup doesn’t sound like the standard way.
Is this a new database or an upgrade with live data?
Have you run the setup session?
Can you access the mysql server from the command line and can you log on with the mysql root user?
You can reset the admin password from the mysql client as the root user:
shell> mysql -h localhost -u root
mysql>\u openemr
mysql>UPDATE users SET password=MD5(‘pass’) WHERE username=‘admin’;
mysql>\q
system
(system)
May 10, 2006, 8:48pm
6
dmssmgr wrote on Wednesday, May 10, 2006 :
First: New Database
Second: I ran the setup with modifications. I manually created the databases through SQL on phpmyadmin, because I do not have command line access to the server. I can’t ssh into it. Shared server.
Though, this has never been an issue before. I run many php/mysql server applications. It is a dedicated mysql database (just no root user)
system
(system)
May 10, 2006, 8:49pm
7
system
(system)
May 23, 2006, 4:16am
8
markleeds wrote on Tuesday, May 23, 2006 :
I had this problem on my pda. Turned out to be a browser issue.
Is Javascript turned off or not fully supported by your browser?
system
(system)
May 23, 2006, 1:06pm
9
dmssmgr wrote on Tuesday, May 23, 2006 :
I’ve tried it with both Firefox and I.E. Explorer, both with Javascript turned on.
system
(system)
May 23, 2006, 6:38pm
10
markleeds wrote on Tuesday, May 23, 2006 :
Try Dr. Bowen’s solution above. You should be able to do it with phpmyadmin because you can enter queries with it.
Just to check, you could try:
SELECT password FROM users WHERE username=‘admin’
and then…
SELECT MD5(‘pass’)
and see if they are the same. If not, do as he suggested above:
UPDATE users SET password=MD5(‘pass’) WHERE username=‘admin’
system
(system)
May 23, 2006, 10:23pm
11
drbowen wrote on Tuesday, May 23, 2006 :
What SQL statement(s) did you use to set up the openemr database?
Using the openemr database what result do get from the query?
SELECT * FROM usrs;
Sam Bowen
system
(system)
May 23, 2006, 10:29pm
12
drbowen wrote on Tuesday, May 23, 2006 :
sorry about the typos:
SELECT * FROM users;
A result of auth=‘1’ suggests that there is an ‘admin’ user there should be more to the result. It should look something more like:
| 1 | admin | e62a159426521426a1b04e217be36be8 | 1 | NULL | NULL | | NULL | Your User Name | NULL | NULL | NULL | Your Clinic |
where
e62a159426521426a1b04e217be36be8
is the md5 hash of the password ‘pass’.
(This is not a real result but a faked one to protect the innocent).
Sam Bowen
system
(system)
May 24, 2006, 5:48pm
13
dmssmgr wrote on Wednesday, May 24, 2006 :
Unfortuneatly, none of the above works for me. Now the register_globals is set to ON.
I have to try something else, though I wanted to utilize this program.