Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #364531

    ask4hassam
    Participant

    Hi
    this is my site link:-
    http://www.dawatulquran.net

    My site used to work fine on both of my browsers. Im using a torch browser and google chrome.

    Now my site is not properly working on torch browser. See this image. Fonts are not showing properly. Plus my forms are not working as well:-

    View post on imgur.com

    Whereas in google chrome everything is working fine. Fonts are fine plus forms are working as well. see the image:-

    View post on imgur.com

    whats the problem with it?

    Thanks in advance

    #364817

    Rue Nel
    Moderator

    Hello There,

    Thanks for writing in!

    We noticed that you are using an older version of X and Cornerstone. Can you confirm that you are fully updated? (Theme and Plugins)

    Our latest versions are:
    X Theme: 4.0.6
    Cornerstone: 1.0.5
    Visual Composer: 4.6.1
    Revolution slider: 4.6.93

    You can find the latest version numbers here: (http://theme.co/x/member/changelog/) Then you can compare them to what’s installed on your site.

    If you find anything to be out of date, you can review our update guide.

    Once everything is updated, since you have installed a caching plugin W3 Total Cache, please clear your plugin cache before testing your site. This can cause the changes to not take place on the front end. It will eventually show up when the cache regenerates, but it’s not ideal if you’re looking to see your changes immediately. Caching plugins are best to turn on only when you’ve finished building the site.

    Thank you.

    #365217

    ask4hassam
    Participant

    Updating them won’t fix them. Please tell a more valid solution.

    I have emptied the cache now but still same problem. I enabled the plugin after completing the site btw.

    Thanks

    #365370

    Zeshan
    Member

    Hi there,

    I tested your website on both Google Chrome and Torch browser on Mac OS. Both browsers are showing the same fonts (chrome: http://prntscr.com/879hn9). I’m seeing a 500 (Internal Server Error) on your font URL: http://pashtofonts.com/api/pashto.css, if you open the URL, you’ll see a “Bandwidth Limit Exceeded” notice. I’d advise contacting your font provider.

    As for the forms, I’ve tested your contact form on both Chrome and Torch browser, both are working just fine (chrome: http://prntscr.com/879i2d, torch: http://prntscr.com/879iau).

    Apart from that, I’m seeing a JS error coming from this script: http://dawatulquran.net/wp-content/plugins/masjidnow/js/WPMasjidNowWidget.js?ver=4.2.4 that is by a plugin Masjid Now. If you still face forms issue, this could be a reason. You could try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

    Thanks!

    #365946

    ask4hassam
    Participant

    They are working fine now. Fonts page is showing no error now. I guess because of the plugin it was having issue. They might have fixed it.
    Everything is working fine now by itself. Strange.

    Thanks a lot for your help btw. Now i will try to debug like you guys do.

    #365963

    Thai
    Moderator

    You’re most welcome 🙂

    Let us know how it goes!

    #649570

    ask4hassam
    Participant

    Hi! Fonts are not working again now unfortunately.
    This time http://pashtofonts.com/api/pashto.css this link is working fine as well…

    Thanks in advance
    Hassam

    #649806

    Jade
    Moderator

    Hi Hassam,

    Upon checking your site, I found get this error in the console:

    Font from origin 'http://pashtofonts.com' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://dawatulquran.net' is therefore not allowed access. The response had HTTP status code 404.

    Please refer to this link http://davidwalsh.name/cdn-fonts to fix the problem. if the issue still persists you’ll need to contact your web hosting provider to fix it for you.

    Let us know how it goes. Thanks!

    #652547

    ask4hassam
    Participant

    The link doesn’t solution is not working or maybe i’m not doing it right. Can you tell me what should i change in htaccess file?

    Thanks

    #652746

    Jade
    Moderator

    Hi there,

    Please try adding the following rule into your .htaccess file and see if that works for you:

    <IfModule mod_headers.c>
        Header set Access-Control-Allow-Origin "*"
    </IfModule>

    If it doesn’t work, try this code:

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

    Let us know how it goes.

    #656023

    ask4hassam
    Participant

    They are fixed automatically today.
    How is that possible?
    I’m surprised.

    Thanks a bunch!

    #656045

    Christopher
    Moderator

    The provide code fixed the issue.
    Glad we could help.