I am beyond puzzled... wordpress integration not showing category list on amember?!

Discussion in 'Troubleshooting' started by miso, Jun 5, 2009.

  1. miso

    miso aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    543
    All right, this is just annoying and frustrating... as every other site I try it on, it works just fine.

    But on this one - no go.

    Here's the problem - you notice the navigation menu - you see the top level pages, and categories listed underneath.

    Flip over to amember and navigation menu is totally different, if not non-existent.


    And all I did was integrate the wordpress section into the config.inc.php via:

    define('WP_USE_THEMES', false);
    require("/home/users/whatever/wp-blog-header.php");

    and header template via:
    {php}get_header(){/php}

    (as you normally would...)

    What in the world could be causing this?

    I've seriously tried everything - reinstalling amember... moving/reinstalling wordpress... god knows what else... and now, 4 hours later I still don't have a solution.

    And this literally works on all other sites I've had it implemented on... which is the most annoying thing!

    Anyone experienced this before? Or any suggestions where to go with this, what to try?
  2. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    If I had to guess, a permissions issue with the aMember dB user not having access to the WP database to retrieve the categories.
  3. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    aMember now has caching, could that be it?

    David
  4. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Is display_errors enabled in php?
  5. miso

    miso aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    543
    it should display for non-logged in users as much as for logged in users, but it doesn't work for either... so I don't think that's it.

    I cleaned out the "template_c" folder, as I assumed that might have been the case too... no luck.

    yes.
  6. miso

    miso aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    543
    Everyone's out of ideas, eh?

    And it's a simple wp_list_categories() function that works just fine in wordpress, but no go in amember side... and only on this specific site for some reason.
  7. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    grant the aMember dB user access to the WP dB.. nothing to do with aMember userids.
  8. miso

    miso aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    543
    aahhhhh!

    fack!

    that's what it was - they were installed in separate DBs... I just moved the wordpress tables into the amember database and voila - it all works.

    jesus... that was it?!!

    thanks skippy - you're a life saver!

Share This Page