ElkArte Community

Elk Development => Bug Reports => Topic started by: webpirate on December 22, 2016, 02:45:10 pm

Title: Home login register
Post by: webpirate on December 22, 2016, 02:45:10 pm
Hello,
Just installed this forum software and it's all good except for 1 thing. The home login and register button icons don't show up when you load the index. When you click on any forum then the images show up. Any ideas?

Website is https://www.mynestreports.com/forum
Title: Re: Home login register
Post by: Spuds on December 22, 2016, 02:55:58 pm
Those are font-awesome icons, visiting your site I see this in the dev panel.

QuoteAccess to Font at 'https://mynestreports.com/forum/themes/default/webfonts/fontawesome-webfont.woff2?v=4.4.0' from origin 'https://www.mynestreports.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://www.mynestreports.com' is therefore not allowed access.
Title: Re: Home login register
Post by: ahrasis on December 22, 2016, 08:04:46 pm
I kinda got the font after clicking one of the button. Just curious, in your forum default setting, is it using https or just http as its url?
Title: Re: Home login register
Post by: webpirate on December 23, 2016, 10:00:26 am
the site uses https... Thanks for the heads up I will check into it..

It only does it on the main page and only in mobile view...
Title: Re: Home login register
Post by: Spuds on December 23, 2016, 10:41:04 am
If using https be sure to update your settings to point to httpS ...

Start by replacing all the theme URL and primary board URL settings to point to https instead of http or you will get mixed content warnings.  When done check the SSL cookies box. 
Title: Re: Home login register
Post by: webpirate on December 23, 2016, 11:33:53 am
ok I did all that and still same result.... very odd...
Title: Re: Home login register
Post by: webpirate on December 23, 2016, 12:00:43 pm
ok I got it sorted out by adding http to https redirects in .htaccess
Title: Re: Home login register
Post by: Spuds on December 23, 2016, 12:04:09 pm
Right now it looks good to me, also just did a quick look on my Android phone and it looks good as well  ... I'm not getting any errors and the page has all the icons. 

Quote from: webpirate – ok I got it sorted out by adding http to https redirects in .htaccess

Ah cool ... good job!
Title: Re: Home login register
Post by: emanuele on December 23, 2016, 01:30:08 pm
/me feels some schema-less may be handy here and there
Title: Re: Home login register
Post by: ahrasis on December 24, 2016, 06:04:22 am
You can also use the latest repair tools from the githib because I think we already cover converting all url to https in it, if needed.