Wordpress not logging in

Discussion in 'Troubleshooting' started by jennifer6, Dec 10, 2008.

  1. jennifer6

    jennifer6 New Member

    Joined:
    Aug 22, 2006
    Messages:
    17
    Hi -

    I am unable to get wordpress to recognize when an amember is logged in.

    I am using the amember plugin and both amember sidebar widget AND just the code noted on this forum. In either case - it does not work although the amember is logged in.

    I have troubleshooted the ww/non-www issue, roles and user levels. Im using Wordpress 2.6.2 and do NOT have a secret or auth key for wordpress, so have not included that in the amember admin configuration for the plugin.

    Any help is MUCH appreciated.

    You can see it not working here:
    http://www.chefsline.com/blog/prime-rib-cooking-guide/
    login cgitest
    pw 12345
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    How about in wp-config.php, have you set this section?

    define('AUTH_KEY', 'pass'); // Change this to a unique phrase.
    define('SECURE_AUTH_KEY', 'pass'); // Change this to a unique phrase.
    define('LOGGED_IN_KEY', 'pass'); // Change this to a unique phrase.


    David
  3. jennifer6

    jennifer6 New Member

    Joined:
    Aug 22, 2006
    Messages:
    17
    Follow up re Wordpress

    Hi David-
    Thanks!
    Good thinking. I added that to wp-config and amember.
    No change.
    ....
  4. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    The other is to ensure your keys do not have any non alphanumeric characters (just 0-9,a-z,A-Z).. typically it has punctuation and such which seems to mess things up.

    Be sure to change it in WordPress and aMember
  5. jennifer6

    jennifer6 New Member

    Joined:
    Aug 22, 2006
    Messages:
    17
    Ok! so I totally got somewhere with this. Thank you both. Now onto address issue of the amember CP being able to recognize a secondary database.

    Thanks again - above worked.
  6. robw

    robw CGI-Central Partner

    Joined:
    Dec 18, 2007
    Messages:
    287
    It doesn't seem to be all punctuation characters - just the 'magic quotes characters': backslash (\), double quote (") and single quote ('). All these will be shown in the generated keys with a preceding backslash - ie \\ \' and \"

    So, if you use the key generator, simply search for backslashes and remove both it and the next character.

    That way you can still have very secure keys without breaking amember integration.

    Cheers
    Rob
  7. jennifer6

    jennifer6 New Member

    Joined:
    Aug 22, 2006
    Messages:
    17
    Hi all,
    Thanks so much for your input.
    The system is still not working. If anyone very familiar with amember + wordpress would be interest in working on this project - please contact me. jenn at chefsline dot com. Thanks!
  8. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    I have a video on my site specifically outlining how to do an amember/wordpress integration. Premium membership is needed.

    David

Share This Page