{"id":1156,"date":"2011-02-13T15:46:31","date_gmt":"2011-02-13T23:46:31","guid":{"rendered":"http:\/\/www.digitalaccesspass.com\/doc\/?p=1156"},"modified":"2014-03-01T22:35:13","modified_gmt":"2014-03-02T06:35:13","slug":"troubleshooting-login-issues","status":"publish","type":"post","link":"http:\/\/digitalaccesspass.com\/doc\/troubleshooting-login-issues\/","title":{"rendered":"Troubleshooting Login Issues"},"content":{"rendered":"<h3>1. &#8220;You are already logged in&#8230; click here to continue&#8221;<\/h3>\n<p>Q: When users log in, they aren&#8217;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 &#8220;You are already logged in&#8230; click here to continue&#8221;. And when they click the link, then they are redirected to the correct page. How can I avoid showing my users this message?<\/p>\n<p>A: Make sure you enter the your actual login page&#8217;s URL (where you have the login form) into <strong>DAP Admin &gt; Setup &gt; Config &gt; &#8220;Login URL&#8221;<\/strong> 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&#8217;t already logged in) which would then reload all Config changes, and the next time you or your users log in, they won&#8217;t see that message, and will go directly to your member&#8217;s home page (or &#8220;Post-Login URL&#8221; as per global or product settings).<\/p>\n<h3>2. You are unable to log in as DAP Admin (OR)<br \/>\nYou don&#8217;t remember your DAP Admin Email\/Password<\/h3>\n<p>Starting DAP v4.3.1, if you log in to the WordPress Admin panel on your site, you&#8217;ll also be logged in automatically as DAP Admin. And when you click on the &#8220;<strong>Digital Access Pass<\/strong>&#8221; link towards the bottom-left part of your screen in the WP Admin panel, you&#8217;ll be taken to the DAP Admin Home Page.<\/p>\n<p>So this is for those of you who haven&#8217;t upgraded to 4.3.1 yet, or for some reason, you&#8217;re locked out of DAP Admin. So keep reading&#8230;<\/p>\n<p>Your DAP Admin Email\/Password is <strong>NOT<\/strong> <strong>THE SAME <\/strong>as your WP admin Username\/Password. Make sure you use the right DAP admin email Id\/Password to access DAP admin panel.<\/p>\n<p>a) If you do not remember what your <strong>DAP Admin Password<\/strong> is, then you can find it by putting in your DAP admin email and clicking on the &#8220;Forgot Password&#8221; link in the login form at&#8230;<\/p>\n<p><strong>http:\/\/YourSite.com\/dap\/login.php<\/strong> .<\/p>\n<p>And then DAP will email you the right password for that email id.<\/p>\n<p>b) If you do not remember what your <strong>DAP Admin Email<\/strong> id is, go to <strong>WP Admin -&gt; Settings -&gt; General -&gt; E-mail address<\/strong> . Try the email address there and do a &#8220;Forgot Password&#8221; with that.<\/p>\n<p>c) If even that doesn&#8217;t work, then login to your <strong>Webhost Control Panel <\/strong>; Go to the <strong>phpMyAdmin <\/strong>icon to access your dap\/WP database, look for the <strong>dap_users<\/strong> table, &#8220;browse&#8221; through the data, and you will find the dap admin id\/password there with the account_type of &#8220;<strong>A<\/strong>&#8221; (for Admin).<\/p>\n<h3>3. Login Page Shows 404 \/ Page Not Found Error<\/h3>\n<p>If you get a 404 page or an incorrect login page when you click on the <strong>DigitalAccessPass<\/strong> link in the WP admin panel menu, then do this:<\/p>\n<p>Login to your DAP admin dashboard outside of WP (if you are unable to login from within your WP admin panel), by going to:<\/p>\n<blockquote><p><strong>http:\/\/<\/strong><strong>yoursite.com\/dap\/login.php <\/strong><\/p><\/blockquote>\n<p>(<strong>Note<\/strong>: replace <strong>yoursite.com<\/strong> with the name of your site).<\/p>\n<p>After logging in, check this setting in <strong>Setup -&gt; Config -&gt; Advanced<\/strong> category to make sure it is pointing to the right page:<\/p>\n<blockquote><p><strong>Location of your login page (eg., if using WordPress). Should start with a forward slash (`\/`)<\/strong><\/p><\/blockquote>\n<p>You can change the login page to <strong>\/dap\/login.php<\/strong> (default dap login page).<\/p>\n<p>Or you may create a <a href=\"http:\/\/www.digitalaccesspass.com\/doc\/creating-a-login-page-within-wordpress\/\">custom login page<\/a> and set the URL of that custom login page in the\u00a0<strong> &#8216;Location of your login page&#8217;<br \/>\n<\/strong><\/p>\n<p>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: <strong>&#8216;Location of your login page&#8217;<\/strong><\/p>\n<p>So if you set <strong>&#8216;Location of your login page&#8217; <\/strong><strong> <\/strong>to\u00a0say <strong>\/login<\/strong> but if there is no such page (http:\/\/yoursite.com<strong>\/login<\/strong>), then the result will be a 404 error. So make sure you set <strong>&#8216;Location of your login page&#8217; <\/strong>(under Setup -&gt; Config -&gt; Advanced) correctly.<\/p>\n<p><strong>NOTE: <\/strong>Admin will always be redirected to dap admin panel upon login.<strong> <\/strong>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-&gt;Config-&gt;Advance-&gt;&#8217;URL to which the user is redirected to upon login&#8217; if no product level login redirect is set).<\/p>\n<p>To customize the login page or to customize members area page, see &#8211;<\/p>\n<p><a href=\"http:\/\/www.digitalaccesspass.com\/doc\/creating-a-login-page-within-wordpress\/\">http:\/\/www.digitalaccesspass.com\/doc\/creating-a-login-page-within-wordpress\/<\/a><br \/>\n-and-<br \/>\n<a href=\"http:\/\/www.digitalaccesspass.com\/doc\/creating-member-affiliate-sections-within-wordpress\/\">http:\/\/www.digitalaccesspass.com\/doc\/creating-member-affiliate-sections-within-wordpress\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. &#8220;You are already logged in&#8230; click here to continue&#8221; Q: When users log in, they aren&#8217;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 &#8220;You are already logged in&#8230; click here to continue&#8221;. And when they [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[20,46],"tags":[],"_links":{"self":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/1156"}],"collection":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/comments?post=1156"}],"version-history":[{"count":19,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/1156\/revisions"}],"predecessor-version":[{"id":4267,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/1156\/revisions\/4267"}],"wp:attachment":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/media?parent=1156"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/categories?post=1156"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/tags?post=1156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}