• Resolved cristofayre

    (@cristofayre)


    I’m getting mighty annoyed with WordPress – especially as it seems to be a bug that has been ongoing in the forums for four years and nobody seems to have resolved it yet.

    I refer of course to the terrible media library that has a mind of its own when transferring between online and offline sites. Just spent the last 10 HOURS trying to get the blasted thing to work!

    First up, the offline site somehow ended up with corrupted post_meta files; they showed the height, width, file and meta data … but for some reason had decided to “drop” all the sizes, (ie thumbnails) No amount of work would get them back.

    So I regenerated thumbnails – which were already in upload folder. Nope, made no difference to the entries in SQL

    So I thought I’d try a back up. Backed up online version, switch to offline, restore … and now all the graphics – despite being in the same named folder online and offline – now show as grey place holders.

    So I uploaded a single file. Even that returned as a single grey placeholder, (you would think a new file going into the database would record correctly)

    So I copied downloaded all the image files back to the folder – all 8,000 including the 9 thumbnails of each image – and of course none of them show at all … despite the “wp_attachment_metadata” being present in SQL tables, and all pointed to the correct folder, (remember, the site is a restore from the online site, and the images are downloaded from the same site to the same location – effectively a mirror image)

    Oh, and original site -which I inadvertantely deleted after 6mths work – had files uploaded from Jan – June. The new installation was set up in July … and the new install won’t recognise the images from previous months! (Yes, I did do a backup, but now working on another domain, for which the backup host want $80 for a “migration”)

    Why, when you have a SQL entry pointing to “2015/05/xxxx”, move that table to another server with the same database name, and copy folder “2015/05/” from A to B the thing won’t work is a bit of a mystery.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter cristofayre

    (@cristofayre)

    Ha-Ha-Ha
    I told you I downloaded all the files to WordPress. It now tells me “All the files you uploaded are now available in the media library …” Yep, you guessed it: NOTHING!

    Thread Starter cristofayre

    (@cristofayre)

    I WAS going to say I was wrong!!

    I just noticed I had 27 TABLES on the left side of PHP MYADMIN, half prefixed “cristofa_” and half with “wp_”

    I remembered I’d imported data from online site, so double checked the prefix. Sure enough, it was the default “wp_” setting. The “cristofa_” is what I’d used on the offline set when setting up.

    So I edited “wp_config”, set the prefix to “wp_” … and all the images have reappeared … or so I thought! But I was viewing the online site! (I have to click HOSTMAN to select if I want to go online to use live site, and click again to use offline server since both online and offline share same domain name! An I get confused as to whether red button means online or offline!!)

    Suffice to say, made “diddly-squat” difference; still got grey placeholders.

    Thread Starter cristofayre

    (@cristofayre)

    Sorry everone!
    I got myself confused BIG TIME. Earlier, in an attempt to get things going, I renamed / moved “wp_postmeta” to “cristofa_postmeta” … and then changed “wp_config” to “_wp”, so of course “postmeta” was missing, hence no images!!

    Renamed it back to “wp_postmeta” and Bingo! images back. I’m a “Happy Bunny” again. (Now all I gotta do is manually add thumbnails to 1200 posts!! 600 offline and 600 online!!)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Getting ***** frustrated with media libray’ is closed to new replies.