-
- 24,544 Posts
See if this helps (courtesy of bunk58):
The passwords are encrypted when saved to the database.
I think the only thing you can do is set new ones from the manager.
If you can’t login to the manager at all then you will need to do it direct into the database.
The table is modx_manager_users choose one of the users and set the password to e10adc3949ba59abbe56e057f20f883e
Now login as that user with the password 123456.
Remember to change the password when you’ve logged in!
Be sure to clear your browser caches and cookies before logging in after you change the DB. I think I’d do an upgrade install at that point too, to clear the MODx cache.
-
- 6 Posts
Hi BobRay
Thanks for that. I had already been changeing the password etc in the database itself anyway. But I did exactly what you said and it is just the same.
No error message about wrong username or password.
I’m just presented with blank Username and Password fields again.
The strange thing is that I’m entering the EXACT Username and Password (admin and 123456) so it’s almost as if it "doesn’t want to accept them"?
If I enter an obviously wrong Username or Password, it recognises that and tells me with the standard Incorrect whatever message.
Regards
Terry
Sounds like your PHP configuration does not have sessions set up properly.
-
- 6 Posts
Hi OpenGeek
Can you please indicate how or where I can set up sessions properly. I have had a look in my php.ini, but I don’t fully understand sessions. If it would be any help, I have included below the Sessions section from info.php...
session
Session Support enabled
Registered save handlers files user
Registered serializer handlers php php_binary wddx
Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 Off Off
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_httponly Off Off
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 1000 1000
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.hash_bits_per_character 5 5
session.hash_function 0 0
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path C:\program files\php\temp C:\program files\php\temp
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid 0 0
Regards
Terry