• Resolved m9679

    (@m9679)


    Hi. We can’t load the Media Library for any folder that has svg files in. it jus sits there spinning indefinitely, until we choose a folder that has no svgs in it. We can do all the other good things with svg files, but since the Media Library won’t load we can’t use the admin portal to select *any* files in those folders of the Media Library.

    • This topic was modified 8 years, 6 months ago by m9679.
Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Benbodhi

    (@benbodhi)

    Hello,

    Thanks for your support and using my plugin 😃

    Please make sure you are using the latest versions of both WordPress and SVG Support. Then also deactivate all other plugins and revert to the twentyseventeen theme and test. You should find that it works… if not, then it’s a hosting issue. If so, then deactivate everything one by one, testing in between until you find what is creating your issue.

    Please do let me know how you go.

    Thread Starter m9679

    (@m9679)

    Thanks for the reply Benbodhi. I will test that in the next couple of days and let you know the outcome. Is there a particular log file I can look at also?

    Plugin Author Benbodhi

    (@benbodhi)

    My pleasure.
    You might not see anything in any logs… but you could try by enabling wp_debug and wp_debug_log in your wp-config file. You’ll find simple instructions to switch these on with a quick google search. Basically you just add this couple of lines to your config file and it starts outputting errors to a log file.
    You should be able to tell just by knowing which plugin was activated right before it stops working again.

    Good luck, I look forward to hearing how you go.

    Plugin Author Benbodhi

    (@benbodhi)

    Any luck figuring this out?

    Thread Starter m9679

    (@m9679)

    Hi Benbodhi. Apologies for the slow response. I had to find time to re-install the default theme etc. I have now re-activated the twentyseventeen theme and de-activated all plugins. When I have no plugins activated I can browse the Media, Library in tile/thumbnail mode, no problem. As soon as I activate the SVG Support plugin (when it is the only plugin activated) I can no longer browse the Media, Library page in thumbnail mode. It behaves as though it is unable to process the svg files. For example if I enter a search term for a non-svg file, that file shows up fine in thumbnail mode. But any time there is an svg file in the the list of files it is trying to render thumbnails for – nothing at all gets rendered (just a blank section and the spinner keeps spinning).

    I enabled WP_DEBUG and WP_DEBUG_LOG but I don’t see any /wp-content/debug.log file, or any on-screen error messages, after I restart php and return to the Media, Library screen (which sits there spinning).

    My impression is that the SVG Support plugin is the only contributor to this behaviour therefore. Is there any other debug I can try to collect for you, or any work-arounds you can suggest?

    Plugin Author Benbodhi

    (@benbodhi)

    Hi there,

    No problem on the delay.

    If there’s no errors or warnings showing at the site level, maybe it’s something to do with your hosting.
    I can assure you that the plugin runs fine on a default setup no matter how many SVG files are in the library.

    I’d suggest trying a local dev site with the default theme and just SVG Support activated, then upload all your SVG files there to test.

    Also might be worth asking your host if they can see anything or they have any kind of limitations with SVG files. Some hosts try to display them as text only, which may cause this behaviour.

    Thread Starter m9679

    (@m9679)

    I host my own installation on an AWS Ubuntu 16 image and I have followed best practice for the OS design and WP install. It is possible that there is a permissions issue or similar but I’d need your help to narrow that down. Is there any other logging or debugging we can perform?

    Plugin Author Benbodhi

    (@benbodhi)

    To be honest, I’m not sure.
    I’m unfamiliar with hosting on AWS, haven’t used it for years.

    Maybe try the local dev solution to narrow down if it is your hosting environment, then at least we know where to keep looking.

    Plugin Author Benbodhi

    (@benbodhi)

    Additionally, try installing the wp debug bar plugin, I use that a lot to debug issues right on the site šŸ™‚
    It will show any warnings and errors.

    Plugin Author Benbodhi

    (@benbodhi)

    I just remembered someone had a similar issue recently. Here is the post link to have a read and see if it helps you:
    https://wordpress.org/support/topic/svg-plugin-seems-to-crash-the-grid-view-of-media-manager/

    • This reply was modified 8 years, 6 months ago by Benbodhi.
    Thread Starter m9679

    (@m9679)

    Ah ha! That seems to have fixed it. Thanks for the link. I’m embarrassed to say that I do recall seeing that posting in the past – I just didn’t re-find it when I needed it. Anyway – we have a developing pattern here with php7.0 installations. Might be worth putting in your KB?

    Appreciate your very responsive support anyway. Cheers.

    Thread Starter m9679

    (@m9679)

    Marking as resolved.

    Plugin Author Benbodhi

    (@benbodhi)

    That’s great news!
    Thanks for your support and for letting me know.

    I will indeed pin a support post about this now.

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

The topic ‘Media Library spinning’ is closed to new replies.