I have an album that has a guest user and password. ZP is correctly marking the album as protected. When I try to log in as the guest user I get an error that user id or password is incorrect. I have just done a new install on a 1and1 server:
Should I redo with PHP5? Ideas?
Did you assign both a user and a password to the album or just a password? Some browsers "kindly" fill in user/password fields for you, so maybe you did not setup the user/password the way you thought or maybe on a subsequent save it got changed for you. You should check that.
If you have provided a user name for the album it must be supplied along with the password when a guest attempts to log in.
That's what I was afraid of. I have no user field in the albums table. That is weird. Have you heard of this happening? Would the creation of that be my version of MySQL? When I go to the main admin page it shows 5.0.67, but if I revisit the setup.php page it says 4.0.27. Setup also wants to update some tables including albums, which I let it do, but it didn't help. User still MIA. I am so tired of 1and1.
Well, seems that admin and setup are reporting two different things. Admin is reporting the version of the MySQL client, Setup is reporting the version of the MySQL server. (I did not even know that there was a difference.) We will fix it so that they both report the same item.
As to the login, I doubt it is a MySQL version difference.
Did you ever try the nightly build?
FIXEDbillard, thanks for staying with me on this. It was definitely a config issue. What exactly between the version of php, mysql, magic quotes and utf8 I am not sure, but it works. I have an install solution for 1and1 users here:
http://www.cyberward.net/blog/2009/05/installing-zenphoto-on-1and1/
I do know that the install didn't create all the fields, such as user on the album table. I didn't try things one at a time, so it was some combination or one of magic quotes, utf8, the 4.x version of php, or the 5.x version of mysql I had. If you look at that blog post, BEFORE I ran the install I turned off magic quotes, set utf8 encoding, set to use php5, and created the database with mysql6. Sorry, but I didn't try the things one at a time.
Thanks for letting me read this great post, keep it up.