• callingh

    (@callingh)


    I broke Media Library Folders!

    I installed the plug-in today on a new WordPress installation. Not wanting to use the folder structure “uploads>2017>06”, I deleted the lowest level folder “06”, then “2017”, then “uploads”. Then I tried creating a new folder “salt_photos”.

    Now when I select the first menu item “Media Library Folders” the browser spins for a long time and I get this error:

    Error 503 Service Unavailable
    Service Unavailable
    Guru Meditation:
    XID: 1823868798
    Varnish cache server

    I tried deactivating the plug-in, activating the reset plug-in, doing the reset, deactivating the reset plug-in, and reactivating the plug-in. I did this several times, no change.

    I ran the “Check for new folders” option and it reports:

    Scaning for new folders in /home/wp_s67spf/chris-allingham.com/wp-content/uploads
    Adding http://www.chris-allingham.com/wp-content/uploads/2017
    Adding http://www.chris-allingham.com/wp-content/uploads/2017/06
    Adding http://www.chris-allingham.com/wp-content/uploads/salt_photos

    But again when I select “Media Library Folders” I get the 503 error.

    I’m stuck. Any ideas?

    • This topic was modified 9 years ago by callingh.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author AlanP57

    (@alanp57)

    You cannot delete the uploads folder without first specifying a new destination for files uploaded to WordPress using the

    define( 'UPLOADS', ‘path to new uploads location' );

    as explained here https://codex.ww.wp.xz.cn/Editing_wp-config.php#Moving_uploads_folder.

    If you are changing the location of the uploads folder, then you should not install Media Library Folders until after the change is made.

    Now you should probably reinstall WordPress, set the location of where you want to upload files and then install Media Library Folders. Or you can try recreating the uploads folder and then run Media Library Folders Reset as explained in the Frequently Asked Questions topic, Folder Tree Not Loading .

    • This reply was modified 9 years ago by AlanP57.
    Thread Starter callingh

    (@callingh)

    Thanks for your reply, and thank you in advance for your patience as my skill level with WordPress is somewhere between beginner and intermediate.

    I deleted both of the Media Library Folders plugins, then navigated to the WordPress update page wp-admin/update-core.php and selected the “Re-install Now” button. Then I installed Media Library Folders again. No change in how Media Library Folders behaves.

    However, I can use the standard WordPress “Media” tab to upload an image and place it into a page and publish it. Here’s a dummy page:

    http://www.chris-allingham.com/temporary.html

    and here’s the image URL:

    http://www.chris-allingham.com/wp-content/uploads/2017/06/cooking-grate.jpg

    So the folders I thought I deleted using Media Library Folders–the 06 folder, the 2017 folder, the uploads folder–appear to be there in WordPress. Yet when I click “Media Library Folders, I still get the 503 error.

    Plugin Author AlanP57

    (@alanp57)

    callingh,

    You reinstalled the current version but that was not a fresh install of WordPress which is what I think you need to fix whatever is broken.

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

The topic ‘Media Library Folder won’t load’ is closed to new replies.