• bhasic

    (@bhasic)


    One folder where I have most image-files, I get error window.

    <script> -var mlp_busy = false; var folders = [{"id","parent":"#","text":"uploads"."state":("opened":true,"disabled":false,"selected":false),"a_attr":{"href":"#903","target":"_self}}... and so on.

    Console shows multiple: admin-ajax.php:1 Failed to load resource: the server responded with a status of 500 ()

    That folder like the other folders worked fine, before I added 60 more files to the one that’s showing errors.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author AlanP57

    (@alanp57)

    To find out what is causing the error code 500, you can turn on WordPress debugging by editing your site’s wp-config.php file and replacing the line:

    define('WP_DEBUG', false);

    with

    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', false);
    @ini_set('display_errors', 0);

    With debugging on, WordPress with create a debug.log file in your wp-content directory. Now recreate the error and then check the debug.log file. You can send the debug.log file to support at maxfoundry.com so I can review it.

    Thread Starter bhasic

    (@bhasic)

    My hosting doesn’t log errors. The problem is caused by mp4-files. Also when I add media, I get 8 warnings like this for every file:

    Warning: file_exists(): open_basedir restriction in effect. File(/home/vol1_7/infinityfree*.com/if0_350/htdocs/wp-content/uploads/2023/11/1db85c9d-fd04-4d0d-aff1-763dbb9ee81a_screenshot-300×225.webp) is not within the allowed path(s): (/php_sessions:/tmp:..:/var/www/errors:/usr/share/pear:/home/vol1_7/infinityfree.com/if0_350/htdocs) in /home/vol1_7/infinityfree.com/if0_35088568/htdocs/wp-content/plugins/media-library-plus/media-library-plus.php on line 6439

    Plugin Author AlanP57

    (@alanp57)

    It looks like you have the block direct access feature turned on. I’ll look into this and see about releasing a new version in a few days. If the MP4 files you uploaded are causing an error when viewing the contents of a folder in Media Library Folders, then open the standard WordPress media library and delete the MP4 files.

    • This reply was modified 1 year ago by AlanP57.
    Plugin Author AlanP57

    (@alanp57)

    We have released version 8.1.6 that addresses this issue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Errors after adding files’ is closed to new replies.