Login and password problems May 26, 2013 / Updated: June 12, 2022
What is the link to login on the backend?
- mod_rewrite support: <path to your installation>/admin
- no mod_rewrite: <path to your installation>/zp-core/admin.php
Forgotten admin password
- If you supplied an email address in the Admin options there should be a Captcha string image on the log-on page. Entering that string as the log-on password will email you a link to reset your password.
- If the Captcha is not there, or if you don't get the email, you need to delete the administrators table in your database and re-run setup.
Problems logging in on the backend
First please review "Forgotten admin password" above. If you are still having problems after following that advice you will have to enable some debugging to allow the developers to observe what is happening when you attempt your login. Locate your site's global-definitions.php file. Using a text editor find the line which contains
define('DEBUG_LOGIN', false); // set to true to log admin saves and login attempts
Change false to true and save the file. Now drop your administrator's table as described in the referenced troubleshooting article above.
- Delete any debug_log.txt file in your zp-data folder
- Run setup
- Create a new user/password
- Attempt to log in.
A new debug log will be created containing infromation the developers will need to troubleshoot your problem.
Password protected albums can be viewed without entering a password
There are two things that might be happening here:
- You are logged in as the administrator. Administrators are allowed to view any album, password protected or not.
- You have logged into the album at sometime in the past. Album passwords are remembered in cookies so that viewers do not have to log in at each page display.
This text by www.zenphoto.org is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Code examples are released under the GPL v2 or later license
For questions and comments please use the forum or discuss on the social networks.