Shape 5

Joomla Free Templates => Design Control - Free => : kinemore June 27, 2018, 03:17:22 AM



: Problems to change from http to https
: kinemore June 27, 2018, 03:17:22 AM
Hi,

akutell it is necessary to change the website from http to https. Unfortunately I get an error message when I try in the \templates\design_control\index.php (line 33)
"href =" http://fonts.googleapis.com/css?family=<?php echo str_replace ... "
in
"href =" https://fonts.googleapis.com/css?family=<?php echo str_replace ... "
to change. Google will give me the error 400 in this case.


: Re: Problems to change from http to https
: mikek June 27, 2018, 05:41:20 AM
Hello,

The call should look like this:

"href =" //fonts.googleapis.com/css?family=<?php echo str_replace ... "

Dropping the http: will allow for ssl calls.


: Re: Problems to change from http to https
: kinemore June 27, 2018, 06:09:17 AM
Thanks for the quick help.

Unfortunately that was not the cause of the mistake ...
The call looks like this:

<? php if (($ s5_fonts_highlight! = "Arial") && ($ s5_fonts_highlight! = "Helvetica") && ($ s5_fonts_highlight! = "Sans-Serif")) {?>
<link rel = "stylesheet" type = "text / css" href = "//fonts.googleapis.com/css?family=<?php echo str_replace (" ","% 20 ", $ s5_fonts_highlight); if ($ s5_fonts_highlight_style! = "") {echo ":". $ s5_fonts_highlight_style;}?> "/>
<? php}?>

According to my browser, however, "only" the following (incomplete) address is called
https://fonts.googleapis.com/css?family=



: Re: Problems to change from http to https
: mikek June 27, 2018, 02:22:44 PM
Hello,

Make sure you are running the latest version of Vertex. The only other calls for google fonts are in the framework and the latest version of the framework already has this correction in those files.