Home › Forums › WoodMart support forum › .svg file display problem
.svg file display problem
- This topic has 11 replies, 2 voices, and was last updated 5 years, 2 months ago by Artem Temos.
-
AuthorPosts
-
September 10, 2019 at 9:19 am #142916
RustyMuttParticipantI have started to build a new site using a staging area in Siteground. I’m adding elements directly from your template libraray. Any element I add that has an icon (infobox etc) in .svg format does not display on the site.
The svg file renders correctly in the media library and I have also tried adding the height and width code into the file as per some of your previous support tickets.
Any .svg file renders as a scratchy grey line. See the attached screen shot from the bottom of the front page.
Nothing I do seems to work. I’m presuming the social follow icons are the same as these don’t work either.
Attachments:
You must be logged in to view attached files.September 10, 2019 at 11:22 am #142920
Artem TemosKeymasterHello,
It seems that
file_get_contents
function for URLs is disabled on your server. You need to contact your provider and ask to enable this option.Regards
September 11, 2019 at 4:30 am #143064
RustyMuttParticipantHi, I contacted my host – Siteground. They say these functions are all enabled at the server level. Here is a snippet from the chat;
Pavel S.: Default_socket_timeout is a PHP variable which determines how long should each connection last to a specific server socket. Once that value is reached, the connection times out. This configuration option was introduced in PHP 4.3.0 which is default timeout (in seconds) for socket based connections
Scott H: Sorry?
Pavel S.: For example, PHP commands like ‘file_get_contents’, ‘fopen’, ‘SOAPClient’ are using this timeout INI setting to decide how long to wait for a response
Pavel S.: On your Grow Big hosting account this PHP variable is enabled by default
Pavel S.: So what I mean is that it is already active and it can not be the reason for this issueSo can you please have another look at this issue? I want to use these icons. It shouldn’t be this difficult. They show up on your site, why not mine? I’m using a high quality host and as far as I’m aware, all templates, WP and WooCommerce are up to date thanks to a developer who does some work for me.
Thanks,
Scott.
September 11, 2019 at 6:31 am #143085
Artem TemosKeymasterHi,
Could you please send us a link to your website where we can see this issue? Also, enable WP_DEBUG in wp-config.php file.
Kind Regards
September 12, 2019 at 12:01 am #143291
RustyMuttParticipantPlease find information requested below;
September 12, 2019 at 6:23 am #143321
Artem TemosKeymasterWe see the following error there that is also related to server configuration https://gyazo.com/60b36ac9cb8e60898cbfe30749dcb799
September 12, 2019 at 10:48 pm #143594
RustyMuttParticipantThanks for that piece of information. It helped us locate the problem. There was a conflict between Login and Register modal pro plugin.
The .svg files now display properly, however the social icons do not. You have all of my page details, please check the footer where I have some social follow icons. They do not work.
Can you have a look please?
September 13, 2019 at 4:29 am #143611
RustyMuttParticipantJust adding some more information – The social icons are Font Awesome. They do not display correctly. The font images do not load. I tried adding an icon element in WP-Bakery but that didn’t work either.
September 13, 2019 at 5:59 am #143619
Artem TemosKeymasterCould you please disable external plugins so we can test without them?
September 13, 2019 at 8:21 am #143665
RustyMuttParticipantOk, I have disabled virtually all plugins. I’ve left woocommerce and Woodmart core.
September 13, 2019 at 8:38 am #143673
RustyMuttParticipantAnswered my own problem 🙂 “Insert headers and Footers” plugin caused the conflict
I don’t really need it anymore so I’m happy that this is resolved.
September 13, 2019 at 9:03 am #143681
Artem TemosKeymasterGreat, you are welcome!
-
AuthorPosts
Tagged: Font-Awesome, icon, image, svg
The topic ‘.svg file display problem’ is closed to new replies.
- You must be logged in to create new topics. Login / Register