Mikepo Posted November 25, 2017 Share Posted November 25, 2017 using 2.3.4BS gold, php5.6 Firefox is blocking content giving the following in the console: Blocked loading mixed active content "http://fonts.gstatic.com Chrome doesn't show a mixed content. I've searched the code and can't find reference to the google fonts. Can anyone shed light on this? Mike osC CE live - developing osC Phoenix adding modules with no core changes(awesome and easy!) Link to comment Share on other sites More sharing options...
Jack_mcs Posted November 25, 2017 Share Posted November 25, 2017 Find http://fonts.gstatic.com in the code, probably in includes/template_top.php, and change it to https://fonts.gstatic.com or //fonts.gstatic.com Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Mikepo Posted November 26, 2017 Author Share Posted November 26, 2017 Hi Jack, That's what I searched for, but nothing was found. Firefox states it's blocking this content, Chrome doesn't. So, I'm confused. Where does the reference to fonts.gstatic.com come from? Is something being redirected to fonts.gstatic.com Has anyone else seen this content being blocked. Mike osC CE live - developing osC Phoenix adding modules with no core changes(awesome and easy!) Link to comment Share on other sites More sharing options...
Dan Cole Posted November 26, 2017 Share Posted November 26, 2017 I'm not sure Mike but could it be in one of the header tag modules? I'm off to take a quick look. Dan Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here. Link to comment Share on other sites More sharing options...
Dan Cole Posted November 26, 2017 Share Posted November 26, 2017 I checked the source code on my Responsive site and it is not referenced there so I'm guessing it's in one of the modules you've installed. Dan Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here. Link to comment Share on other sites More sharing options...
Mikepo Posted November 26, 2017 Author Share Posted November 26, 2017 Thanks for checking Dan. I've searched for 'gstatic' throughout my whole site, and it's not present, and it is only identified as mixed content when using Firefox. With chrome no mixed content is identified. Strange! l'll keep looking osC CE live - developing osC Phoenix adding modules with no core changes(awesome and easy!) Link to comment Share on other sites More sharing options...
Dan Cole Posted November 26, 2017 Share Posted November 26, 2017 If you look at the source code on the page where you see that message, is it shown theret? It could also be in your css files. Dan Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here. Link to comment Share on other sites More sharing options...
Dan Cole Posted November 26, 2017 Share Posted November 26, 2017 If you want to share the URL either here or via PM I'll have a look. Dan Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here. Link to comment Share on other sites More sharing options...
AngusD Posted November 26, 2017 Share Posted November 26, 2017 Hi, do you have any Extensions loaded in your Browser? Maybe one of them injects this in your website. Searching for "gstatic" produces contradictory results. Some say, it's ok, but other results suggest it's some sort of malware. AD Link to comment Share on other sites More sharing options...
Mikepo Posted November 27, 2017 Author Share Posted November 27, 2017 There is no reference to gstatic.com in my code. This morning the firefox web console doesn't show any mixed content, and the green padlock tells me the connect is secure with no blocked content. What I did notice, the PC I'm using is also my test XAMPP server, and if I'm browsing my test site (using a tab in firefox) I see mixed content and this seems to appear in the tab I'm using to browse my internet site. i.e. if I'm not browsing my test shop, then the mixed content isn't shown on the internet shop. Strange, but I have no further explanation. Mike osC CE live - developing osC Phoenix adding modules with no core changes(awesome and easy!) Link to comment Share on other sites More sharing options...
Jack_mcs Posted November 27, 2017 Share Posted November 27, 2017 fonts.gstatic is google fonts. You probably have it enabled in your google account. As such, it probably won't work with a local setup. You can ask on googles developer forum for help with it. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Mikepo Posted November 27, 2017 Author Share Posted November 27, 2017 @Jack_mcs, @wHiTeHaT i checked all files and there is no reference to fonts.gstatic.com or fonts.googlespis with only http. i checked all php and css files. I'll have to check on the google forums to see if they can shed light on this. thanks everyone for helping Mike osC CE live - developing osC Phoenix adding modules with no core changes(awesome and easy!) Link to comment Share on other sites More sharing options...
MrPhil Posted November 28, 2017 Share Posted November 28, 2017 Have you brought up the offending page's HTML source in your browser ("View Source")? That might clearly show the string "gstatic" etc., and give you an idea where to look in the PHP, JS, and CSS files. If it doesn't show up there, have you also looked in the Javascript files you load? Are you using a tool such as "grep" or "findstr" to search masses of files for a string, rather than looking in an editor one-by-one? You'd be amazed at how many people don't learn such a simple shortcut! Link to comment Share on other sites More sharing options...
desmoulins22 Posted January 18, 2018 Share Posted January 18, 2018 On 27/11/2017 at 11:49 PM, Mikepo said: @Jack_mcs, @wHiTeHaT i checked all files and there is no reference to fonts.gstatic.com or fonts.googlespis with only http. i checked all php and css files. I'll have to check on the google forums to see if they can shed light on this. thanks everyone for helping Mike Hi Mike , don't know if you resolved in the mean time but i had some in the template_top.php,took me too a while to find them.. hope it helps.bye Link to comment Share on other sites More sharing options...
Mikepo Posted January 19, 2018 Author Share Posted January 19, 2018 @desmoulins22, thanks for the info, my issue was resolved, as it must of been something to do with my google account and my test system. Not too sure I understand, but the blocked mixed content has gone away. Thanks for asking Mike osC CE live - developing osC Phoenix adding modules with no core changes(awesome and easy!) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.