Trouble with auth_key w (Wordpress)

Discussion in 'aMember Pro v.4' started by eric_car2, Feb 16, 2012.

  1. eric_car2

    eric_car2 aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    48
    Hello,

    I have 2 wordpress blogs on the same domain integrated with amember.
    For duplicate plugin wordpress protect I folowed this thread :
    http://www.amember.com/forum/threads/sync-several-wp-installs-to-1-db.13788/#post-53908

    All seem ok exept that in my worpress and wordpress1 (in amember>configuration panel), I have the same
    SECURE_AUTH_KEY,
    LOGGED_IN_KEY,
    NONCE_KEY,
    AUTH_SALT,
    SECURE_AUTH_SALT,
    LOGGED_IN_SALT,
    NONCE_SALT.
    ... and it's impossible for my users to connect in blogs.

    Any ideas ?

    Thx
    Eric


  2. eric_car2

    eric_car2 aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    48
    (just for email alert)
  3. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Eric,
    the problem seems to be in public function afterAddConfigItems(Am_Form_Setup_ProtectDatabased $form) {
    Wordpress config section prefix is hardcoded in that file.
    So you have to change this in your other plugin:

    $form->addText('protect.wordpress1.folder', array('size'=>70))
    ->setLabel(array($this->getTitle() . ' Folder', "
    Folder where you have " . $this->getTitle() . " installed"));
  4. eric_car2

    eric_car2 aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    48
    Great Alex,

    It's work perfect :)

    Amicalement,
    Eric

Share This Page