Important notice: we will respond to all open ticket requests up until November the 1st. After this date, we will be unable to process the ticket requests here on Ticksy.

Okay
  Public Ticket #2002711
URGENT HELP!! CORS ERROR
Closed

Comments

  • Moodmktmex started the conversation

    URGENT HELP!!

    At the time of doing the login part, it launches a Cors error on the part of the browser that is similar to this “xmlhttprequest blocked by cors policy in wordpress”, as this error can be corrected, it would be very nice if the part responded more quickly of your support because it is very BAD

  •  1,845
    Elated replied

    Hello,

    Please try to follow the instructions from this link in order to solve these Cross-Origin errors: 

    https://davidwalsh.name/cdn-fonts


    These instructions work for all browsers and icon packs.
    Basically you need to add few lines of code inside of a .htaccess file and it is better to ask you host to do that for you in case that you are not feeling comfortable doing that:

    <IfModule mod_headers.c>
      <FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$">
        Header set Access-Control-Allow-Origin "*"
      </FilesMatch>
    </IfModule>

    Most of the users were able to solve this cross-origin problem with the solution from that article, but if that does not work for you, you will need to contact your hosting provide support and ask them to fix the Cross-Origin issue, as it is server oriented.


    Detailed Steps:

    So first you log in to your FTP server and find the root folder of your wordperss installation (you can see the ‘wp-admin’, ‘wp-content’ etc folders there)

    7422482397.png

    Create a new file, name it just ‘.htaccess’ (without quotes),

    Next select that .htaccess file and edit it. (or if you don’t see the edit option, copy this file to your local PC, edit it locally in a text editor, add the code I’ve shown below save the file) then move the file back to the ftp server into same location)

    9005650162.png

    Then, paste this code into that file, save the file and upload it back to your FTP server into the same folder.

    # Apache config
    <FilesMatch ".(eot|ttf|otf|woff)">
     Header set Access-Control-Allow-Origin "*"
    </FilesMatch>

    Your icons should be working now.

    For any other issue you are facing please feel free to ask us and we will assist you as soon as possible. I will give my best to help you building your site.

    Thanks & Regards, 
    Vladimir


    The Elated Support Center has been moved to our centralized support platform. 

    Please note that any existing tickets prior to this change will be answered right here on Ticksy, and in due time. 

    If you wish to submit a new support request, for all new inquiries please head on to our Help Center.

    Elated Themes is part of Qode Interactive – the home of 300+ premium WordPress themes.

    Don’t forget to sign up for our newsletter and be the first to find out all the latest news.

  • Moodmktmex replied

    HELP!! UGENTE!!!

    My problem was not solved, I see an error similar to this "Access to XMLHttpRequest at 'https://www.emevirtual.mx/wp-admin/admin-ajax.php' from origin 'https://emevirtual.mx' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. " I suppose it has nothing to do with the icons if not with the requests to the server.

  •  1,845
    Elated replied

    Hello,

    Please try to disable AdBlocker add-on for your browser and then access your website in order to check if this error persists in your console.

    We tested this out on your website and as you can see in the following screenshot there is no  XMLHttpRequest error in our browser console.

    4000686965.png

    Please try deleting your browser cache, or access your website from another browser/computer to see if the problem persists.

    For any other issue you are facing please feel free to ask us and we will assist you as soon as possible. I will give my best to help you building your site.

    Thanks & Regards, 
    Vladimir


    The Elated Support Center has been moved to our centralized support platform. 

    Please note that any existing tickets prior to this change will be answered right here on Ticksy, and in due time. 

    If you wish to submit a new support request, for all new inquiries please head on to our Help Center.

    Elated Themes is part of Qode Interactive – the home of 300+ premium WordPress themes.

    Don’t forget to sign up for our newsletter and be the first to find out all the latest news.