Home Forums Weaver II Theme SQL Restore Missing Images and Media

Topic Resolution: Answered

This topic contains 6 replies, has 3 voices, and was last updated by  Darnell R 8 months, 2 weeks ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #57607
    Answered

    Darnell R
    Participant

    Hello,

    I had to restore my educational site from a SQL backup. The backup file had the theme from Weaver II, which for whatever reason was not restored (I know WeaverXtreme is the current version).  At any rate, I used Weaver II to make it as close as possible to the old one, before upgrading to Weaver Xtreme. The site now almost looks normal. Howver, there are no images on the pages or in the media files (except a couple I uploaded to test).

    Also, strange characters like Â and – show up thoughout the website.

    Any ideas?  The website is http://www.geomore.com.  Thank You.

    #57609

    scrambler
    Moderator

    All your image links are invalid (example below)

     http://www.geomore.com/wp-content/uploads/2012/04/5-steps-little-header2.jpg

    So the first thing to do is check if your Uploads folder was restored or if it is empty

    As for the strange character, I am not sure what happened in your restore that could have caused that. May be @weaver will have an idea.

    But clearly the restore did not work properly. You may want to ask your host provider if they have a Full backup of your site they could restore.

    #57610

    Weaver
    Keymaster

    The odd characters could be caused by a mis-match of the character set (language) from the original to the restored version.

    #57612

    Darnell R
    Participant

    I am very limited in in my choices of backup files to restore, since many things were screwed during a most unfortunate series of nervous errors on my part. Right now, I am THRILLED to have part of my site back, even if I have to restore the images one by one, which is where I’ll just bet this is going based on the happenings of the last week. 🙂

    There is nothing in the uploads folder od the site except a couple of images I uploaded this morning, and a folder called “2018” that I didn’t make.

    Inside “2018”, in the root, are some images I put in the site this AM, for testing. Also, there are two folders called “11” and “12”. “11” is empty. Inside “12” there are about 20 jpg files called “coffee”, “espresso”, or “sandwich”, which I assume are default sample files. So, I can see why I have no images.

    I have a backup (just a folder, not a real backup) I made a while back called “wp-content.zip\wp-content\uploads”. In the root of that directory are about 30 jpgs that I created. There is also a folder called “2012”. Inside “2012” are three folders, called 01, 04 and 05. 01 is empty, but o4 and 05 have a lot of my images.

    Can I just copy all these images in one big pile into the root of the current wp-conten/uploads directory, or do they have to be in the proper folders (01, 04, 05) for it to work? Or will/can it even work?

    WEAVER SAID >>>>>>>mis-match of the character set (language) from the original to the restored version.

    I don’t doubt that, but I have no way of checking. I’m sure I selected “US English” many, many moons ago, but I don’t know what the host did when the files were restored.

    Thank you both very much for the help.

    #57613

    Darnell R
    Participant

    PS

    I just read the post called “Weaver II is OBSOLETE! Please, no Help for NEW sites!

    My Weaver site was made nine years ago.  🙂

    #57616

    scrambler
    Moderator

    If you don’t want to have to redo all the image urls, you need to copy the content in  the uploads folder using the same sub folders as shown in the image url.

    For example, one of the URL I mentioned shows

    …uploads/2012/04/5-steps-little-header2.jpg

    So if you have a backup of the 2012 folder, put it back “as is” with all its sub folders in the uploads one.

    All the images in the home page appear to come from that same 2012 sub folder.

    To know what was the original path of a missing image, right click on it, and select “Inspect element” This will open the browser developer tools that will show the img tag, with the image url inside the src attribute (example below)

    <img width="240" height="150" title="5 steps - completion" class="size-full wp-image-188 alignleft" alt="5 steps - completion" src="http://www.geomore.com/wp-content/uploads/2012/04/5-steps-completion.jpg">

     

    #57621
    Best Answer

    Darnell R
    Participant

    This reply has been accepted as the best answer.

    Scrambler – I did exactly as you said, copying the files while keeping the file structure intact. It worked perfectly! I now have every single image. I will have to edit out the funny characters manually, but that is a small price to pay for having the site in 99% condition (I am also backing up like crazy).
    Thank You!
    Darnell

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.