WordPress.org

Ready to get started?Download WordPress

Forums

Simple Local Avatars
avatars lost when moving site (6 posts)

  1. ch8rt
    Member
    Posted 11 months ago #

    During development I'm moving a site from one server to another, the meta in the database seems complete and correct once moved, but avatars aren't showing – just the default image.

    Other images in posts etc are working fine.

    Any ideas?

    http://wordpress.org/plugins/simple-local-avatars/

  2. Brandon White
    Member
    Posted 10 months ago #

    I am having the same issue. It stores it relative to the URL of the website, however even if that is correct, it is broken in this if statement:

    $local_avatars = get_user_meta( $user_id, 'simple_local_avatar', true );
    
    		if ( empty( $local_avatars['full'] ) )
    
    			return $avatar;

    but the "full" array is obviously not empty:

    a:8:{s:4:"full";s:87:"http://techgroove.net/blog/wp-content/uploads/2013/08/Brandon-White_avatar_1376883306.jpg";i:64;s:93:"http://techgroove.net/blog/wp-content/uploads/2013/08/Brandon-White_avatar_1376883306-64x64.jpg";i:16;s:93:"http://techgroove.net/blog/wp-content/uploads/2013/08/Brandon-White_avatar_1376883306-16x16.jpg";i:96;s:93:"http://techgroove.net/blog/wp-content/uploads/2013/08/Brandon-White_avatar_1376883306-96x96.jpg";i:32;s:93:"http://techgroove.net/blog/wp-content/uploads/2013/08/Brandon-White_avatar_1376883306-32x32.jpg";i:74;s:93:"http://techgroove.net/blog/wp-content/uploads/2013/08/Brandon-White_avatar_1376883306-74x74.jpg";i:24;s:93:"http://techgroove.net/blog/wp-content/uploads/2013/08/Brandon-White_avatar_1376883306-24x24.jpg";i:18;s:93:"http://techgroove.net/blog/wp-content/uploads/2013/08/Brandon-White_avatar_1376883306-18x18.jpg";}

  3. gravesend47
    Member
    Posted 10 months ago #

    Same problem here. I've made sure the images are in the library and the paths are correct in database usermeta table, but they don't even show in front or back end as a missing image, just as if there never was an avatar image there in first place.

  4. denniskoster
    Member
    Posted 8 months ago #

    Same problem here. They do show as missing images here as it's trying to load them from the development domain instead of the production domain. Please fix!

  5. pax
    Member
    Posted 5 months ago #

    This is a serious downside, not being able to migrate database from the development to production domain. No updates yet?

  6. AACT
    Member
    Posted 4 months ago #

    Hi, is this plugin still being maintained by the author? Not being able to migrate a database to a production domain would, as pax notes, be a serious downside.

Reply

You must log in to post.

About this Plugin

About this Topic