Support » Plugin: WordPress Media Library Folders » Media Library Folder Quick Fix Guide

  • ResolvedPlugin Author AlanP57

    (@alanp57)


    If you have issues installing or use Media Library Folders Pro, here are several useful troubleshooting tips:

    Folder Tree Not Loading

    Users who report this issue can usually fix it by running the Media Library Folders Reset plugin that comes with Media Library Folders.

    First make sure you have installed the latest version of Media Library Folders.
    Deactivate Media Library Folders and activate Media Library Folders Reset and run the Reset Database option from the Media Library Folders Reset sub menu in the dashboard.

    After that, reactivate Media Library Folders. It will do a fresh scan of your media library database and no changes will be made to the files or folders on your site.

    How to Unhide a Hidden Folder

    Go to the hidden folder via your cPanel or FTP and remove the file ‘mlpp-hidden.
    In the Media Library Folders Menu, click the Check for New folders link. This will add the folder back into Media Library Folders.

    Visit the unhidden folder in Media Library Folders and click the Sync button to add contents of the folder. Before doing this, check to see that there are no thumbnail images in the current folder since these will be regenerated automatically; these usually have file names such as image-name-150×150.jpg, etc.

    Repeat step 3 for each sub folder.

    How to Delete a Folder?

    To delete a folder, right click (Ctrl-click with Macs) on a folder. A popup menu will appear with the options, ‘Delete this folder?’ and ‘Hide this folder?’. Click the delete option. The folder has to be empty in order to delete it. If you receive a message that the folder is not empty, use the sync function to display files that are still present in the folder.

    Folders and images added to the site by FTP are not showing up in Media Library Folders

    Media Library Folders does not work like the file manager on you computer. It only displays images and folders that have been added to the Media Library database. To display new folders that have not been added through the Media Library Folders you can click the Check for New Folders option in the Media Library Folders submenu in the WordPress Dashboard. If you allow WordPress to store images by year and month folders, then you should click the option once each month to add these auto-generated folders.

    To add images that were upload to the site via the cPanel or by FTP, navigate to the folder containing the images in Media Library Folders and click the Sync button. This will scan the folder looking images not currently found in the Media Library for that folder. The Sync function only scans the current folder. If there are subfolders, you will need to individually sync them.

    Folders Loads Indefinitely

    This happens when a parent folder is missing from the folder data. To fix this you will need to perform a reset of the Media Library Folders database. To do this, deactivate Media Library Folders and activate Media Library Folders Reset and select the Reset Database option. Once the reset has completed, reactivate Media Library Folders and it will do a fresh scan of the Media Library data.

    Unable to Insert files from Media Library Folders into Posts or Pages

    For inserting images and files into posts and pages you will have to use the existing Media Library. The ability to insert items from the Media Library Folders user interface is only available in Media Library Folders Pro. This does not mean you cannot insert files added to Media Library Folders into any WordPress posts or pages. Media Library Folders adds a folder user interface and file operations to the existing media library and it does not add a second media library. Since all the images are in the same media library there is no obstacle to inserting them anywhere WordPress allows media files to be inserted. There is just no folder tree available in the media library insert window for locating images in a particular folder. We chose to include the folder tree for inserting images in posts and page in the Pro version along with other features in order to fund the cost of providing free technical support and continued development of the plugin.

    Unable to Update Media Library Folders Reset

    Media Library Folders Reset is maintenance and diagnostic plugin that is included with Media Library Folders. It automatically updates when Media Library Folders is updated. There is no need to updated it separately. Users should leave the reset plugin deactivated until it is needed in order to avoid accidentally deleting your site’s folder data.

    Images Not Found After Changing the Location of Uploads Folder

    If you change the location of the uploads folder, your existing files and images will not be moved to the new location. You will need to delete them from media library and upload them again. Also you will need to perform a reset of the Media Library Folders database. To do this, deactivate Media Library Folders and activate Media Library Folders Reset and select the Reset Database option. Once the reset has completed, reactivate Media Library Folders and it will do a fresh scan of the Media Library data.

    Difficulties Uploading or Dragging and Dropping a Large Number of Files

    Limitations on web server processing time may cause dragging and dropping a large number of files to fail. An error is generated when it takes to longer then 30 seconds to move, copy or upload files. This time limitation can be increased by changing the max_execution_time setting in your site’s php.ini file.

    Fatal error: Maximum execution time exceeded

    The Maximum execution time error takes place when moving, syncing or uploading too many files at one time. The web site’s server has a setting for how long it can be busy with a task. Depending on your server, size of files and the transmission speed of your internet, you may need to reduce the number of files you upload or move at one time.

    It is possible to change the maximum execution time either with a plugin such as WP Maximum Execution Time Exceeded or by editing your site’s .htaccess file and adding this line:

    php_value max_execution_time 300

    Which will raise the maximum execution time to five minutes.

    How to Upload Multiple Files

    Users can upload multiple files by using drag and drop. When the Add Files button is click it revels the file upload area either single or multiple files can be highlight can be dragged from you computer’s file manager and dropped into the file uploads areas.

Viewing 15 replies - 1 through 15 (of 15 total)
  • Hi
    In the free version, is it possible to create new folders in FTP, and then press the sync button to make files enter the media library?
    I get the impression, that this is only possible in the paid version.
    So, if I use the free version, will I have to upload files from FTP to the standard wp-folders, and then create folders in Media Library Folders?

    Regards

    Hi ritailsted

    If you install the free version you can see what the possibillities are.
    But I can tell you this
    With the free version you can do the following:
    1. Create folders/remove folders
    2. Check for new folders
    3. Sync your folders

    So it is not necessary to create your folders with ftp
    However if you have a large amount of images, you can use FTP to transfer them to your server.
    Than if you take the following steps, they will be added into the standard media library
    1. Check for new folders
    2. Go to the new folder
    3. synchronise

    Plugin Author AlanP57

    (@alanp57)

    Peter is correct about to add images uploaded by FTP. Understand that Media Library Folders does not create a second media library. It the same media library but with added functionality.

    Thank you for your answers.
    I tried to sync new folders uploaded with ftp. It works fine, but not if the folder contains subfolders. Files only appear in the subfolders, no files in the folder.

    Plugin Author AlanP57

    (@alanp57)

    The Check for new folders option will add all the new folders in the media library. Then go to each new folder and perform the sync. The Pro versions allows one to sync a folder and all its sub folders at one time.

    I did try to syncronize each individual folder. Only the subfolder syncronized. The main folder remained empty.

    I think perhaps I misunderstood you here – is it correct, that it is not possible to syncronize folders with subfolders in the free version?
    Thank you for your help.

    Hi

    Did you test the synchronise from the folder that contains the subfolder e.g. not starting at “uploads” ??
    E.g. uploads\test\subfromtest
    Go to test and sync??

    Yes, that is exactly what I did –

    How is your basic setting for the media?
    Is it set to not use the month?

    This box is ticked off in the media setting: organize my uploads in folders based on years and months (translated from my language). I can see no other boxes to tick off or untick.

    Hi ritailsted,

    Your setting is ok!
    I have tested your problem, on my system it is working as expected.
    Maybe to solve your problem, you could do the following:
    1. With Media Library Folders, create a new subfolder in your base
    2. With FTP move the images from your base to the new subfolder.
    3. With Media Library Folders go to the new subfolder
    4. Sync the folder
    5. Chech your media, your images should be present.
    6. Then with Media Library Folder move the images from the new folder back to the base.
    7. Check your media, your images should be present.
    8. Check your site, the images should be show.

    do you have any messages in your logs ?

    Thank you very much for your suggestion!
    Being a newbie, I do not know how to access error log. And I might not have permission, because I am not the administrator of the hosting, just administrator of the wordpress site (subdomain)

    Hi ritailsted

    For the site logs you have to ask your provider.
    For wordpress you can set it up to log errors.
    With your ftp program go to the root of the site
    There you will find the file “wp-config.php”
    Make a copy of it before changing anything
    The add the following lines
    define(‘WP_DEBUG’, true);
    define(‘WP_DEBUG_LOG’, true);
    Save the file
    Repeat your actions
    Check the folder “wp-content”
    It should contain a file called “debug.log”
    That file contains errors from WordPress if they exist

    Hi Peter

    Thank you very much for your quick and excellent replies. I will try to make a debug.log.

Viewing 15 replies - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.