I broke my Wordpress integration

Discussion in 'Integration' started by agentx, Dec 13, 2016.

  1. agentx

    agentx New Member

    Joined:
    Sep 6, 2011
    Messages:
    6
    There's a duplicated function class in phpBB and Wordpress: named PasswordHash

    Trying to resolve an issue with this, I renamed the class in three core Wordpress files to PasswordHash2
    The files are:
    Wordpress/wp-includes/class-phpass.php
    Wordpress/wp-includes/pluggable.php
    Wordpress/wp-includes/user.php

    I reasoned that if there was a problem, I could easily revert back...

    Everything seemed fine and it resolved the problem at hand.
    BUT I used the aMember utility to rebuild my databases.

    This seems to have created two problems.
    1. Users logging on through aMember are no longer logged into Wordpress.
    2. If I undo the changes to Wordpress, we get "PHP Fatal error: Cannot redeclare PasswordHash" when logging on or off.

    I tried logging into aMember admin, then restoring the original Wordpress files and running a DB rebuild. That just throws an error.

    Can anyone suggest how I might untangle this? (I'm on aMember v4)
  2. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    2,295
  3. agentx

    agentx New Member

    Joined:
    Sep 6, 2011
    Messages:
    6
    Thank you Caesar.
    I have created a ticket.

Share This Page