ZenphotoThe simpler media website CMS
There was an error logging in. Check your username and password and try again.Through phpMyAdmin I have altered my username back to admin, and the password to 1234 (based on another post I read) using the ...SET password = MD5(1234) where id = 1, but thus far have still failed to get into the system. [Does the system use md5 encryption?]
Comments
As for browsing, no login is needed normally to view a site.
What are the other possible causes?
Permissions? I have them all set to www-data...
MySQL - if I can browse the photos there should be nothing wrong with the data connection?
Ah.... found it... I had not set the setting to true in this line of zp-config.php Thanks for a great piece of software!
Martin
I migrated from Windows to Linux a little while back... but the setting in zp-config.php was "false" under Windows. Not sure why it should require this on a Linux box, but hey!
Maybe I changed my MySQL installation and configuration to being utf8 when I switched to Linux (it was a while back and becoming a Linux user is all a bit of a blur) hence maybe I was unable to read the data in it without having the setting as "true".
If you get any ideas it would be good to know for general future use.
Thanks again.
Martin
"There was an error logging in. Check your username and password and try again."
I am positive I'm using the correct username/password because I just set it up five minutes earlier. This is very confusing. Any ideas as to why I suddenly can't login after just setting up zenphoto?
website: http://eye.brazenzen.org
Did the login form say it sent the reset e-mail?
Anyway, what you will need to do is delete the zp_administrators table then run the setup program. This will start you clean where you will provide a username and password for Zenphoto. These are NOT the same thing as your MySQL credentials.
You should check with your provider on why you did not get the reset e-mail. Presumably they are not supporting the PHP mail capability. If this is the case you will also not get comment notification if you have enabled it.
In the mean time, maybe a post-it note with your user/password would be a good investment:)
I hhave this same problem. I sent the reset request, got the necessary information but I still get the error message when logging in . I used simple scripts to set up my stuff.
I set up a new user and set their password to: 83mB7tNN
In my zp_administrators table, the user's encrypted password is: ce44b41a56f5d0524c49ded450e3db0c
In a shell, when I run md5 -d83mB7tNN, I get: 2967F60F5CB7194F74C942A150D40648
When I try to use mySQL in my zp_administrators table to alter the password and use the MD5 function against the string '83mB7tNN', I also see the results as: 2967F60F5CB7194F74C942A150D40648
When I try to log in to my ZenPhoto admin page with this account, it fails.
When I update zp_administrators with the password 'ce44b41a56f5d0524c49ded450e3db0c' for that user (no function applied during the update command), I can then, once again, log into the ZenPhoto page with password '83mB7tNN'.
So, the question remains, what is the encryption method for ZenPhoto's zp_administrators' password column?
Look at the script lib-auth.php for Zenphoto's algorithms.