Home Forums WoodMart support forum SVG not showing | allow_url_fopen is on

SVG not showing | allow_url_fopen is on

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #514102

    marika.kusnire
    Participant

    Hello!

    SVG icons are not showing.
    allow_url_fopen is on

    Safe svg plugin is installed.

    What could be solution?

    Attachments:
    You must be logged in to view attached files.
    #514158

    Artem Temos
    Keymaster

    Hello,

    Please, disable all external plugins that are not related to our theme and enable WP_DEBUG in wp-config.php file temporarily so we can check this.

    Kind Regards

    #514308

    marika.kusnire
    Participant

    I did this. Saw that there is shown, that it is disabled file_get_contents. As in different support tickets, was written that it should be asked to hosting company, already asked them. And this was their response. But I have already installed safe swg plugin.

    _______Response from hosting company______

    Hello,

    There is no server-side ban on SVG uploads for WordPress pages. All file formats are allowed to be uploaded from the server.

    By default, WordPress does not allow you to upload SVG files.
    This is done for security purposes.
    You have the option to install separate plugins for your WordPress page that allow uploading files in SVG format.

    #514414

    Artem Temos
    Keymaster

    There is no problem with SVG uploading. The problem is that your server blocks the request to get the SVG icon content using PHP file_get_contents function.

    Kind Regards

    #514657

    marika.kusnire
    Participant

    Thanks a lot, Artem!

    Hosting provider have solved this problem! 😉

    #514658

    Artem Temos
    Keymaster

    Great, we are happy to hear that. Feel free to contact us if you have any further questions.

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘SVG not showing | allow_url_fopen is on’ is closed to new replies.