Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › Icons errors on Firefox and IE
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › Icons errors on Firefox and IE
- This topic has 22 replies, 5 voices, and was last updated 10 years by Mohammad – SUPPORT.
-
Posted in: Neighborhood
-
August 27, 2014 at 4:07 pm #104592
Hello!
Since few days, most of the icons of my website just disappers (or generats errors).
See attachementsTheme, plugins and web browsers are Up to Date ….
It only affect Firefox 31.0 and IE 11 … Everything is fine under Chrome …
Please help is needed.
Loads of Thanks
Attachments:
You must be logged in to view attached files.August 28, 2014 at 1:26 am #104751Hi,
Can you share the website address for us to take a look at those issues??
Thanks,
laranz.August 28, 2014 at 1:45 am #104755This reply has been marked as private.August 28, 2014 at 2:54 pm #104908Hi,
You have an error in the javacript console. It’s seems to be related to your server settings.
https://www.dropbox.com/s/a0oekkfhkrsncbk/error_cross_site.png?dl=0Check this link with solution:
http://stackoverflow.com/questions/15024333/downloadable-font-on-firefox-bad-uri-or-cross-site-access-not-allowedContact your host to help you with these settings.
-Rui
August 29, 2014 at 4:06 pm #105296Thank You, i will check this tonight and let you know
Best regards
September 1, 2014 at 8:36 am #105658Hi,
Please check and let us know your feedback.
Thanks ๐
With Best Regards
MohammadSeptember 1, 2014 at 10:05 am #105694Hello!
As mentionned in the Link’s solution, i tried to use method number 2, adding this to my css custom field:
@font-face {
font-family:”fontAwesome”;
src:url(data:font/opentype;base64,[paste-64-code-here]);
font-style:normal;
font-weight:normal;
stretch:normal;
}But it’s not working …..
I dont understand method number 1:
On your server you will need to add:
Access-Control-Allow-OriginTo the header of the font files, so for example if you are using Apache you can add this to the .htaccess:
<FilesMatch “\.(ttf|otf|eot|woff)$”>
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin “*”
</IfModule>
</FilesMatch>Can you help me on this point? I just dont know how to create the file …
Do i just need to add informations to my .htacces file? or do i need to do something more?
I’m a bit lost with this and it’s getting important now …
It seems to have effect also on the problem of the wishlist that dont works at all. See also: http://support.swiftideas.net/forums/topic/wishlist-not-working-anymore/#post-105011
Thank you for your Help!
Best regards
September 1, 2014 at 10:50 am #105730Hi,
Please insert this code at .htaccess file at end of file:-<FilesMatch "\.(ttf|otf|eot|woff)$"> <IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*" </IfModule> </FilesMatch> # Do not process images or CSS files further RewriteRule \.(css|jpe?g|gif|png|js|ico|mp3|ogg|eot|svg|ttf|woff)$ - [L] AddType application/octet-stream .woff
Thanks ๐
With Best Regards
MohammadSeptember 1, 2014 at 10:53 am #105733Hi,
I have resolved the issue by using given below code at Admin -> Theme Options -> General Options -> Custom JS
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
Thanks ๐
With Best Regards
MohammadSeptember 1, 2014 at 11:06 am #105741Hello Mohammad !!
Thanks you, Icons are back !!! Great Solution!
Do i still need to update my .htaccess file with your previous code???
<FilesMatch “\.(ttf|otf|eot|woff)$”>
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin “*”
</IfModule>
</FilesMatch># Do not process images or CSS files further
RewriteRule \.(css|jpe?g|gif|png|js|ico|mp3|ogg|eot|svg|ttf|woff)$ – [L]AddType application/octet-stream .woff
As you may see, i have issue with “Access-Control-Allow-Origin” for the Wishlist that dont working for now … may it have good effect? (see this thread: http://support.swiftideas.net/forums/topic/wishlist-not-working-anymore/#post-105011)
Thanks for the light you bring around this topic!!!
Best regards
September 1, 2014 at 11:26 am #105754Hi,
Now you dont need any code for htaccess. I will check your another issue.
Thanks ๐
With Best Regards
MohammadSeptember 1, 2014 at 11:27 am #105755Hi,
Now you dont need any code for htaccess. I will check your another issue.
Thanks ๐
With Best Regards
MohammadSeptember 1, 2014 at 11:32 am #105761Ok great thank you very much !!!
Thread RESOLVED !!
Waiting for news for the other topic.
Best Regards
September 1, 2014 at 11:39 am #105771You most welcome. I’m glad that issue resolved.
Thanks ๐
With Best Regards
MohammadSeptember 4, 2014 at 4:19 pm #107135Hey!
I add many errors in my console about the fonts, so i put your code into the .htaccess and it helps a lot! No more errors are coming, only the problem of the wishlist is standing!
I set this : Header set Access-Control-Allow-Origin “*” and try to set it also on the .com but it didnt affect it …
Can you have a look on it please? It had to deal with this thread http://support.swiftideas.net/forums/topic/wishlist-not-working-anymore/#post-105011 and Error SEC7119 // XMLHttpRequest for http://lescouleursdunoir.eu/wp-admin/admin-ajax.php need CORS specifications.
Thank You again
-
Posted in: Neighborhood
You must be logged in and have valid license to reply to this topic.