Missing Media Library – install date dependant?
-
I have an online site, and all is working well. This was set up in May. (You’ll see the relevance in a moment)
And yesterday -June 30th – I copied it to an offline site. All WAS going well … till I found today it cannot see the files within wp-content/uploads/2015/05 and 06. Yet when I add a new image to the library … it stores it in a new 07 folder!!
I’m wondering if it “ignores” folders in media older than its installation date.
Research suggests this bug has been going on for at least three years, so has anyone found a definative cure yet? Some entries say change the “Store” entry in Settings / media … but that field isn’t showing, or has been removed in more recent updates.
Also, EVERY entry in EVERY imported post has been changed! Rather than “<img src=’wp-content/uploads/2015/05/aromatherapy/name_of_product.png’> it now reads “<img src=’aromatherapy/name_of_product.png’>”
** I have just spent 5 mins deleting all 600 posts, doing a search and replace of the data prior to import, and changing the URL, and re-importing the 3x <2mb files. Guess what? Same result. The media folder is not visible, and – in its infinite wisdom – WordPress script has removed every “wp-content/uploads/2015/05/” in every file because according to it, the path doesn’t exist!
Can anyone offer any advice?
And checking the SQL database, it has also removed both old AND new URL from the GUID. Instead of “https://eco-rainbo.com/?p=x” it now reads “https://x”. OK, so a search and replace on SQL could change that … but why doesn’t the importer do the job correctly in the first place?
UPDATE wp_posts SET guid = replace(guid, ‘https://’,’https://www.eco-rainbo.com/?p=’);
Signed: Rather miffed from Essex UK
- The topic ‘Missing Media Library – install date dependant?’ is closed to new replies.