Troubleshooting Login Issues
1. “You are already logged in… click here to continue”
Q: When users log in, they aren’t redirected to the page that I have set either in the global or the product settings. They remain on the login form and see the message “You are already logged in… click here to continue”. And when they click the link, then they are redirected to the correct page. How can I avoid showing my users this message?
A: Make sure you enter the your actual login page’s URL (where you have the login form) into DAP Admin > Setup > Config > “Login URL” field. Save changes. Then in a different browser, visit your log out link by going to http://YourSite.com/dap/logout.php (even if you aren’t already logged in) which would then reload all Config changes, and the next time you or your users log in, they won’t see that message, and will go directly to your member’s home page (or “Post-Login URL” as per global or product settings).
2. You are unable to log in as DAP Admin (OR)
You don’t remember your DAP Admin Email/Password
Starting DAP v4.3.1, if you log in to the WordPress Admin panel on your site, you’ll also be logged in automatically as DAP Admin. And when you click on the “Digital Access Pass” link towards the bottom-left part of your screen in the WP Admin panel, you’ll be taken to the DAP Admin Home Page.
So this is for those of you who haven’t upgraded to 4.3.1 yet, or for some reason, you’re locked out of DAP Admin. So keep reading…
Your DAP Admin Email/Password is NOT THE SAME as your WP admin Username/Password. Make sure you use the right DAP admin email Id/Password to access DAP admin panel.
a) If you do not remember what your DAP Admin Password is, then you can find it by putting in your DAP admin email and clicking on the “Forgot Password” link in the login form at…
http://YourSite.com/dap/login.php .
And then DAP will email you the right password for that email id.
b) If you do not remember what your DAP Admin Email id is, go to WP Admin -> Settings -> General -> E-mail address . Try the email address there and do a “Forgot Password” with that.
c) If even that doesn’t work, then login to your Webhost Control Panel ; Go to the phpMyAdmin icon to access your dap/WP database, look for the dap_users table, “browse” through the data, and you will find the dap admin id/password there with the account_type of “A” (for Admin).
3. Login Page Shows 404 / Page Not Found Error
If you get a 404 page or an incorrect login page when you click on the DigitalAccessPass link in the WP admin panel menu, then do this:
Login to your DAP admin dashboard outside of WP (if you are unable to login from within your WP admin panel), by going to:
http://yoursite.com/dap/login.php
(Note: replace yoursite.com with the name of your site).
After logging in, check this setting in Setup -> Config -> Advanced category to make sure it is pointing to the right page:
Location of your login page (eg., if using WordPress). Should start with a forward slash (`/`)
You can change the login page to /dap/login.php (default dap login page).
Or you may create a custom login page and set the URL of that custom login page in the ‘Location of your login page’
When you click on the DigitalAccessPass link in the left sidebar of your WP admin panel, the page that shows up is the page configured here: ‘Location of your login page’
So if you set ‘Location of your login page’ to say /login but if there is no such page (http://yoursite.com/login), then the result will be a 404 error. So make sure you set ‘Location of your login page’ (under Setup -> Config -> Advanced) correctly.
NOTE: Admin will always be redirected to dap admin panel upon login. The users will be redirected to whatever the product-level login redirect is set to in DAP products page (or global login redirect under dap Setup->Config->Advance->’URL to which the user is redirected to upon login’ if no product level login redirect is set).
To customize the login page or to customize members area page, see –
http://www.digitalaccesspass.com/doc/creating-a-login-page-within-wordpress/
-and-
http://www.digitalaccesspass.com/doc/creating-member-affiliate-sections-within-wordpress/