• I had an issue that happened around the same time as I upgraded wordpress but I dont think its to do with the upgrade but it happened simultaneously to the upgrade and with an installation of a plugin (Business Directory Plugin Version: 3.5.7
    Author: D. Rodenbaugh).

    I installed the plugin and tried to add an entry, decided it was not going to do what I needed because the plugin was quite complicated to set it up and I needed something simpler and removed the plugin and then upgraded wordpress to 4.1.1.

    I then refreshed my website and saw that the the logo and all my other images had gone. So I went to my media library and saw that the whole media library had been deleted. I connected to my FTP and saw they had also gone from the relevant folders on my server. While I was creating an entry for the plugin I did upload an image so I am wondering if it was that the deleted my whole media library when I removed it.

    My next step was to get the back up of my website from my hosting service provider which I reinstalled but it has made no difference what so ever to the media library.
    The images are now in the folders which I can see via FTP access but in wordpress I still cant see them in my media library.

    Once thing that has puzzled me is that despite me creating posts since the back up date, when I reinstalled it the recent posts and plugins are still showing on my website and dashboard – I presume this is due to something with the data base but my knowledge of this is not good enough to know?

    Back to the issue I have now, the media library is still not picking up the images and I don’t know what to do.
    I have tried to use two plugins that I found was suggested on the wordpress forums and that was WPR Rebuild Meta Data and Force Regenerate Thumbnails but that didn’t work either. I have deactivated all plugins and reactivated and still no joy.

    Can anyone please help?

Viewing 6 replies - 1 through 6 (of 6 total)
  • If you manually put the images in folders, like with ftp, instead of using the Media Library’s uploader they will not show up in the library.

    Thread Starter shamy78

    (@shamy78)

    thank you for your response. I am not sure if I explained my issue well enough or you don’t seem to understand my issue and the process I have been through to get where I am now.

    I know just uploading images via an FTP into the images folder does not enable wordpress to show them in the media library. My images were originally loaded onto my site the correct way, then they vanished a week or so ago from both the image library and the relevant folder and I cant figure out how or why.

    I didn’t just put the images back via the FTP as you are suggesting. I replaced my WHOLE site with a back up copy from the week before this happened in an attempt to undo what had happened, but I still have the issue.

    Can you please help.

    Once thing that has puzzled me is that despite me creating posts since the back up date, when I reinstalled it the recent posts and plugins are still showing on my website and dashboard.

    That doesn’t sound right. You should lose anything done after the backup date.

    Are you sure the backup from the host included a database backup? How many backups are available? Image url’s are in post meta. Did you actually import data into the database?

    So I went to my media library and saw that the whole media library had been deleted.

    This worries me. That would delete if from the database as well so we really need a database backup. Then you export the post meta from the old database and import the data into the new database.

    Just out of curiosity, what does your htaccess file look like?

    Thread Starter shamy78

    (@shamy78)

    Sorry for the late reply, I’ve been really busy at work. i will try and get the code at the weekend and reply with it on here.
    I suspect this is where the problem lies but I am not familiar enough with the code to tell.

    Thread Starter shamy78

    (@shamy78)

    Hi sorry its been a a while, I’ve been really busy and didn’t get a change to do this. My file is detailed below;

    # Switch rewrite engine off in case this was installed under HostPay.
    RewriteEngine Off

    SetEnv DEFAULT_PHP_VERSION 53

    DirectoryIndex index.cgi index.php

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

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

The topic ‘Lost Media library’ is closed to new replies.