New Server, New Flood of User Login/Download Problems

Discussion in 'Troubleshooting' started by matthewebel, Jan 23, 2012.

  1. matthewebel

    matthewebel Minister of Piano Rock

    Joined:
    Jul 13, 2008
    Messages:
    22
    I recently moved my membership site, https://matthewebel.net from a subdomain to its own top-level account on my web host. I also encrypted the entire site via SSL, using an .htaccess rewrite to force users into https instead of http:

    Code:
    # BEGIN FORCE SECURE
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteCond %{REQUEST_URI} !feed/rss [NC]
    RewriteRule ^(.*)$ https://matthewebel.net/$1 [R=301,L]
    # END FORCE SECURE
    Ever since I made the switch I've had some users- not all -complaining of:
    • Inability to log in
      • Login forms give them a "non-secure" warning and the "Username [] does not exist in database" error, even though I can clearly see their name and payments from the control panel.
    • Inability to download from protected folders
      • They can log in the website, but when they click a download link, they enter login info for htpaswd authentication and it just pops right back up. no error msg.
    I have tried the "Rebuild DB" option from the AMember CP and it hasn't solved these problems. I don't understand why some people are having trouble while others aren't.

    I am currently running:
    • aMember3.2.3PRO (Not upgrading until DB issues are fixed)
    • PHP 5.2.17 (cgi-fcgi)
    • Linux
    • MySQL 5.1.60
    • Wordpress 3.1 (Not upgrading until DB issues are fixed)
    • Wordpress Integration Plugin 0.3
    Feel free to take a look at https://matthewebel.net and let me know fi you can shed any light on the subject. If you've had similar problems, please share.
  2. matthewebel

    matthewebel Minister of Piano Rock

    Joined:
    Jul 13, 2008
    Messages:
    22
    UPDATE: I changed the name and password of the user experiencing the first problem and it solved it... I have NO IDEA WHY. Don't know if it was the name or password or just that altering the DB directly via phpMyAdmin somehow unfucked the entry, but at least one customer's happy.

    Still no idea why the latter can log in but can't download.
  3. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    1. Have your user clear their browser cache /cookies and restarting browser to try again?
    2. What browser type / version are they using?
    3. Have you tried logging on with this user and seeing if you can reproduce the problem?
  4. matthewebel

    matthewebel Minister of Piano Rock

    Joined:
    Jul 13, 2008
    Messages:
    22
    1. Always the first thing I suggest since it fixes 90% of the problems.
    2. Last I checked, Firefox and an Android mobile device. The user whose problem I fixed also tried in Safari on Lion, but obviously that problem had something to do with the DB, not their browser.
    3. Again, always the second thing I do. For the user who can log in but can't download, I'm able to use the "Log In As User" feature in the CP and download properly. He's a nerd and knows to clear his cache, erase his cookies, try more than one browser, sacrifice a chicken to Al Gore, dance in circles around his router, etc... the usual voodoo.
  5. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    1. Have you tried directly logging on as the user from a clear browser (ie. no cookies / cache) and checked if you are able to download (just to remove the admin -> login as variable from the mix.

    2. Anything unique about the product subscription (or combination of products) for this user as compared to others (ie. was expired and now renewed, subscribed to a new product that noone else is, subscribed to multiple products, went from free to paid upgrade, etc)

Share This Page