Jump to content

Archived

This topic is now archived and is closed to further replies.

hajobakker

Fontawesome and pagelines

Recommended Posts

hajobakker

Guys,

 

Something keeps happening to fontawesome display in pagelines. This boils down to cross-domain access, caught by Firefox.

 

What I see on one out of three sites is that for some reason fontawesome icons are transferred in https vs http.

I'm running in network mode and have an ssl certificate for one domain only so transfer of the font fails.

 

There are workardounds pointing to .htaccess modifications though your ISP needs header_c complied in Apache for that to work.

 

Thing is: even docs.pagelines.com presents these errors: check out a screenshot at http://www.hajobakker.com/?attachment_id=864

 

 

Setup: wp 3.6.1, network / domain mapping / multilanguage / wp super cache / widget logic

Share this post


Link to post
Share on other sites
hajobakker

Hi,

 

This has been brought to our attention before. See here for more info - http://wpvkp.com/font-awesome-doesnt-display-in-firefox-maxcdn/

 

Thanks Danny,

 

For some this is woule be a nice workaround - provided your ISP compiles Apache with mod_headers.c - but not a solution.

Instead of using the original URL, somehow somewhere a variable is overwritten and httpd used for transfer instead of http.

Firefox is not in any way responsible for this behaviour and is basically the only browser adhering to cross-domain standards.

 

If this is the way it is I'll just drop fontawesome and themes making use of it, a shame to think about this but the way it is.

 

Thanks anyway, guess it's time for me to reconsider.

Share this post


Link to post
Share on other sites
Danny
I understand that the issue does not lie with FireFox or IE and they're following the Cors standard. However, I am not entirely sure why you keep mentioning your ISP, what does your ISP have to do with CORs? I assume you mean your web host provider and not your Internet Service provider ? I will report this to our developers and see if there is anything we can do. However, you will most likely need to use the .htaccess trick provided on the link above.

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
hajobakker

Sorry Danny, you're right and I'm tired I guess. I indeed did intend my hosting provider, sorry.

Share this post


Link to post
Share on other sites
Danny

:D No problem, was just confused thats all. I've created an issue in our tracker, hopefully our devs will be able to provide an alternative. If thats not the case, then you will need to use the .htaccess snippet.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • israelgenealogy
      By israelgenealogy
      I have an old PageLines site that I recently got working with SSL, but there are mixed content errors. There are two problems I've found. One is the search button icon called from forms.less:
      url(@{plRoot}/images/search-btn@2x.png)
      The second is when PageLines loads FontAwesome from icons.less:

      url('@{iconFont}.eot?v=3.0.1');

      Where is similarly loads the font using http. Any idea why these are loading using http instead of https, and is there a simple way to fix these? I know I need to upgrade the theme, but it's a major project, so for the moment I'd just like to get these secured before taking on switching themes/frameworks.
    • chamois_blanc
      By chamois_blanc+
      Hello,
      Shouldn't the image PL5 component be using the srcset/picture css directives to pick the correct size for an image? or it does already and I don't know how to use it? Thank you for any advice or enlightenment.
    • romanondrasek
      By romanondrasek+
      Hi, I just found that my site is not working - nothing to see what I have activated PL5 tap late (just white screen :-() , I can open just admin site . I tried to activate different template (tventy seventeen) and was working , but not with PL5. 
      could you pls let me know what is the problem ASAP 
       
      the site is : www.myfit.cz
      than you so much
       
    • Steve Webb
      By Steve Webb+
      I have a staging site up that I have been working on, and tonight was having PL5 account connection issues:
       
       
      I refreshed, didn't work, so I followed instructions and disconnected and clicked connect to get a new token, and got white screen with the following php error:
      Can someone tell me what I'm doing wrong?  
      https://staging2.imetropol.com/
    • Dan Haddock
      By Dan Haddock
      Plugins Active and installed: 
      Akismet Anti-Spam
      Coming Soon Page & Maintenance Mode by SeedProd
      Contact Form 7
      Cookie Law Info
      DMS Professional Tools  
      Enhanced Media Library  
      Flamingo
      Google Analytics for WordPress by MonsterInsights
      Google XML Sitemap
      Jetpack by WordPress.com
      Legull 
      Loginizer   
      MailChimp for WordPress
      PageLines Updater    
      Schema App Structured Data 
      Sucuri Security - Auditing, Malware Scanner and Hardening
      Uber reCaptcha    
      Yoast SEO
      Wordpress Version: 4.8.1
      Pagelines Version: 2.2.4
       
      Good Evening/Afternoon or Morning, 
      I am running into a problem with CSS styling not applying inside of most browsers (Safari, Firefox) when I am logged in to wordpress, and all browsers that I have tested when I am logged off and the site has been made public (Chrome, Firefox and Safari).
      As a result, I have managed to identify the probable cause. It looks as though these browsers are refusing to render my sites compiled CSS file due to it being a HTTP URL rather than HTTPS.
      I have attempted to change this URL to HTTPS in my browser, however it brings back an ERROR: File not found page - https://www.shortfilmblog.com/wp-content/uploads/pagelines/compiled-css-core-1505847507.css
      What would you suggest in this regard? Would this be resolvable from your end?
      Happy to provide any further details required.
×