• Resolved richbhanover

    (@richbhanover)


    Solution: As noted in https://wordpress.org/support/topic/media-library-is-slow-lagging-constantly-spinning-or-crashes/, if you’re seeing a “HTTP error” message in the Media Library (especially after trying to upload a SVG image), then it might be a problem between Safe SVG and php7.

    The fix, as described in that post, seems to be to install php7.0-xml (with apt-get install php7.0-xml) then restarting your web server.

    ———–
    Here is the original problem report… I’m using WP 5.0.2, Divi Builder 2.19, Divi Theme 3.19, and Safe SVG 1.8.1 I see two problems:

    0. If I don’t use Safe SVG, I get an error message, “Sorry, this file type is not permitted for security reasons.” (This is as expected.)

    1. When I attempt to drag an SVG into the Media Library, I see the upload process, then a “HTTP error” message. The result is that the SVG was not uploaded, nor does it appear in wp-content/uploads…

    2. With Safe SVG activated, none of the images in the Media Library are visible. There’s a little spinner in the header that continues to spin without change. De-activating Safe SVG allows the Media Library to display its images again.

    What other information could I provide for debugging? Thanks.

    PS I have added AddType image/svg+xml .svg .svgz to my .htaccess file before any of these problem.

    PPS Weirdly, I see exactly the same symptoms when using SVG Support plugin, version 2.3.15 and WP SVG Images 3.0…

    • This topic was modified 7 years, 4 months ago by richbhanover. Reason: Added info about W3 SVG Images plugin, too
    • This topic was modified 7 years, 4 months ago by richbhanover.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘[SOLVED] Can’t upload: HTTP error & problem with Media Library’ is closed to new replies.