Posts: 21
Threads: 6
Joined: Dec 2015
2019-05-07, 20:07:38
(This post was last modified: 2019-05-09, 19:44:41 by backit.)
Hi,
when inserting an image through ckeditor it defaults insert it with http instead of https protocol, so i have to correct each image i insert.
I think it's a ckeditor related problem, googling does not found anything ralted.
Does anyone had same problem and solved? Anyone knows how to solve it?
GS version 3.3.15 with default ckeditor (4.5.9?)
Many thanks.
Posts: 3,491
Threads: 106
Joined: Mar 2010
Are you logging to your site with http instead of https?
Posts: 1,928
Threads: 88
Joined: Apr 2010
Posts: 1,247
Threads: 82
Joined: Feb 2011
Have you set the correct Website URL in settings?
Posts: 21
Threads: 6
Joined: Dec 2015
@carlos absolutely no
@Oleg06 ok thanks, maybe it's only mine
anyone else?
Posts: 21
Threads: 6
Joined: Dec 2015
(2019-05-08, 20:13:41)datiswous Wrote: Have you set the correct Website URL in settings?
yes, tried also to set "/" but ckeditor does not care about
Posts: 21
Threads: 6
Joined: Dec 2015
(2019-05-08, 07:58:11)Oleg06 Wrote: My editor works well. http://prntscr.com/nlqshi
Which getsimple and ckeditor version do you have? may you post your gsconfig.php and config.js?
Posts: 3,491
Threads: 106
Joined: Mar 2010
@backit
Any plugins?
Any custom gsconfig setting for ckeditor?
PS You cannot set "/" as website URL unless you patch GS.
Posts: 21
Threads: 6
Joined: Dec 2015
(2019-05-09, 00:09:08)Carlos Wrote: @backit
Any plugins?
Any custom gsconfig setting for ckeditor?
PS You cannot set "/" as website URL unless you patch GS.
i can, GS accept it, don't know.
Posts: 21
Threads: 6
Joined: Dec 2015
Ok seems i found the problem, it's infrastructure related, due to load balancer that does the https part and function http_protocol() in inc/basic.php that construct the protocol url part reading $_SERVER['HTTPS'] variable. Tomorrow i'll post more...
Posts: 21
Threads: 6
Joined: Dec 2015
Confirm it's architecture related. We have a load balancer that do the https stuffs and the webstie run in backend in http, so GS see it correctly in http.
To solve this problem set:
Code:
$_SERVER['HTTPS']='on';
in gsconfig.php
thanks all for helping and driving me to the right side of the moon!!