OTS parsing error: invalid version tag
-
Hi, thx for a great theme.
I have a problem with my custom font.
I have uploaded: eot,woff,woff2,svg and ttf files.
But i get error in the console:
OTS parsing error: invalid version tag
(index):1 Url/myFont.svg
(index):1 Url/myFont-1.svg
Can you guys help me with this ?
Hello,
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
I have solved error on file get contents like this:
Some low level, system-wide, utility that file_get_contents() was using internally was resolving DNS by doing IPv6 lookups and subsequently timing out. Strangely enough, all my other applications, (cURL, web browser, etc.) were using IPv4 and working properly.
I resolved this by disabling IPv6 system wide.
But i stil have error on Faild to decode font svg and OTS parsing error
Sorry, but we don’t quite understand what kind of OTS parsing error do you mean. Where exactly do you see this error and what problem does it cause?
Error i console on the site. please see private content
Seems to be some issue with the font you used. Maybe you have some problem with its original files.
Maybe you can verify that? I can see its a problem. I pay for your expertis?
Sorry, but can hardly advise you in this situation. Try to upload some other fonts and check how they work. Or maybe just ignore it if you don’t see any appearance problems.
I found the problem for OTS parsing error.
File was uploaded trought FTP in ASCII mode instead off Binary mode.
Regarding the file_get_contents problem it was problem with my firewall on the server.
Great, we are glad that you sorted it out.
The topic ‘OTS parsing error: invalid version tag’ is closed to new replies.