I am stuck trying to input an admin username and password, but when I fill out the form, and click "save" it just gives me the same form again - like the info does not stick. Here is my link: http://www.iiemena-discovery.org/zenphoto/zp-core/admin.php
My setup seems to be all fine, just can't get past the prompt for an admin username and password. Please help!! thanks.
Yes, I ran setup and when I followed all the instructions, (fixed a couple of things - like permissions) it all looked good and then I clicked "Go" and that's when it took me to this admin page prompting me for a username and password. Should it have asked for them before? Doesn't seem like it.
Sorry, I just confused 1.1.3 with the nightly where the setup asks for adminname/password after setup.
I have currently no idea why that does not work. Could you try reinstalling zenphoto please? Maybe a file got lost somehow...
Otherwise we'll have to wait if one of my fellow developers has any ideas.
I have the same issue. Clean install with no issues. Config is great, file permissions are set, connecting to database, ect. When I login with the created credentials I keep getting returned to the login page with no error messages.
Tried install again.
IIS 6.0/win2k server
Shawn
Actually I don't know much about cracking mysql databases open and looking at table values. So i will do some research into this need to get the answer.
I believe the issue has to do with client side cookies. Although they are set in both FF and IE7 when I check the cookie files I see nothing that pertains to Zenphoto on my domain (http://www.carboncow.net). Any ideas of anything on the server side with php/mysql that would not allow a persistent cookie?
Again, please note that this win2k server also runs a Joomla! website, Gallery 1.5 website as well as MS Frontpage with ASP. All this functionality has no issue with cookies.
Lastly how can I get email notifcation of updates to this thread? Not seeing the config for that need.
Thank you for your time, will get back shortly on the password in the database.
Shawn
UPDATE, mysql admin allowed me to peek at table values. The zp_options table only has three entries. id, name and value. Nothing related to password, but I do see a password reference in the zp_albums table with NULL value. I have a screenshot of the table here: http://carboncow.net/php/gallery/view_photo.php?set_albumName=album164&id=screenshot_zenphoto_dabase_option_table
What does this tell us? Is the system not writing to the database in this case? I have tried putting the root password to the correct database to double check my credentials with no success. Again I get no error messages about the install, all looks well.
Shawn
Shawn, you're looking at the table column names, not the data itself. See if you can find the actual rows of data and see what's there.
That said, I definitely think this is a cookie issue. If you're not seeing the cookie in your browser, that's a problem. If you can find one, delete it and try again. Also, try looking at your cookies right after logging in, and if you find one then let us know what's in it. Thanks.
trisweb,
I understand the 3 items I see are the column names, but what data are you looking for if there is NOTHING pertaining to user/pass content? Did you happen to look at my screen shot to my view? The options colums/table shows 48 values but I have no idea how to view them in mysql administrator.
What name(s) are given to Zen cookies? I've looked at my cookies in detail for my test site and see NOTHING pertaining to zen or my site. Additionally, there is nothing that posts immediately after a login attempt.
There has to be some error server side for this cookie concern since my cookies were 100% ok for all other needs on my server and others.
I need this software! I am sick of the bloatware of other gallery options!
Thanks for the info on the RSS, this helps.
Loaded the nightly build but another issue is showing up now, see screenshot:
http://carboncow.net/php/gallery/view_photo.php?set_albumName=album164&id=screen2_002
although one can clearly see those permissions are given in the admin:
http://carboncow.net/php/gallery/view_photo.php?set_albumName=album164&id=screen3
I am going to reboot everything, clean up directories, databases and start over again tonight with the nightly build.
Did you add this identifier in the config message to the nightly build to trigger database permission issues or has this "shown up" now for another reason?
Shawn
Ok. Restarted server, new database, fresh install of nightly build and same concern with
"Your mySQL user must have Select, Insert, Update, and Delete rights. The SHOW GRANTS query failed."
during the Zenphoto Setup Config Page. This obviously has something to do with my inability to move forward but I can see nothing on the backend preventing the user from having these needed privileges. All other products I use function fine and was able to install another instance of Joomla! to test out the user/database privileges.
It's may be time to punt!
The Show Grants issue is probably not the problem. Your MySQL is not returning a response from this query. The message is just a warning anyway.
As for the password, in the options table there should be row with the name adminuser and one with the name adminpass. If these are present, the first should have the user name you picked and the second some strange looking numbers & letters.
If they are empty (blank) then the user/password is not being stored when you try to set it. If they have valid data then the problem must be with the cookie that remembers them for you.
sbillard,
the adminuser or adminpass entry are missing from the options table, so nothing is going into the database for this need...but the tables were created. So our issue must be with writing to the database correct?
You state the Show Grants query failed is not a concern. What about the permission issue from the message related to Select, Insert, Update, and Delete rights not being set? Is that most likely the smoking gun or are those simple query return issues too? Obviously the tables were created.
Sorry my limited knowledge of mysql and databases. I know enough to config and test but am not a coder or database expert.
Thank you for your time and comments.