• Resolved mpospiech

    (@mpospiech)


    I know this is is the faq, but using the reset plugin (folder tree not loading) did not solved it.

    The admin page

    wp-admin/admin.php?page=admin-check-for-new-folders

    does not work. It just prints out hundreds of PHP Warnings

    Warning: strpos(): Empty needle in /WordPress/Pospiech/wp-content/plugins/media-library-plus/maxgalleria-media-library.php on line 2992

    Thus the plugins fails completely.
    I would be happy to provide more data to solve this

    A side not. The files are organised in /files/
    This contains sub folder for anything, such a pdf, doc, xml, and also files/gallery for NGG.

    • This topic was modified 8 years ago by mpospiech.
Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author AlanP57

    (@alanp57)

    Note that NextGen does not store its files in the uploads folder where the WordPress media library stores its files. Thus you will not see the NGG files in Media Library Folders.

    I’ll address the issue of the folder tree not loading via the email you sent.

    Plugin Author AlanP57

    (@alanp57)

    First, it looks like you have a non standard configuration of your WordPress site. Normally, Media Library Folders looks for files in wp-content/uploads. You can change the location and name of the uploads folder according to the page Editing wp-config.php, but it has to be under the wp-content folder for Media Library Folders to work properly.

    Second, looking at the one of the diagnostic reports available in the Media Library Folders Reset plugin, ‘Display Folder Data’, it shows some folders without a parent folder and this will result in a Javascript error when loading the folder tree.

    Also, according to the above mentioned report, there too many folders here because it scanning most of the site rather than just the place for Media Library images are stored.

    Thread Starter mpospiech

    (@mpospiech)

    Media Library Folders looks for files in wp-content/uploads. You can change the location and name of the uploads folder according to the page Editing wp-config.php,

    Actually not, this is basic wordpress functionality and is set up in
    /wp-admin/options-media.php

    looking at the one of the diagnostic reports available in the Media Library Folders Reset plugin, ‘Display Folder Data’, it shows some folders without a parent folder and this will result in a Javascript error when loading the folder tree.

    Looking at the list, it is completely useless, since it displays files that do not exist. At least not with this path. For example

    http://xxxx.online.de/files//homepages/xx/d12345/htdocs/WordPress/Pospiech/files/cpp

    http://xxxx.online.de/files/ is a link to the folder as seen for the website visitor

    /homepages/xx/d12345/htdocs/WordPress/Pospiech/ is the server folder to the wordpress website

    files/cpp is a valid folder in the wordpress website structure.

    I do not know what a parent folder means. Anyway I assume that as long as this list is displaying useless data the plugin will very likely not work. The question is how to fix it.

    I change the upload folder to wp-content/files/ But that only changes the link to

    http://xxxx.online.de/wp-content/files//homepages/xx/d12345/htdocs/WordPress/Pospiech/files/cpp

    Also, according to the above mentioned report, there too many folders here because it scanning most of the site rather than just the place for Media Library images are stored.

    Since it contains data not available from the folder tree, but only the database I wonder how this list is generated.
    I aggre that is seems to scan the whole folder structure, but how can I ensure that it only scans the media folder. Currently it does not scan the media folder.

    Plugin Author AlanP57

    (@alanp57)

    In the file URLs report, the last two items appear to not have parent IDs. This is what causes the folder tree not to load. And the path they use is corrupted since they contain part of the file path that is not part of the URL. The files in these folder need their paths need to be fixed or they can be deleted to removed the error.

    I believe the proper way to redefine the location or name of the upload folder is with a define in the wp-config.php file,

    define( 'UPLOADS', 'wp-content/files' );

    And the uploads path should not have a slash at the end. The extra slash creates double slashes and that probably will not work well when accessing the files.

    Thread Starter mpospiech

    (@mpospiech)

    I removed those links.
    The I started “check for new folders” and then loaded

    wp-admin/admin.php?page=media-library-folders

    The page never loads and in the end a mysql timeout php error is shown.

    The problem is now with a different shape or a new one.

    Plugin Author AlanP57

    (@alanp57)

    Try a database reset to clean out the old folder data.

    Thread Starter mpospiech

    (@mpospiech)

    I did that before.

    The error I get now in wp-admin/admin.php?page=mlpr-show-folders is

    Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in …/wp-includes/pomo/translations.php on line 95

    Display Folder data list is completely empty.

    Plugin Author AlanP57

    (@alanp57)

    Limited memory errors are a common problem that can be solved by increasing memory size; simply do a google search on the topic and you will find an article explaining different remedies such as this one, Fix: WordPress Memory Exhausted Error – Increase PHP Memory.

    • This reply was modified 8 years ago by AlanP57.
    Thread Starter mpospiech

    (@mpospiech)

    Sure. But this error take several minutes, maybe even 10-20 minutes to occur. In this time the website is down. That means nothing loads.

    Therefore I doubt, that increasing the memory limit is a solution.

    I would welcome if you could debug the cause of this error.

    Plugin Author AlanP57

    (@alanp57)

    Please try increasing the memory limit as nothing can be done until that issue is resolved.

    Thread Starter mpospiech

    (@mpospiech)

    I increased the limit to 512. Now I get the message (from the server)

    The page you are looking for is temporarily unavailable.
    Please try again later.

    So basically, the hoster is closing the site due to high load.

    Plugin Author AlanP57

    (@alanp57)

    It is likely that the configuration you have chosen to use is not what Media Library Folders can accommodate. It is beyond what we created it to do.

    • This reply was modified 8 years ago by AlanP57.
Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Folders load forever’ is closed to new replies.