New Landing How can we help? Themeforest Theme Support Neighborhood Icons errors on Firefox and IE

Viewing 15 posts - 1 through 15 (of 23 total)
  • #104592
    Shanty
    Member
    Post count: 48

    Hello!

    Since few days, most of the icons of my website just disappers (or generats errors).
    See attachements

    Theme, 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.
    #104751
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    Can you share the website address for us to take a look at those issues??

    Thanks,
    laranz.

    #104755
    Shanty
    Member
    Post count: 48
    This reply has been marked as private.
    #104908
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,
    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=0

    Check this link with solution:
    http://stackoverflow.com/questions/15024333/downloadable-font-on-firefox-bad-uri-or-cross-site-access-not-allowed

    Contact your host to help you with these settings.

    -Rui

    #105296
    Shanty
    Member
    Post count: 48

    Thank You, i will check this tonight and let you know

    Best regards

    #105658
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please check and let us know your feedback.
    Thanks ๐Ÿ™‚
    With Best Regards
    Mohammad

    #105694
    Shanty
    Member
    Post count: 48

    Hello!

    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-Origin

    To 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

    #105730
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    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
    Mohammad

    #105733
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    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
    Mohammad

    #105741
    Shanty
    Member
    Post count: 48

    Hello 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

    #105754
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Now you dont need any code for htaccess. I will check your another issue.
    Thanks ๐Ÿ™‚
    With Best Regards
    Mohammad

    #105755
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Now you dont need any code for htaccess. I will check your another issue.
    Thanks ๐Ÿ™‚
    With Best Regards
    Mohammad

    #105761
    Shanty
    Member
    Post count: 48

    Ok great thank you very much !!!

    Thread RESOLVED !!

    Waiting for news for the other topic.

    Best Regards

    #105771
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    You most welcome. I’m glad that issue resolved.
    Thanks ๐Ÿ™‚
    With Best Regards
    Mohammad

    #107135
    Shanty
    Member
    Post count: 48

    Hey!

    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

Viewing 15 posts - 1 through 15 (of 23 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register