Skip to:
Content
Pages
Categories
Search
Top
Bottom

Buddypress-specific problems moving from local development to server


  • terraling
    Participant

    @terraling

    Hi

    I’ve been developing a site locally and have moved it to a live server for further development.

    It appears to be working okay, except for some of the buddypress links are still pointing to localhost.

    So, for example, the links on the activity stream to member profiles or to group pages point to localhost. I can go to the groups directory page and in that list they correctly point to the live server version. If I look at my list of friends they point to the live version.

    So it specifically seems to be the activity stream that has the problem.

    Any thoughts? Is there some cache or something that needs flushing?

    I tried disabling then re-enabling buddypress but that didn’t help.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)

  • terraling
    Participant

    @terraling

    Update: looking in the database at the wp_bp_activity table in the database I see that the links all point to localhost.

    I’m assuming I’m not the first person to ever move a buddypress install, is there something I should have done differently that would have made sure these links were updated?

    I have done a global replace of localhost in the database to fix it, but I’d rather not have it come up again.


    shanebp
    Moderator

    @shanebp

    >is there something I should have done differently

    Nope. That’s what you have to do.

    This tool can be useful – also handles serialized data

    Database Search and Replace Script in PHP


    terraling
    Participant

    @terraling

    Oh.

    Thanks. And thanks for the link, although reading it I’m now worried I’ve screwed my installation because of breaking the integrity of the serialized string lengths, whatever they are, ahem.


    shanebp
    Moderator

    @shanebp

    > now worried I’ve screwed my installation

    So do the migration again – before you get more data into the live version.

    If you have a large install, the script in that link can time-out depending on the resources available on your live server.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Buddypress-specific problems moving from local development to server’ is closed to new replies.
Skip to toolbar