Support Forum

SimplePress Running Under Encryption HTTPS

EK Edward Koon
Edward Koon
Member

Hi Guys, Hope all is well..

Went full https on my ebms blog. The blog works fine but SP wouldn’t let me change the page permalink to https, Just a little circle spinning with no response. None of the SP settings load either.

Went into my database and changed the permalink that way but it didn’t change anything. The forum page loads but seems to be lacking any css style. The main forum page is here.

Any suggestions?

Regards,

11 Answers

New Answer

MP Mr Papa
Mr Papa
Member

we have lots of folks using https…  did you update the forum permalink on forum – integration – page and permalink?  did you update any lnks on forum – components – login and registration? did you properly set the wp ssl constant(s) in the wp config file?

EK Edward Koon
Edward Koon
Member

I’m using CloudFlare https everywhere, and a WP plugin called WordPress HTTPS. Have not been into wp-config yet.

The forum settings in wp-dashboard will not let me enter any of the settings. Just has this little image blinking. But i changed the forum page url to https in the database. Thought that would fix it, but as my luck usually goes..

sp-options.jpg
MP Mr Papa
Mr Papa
Member

sp inherits the wp https setting which come from the wp config file settings…  this talks about admin, but concept the same:  http://codex.wordpress.org/Administration_Over_SSL

check the browser error console and see what is failing…

I would change back the db sp page and then update it the proper way on the panel I referenced…

EK Edward Koon
Edward Koon
Member

Yes i changed the forum page url back.

Here is a snippet of the browser console report. Possibly my CF WAF Firewall bight be causing the blocked errors. But didn’t have a problem before going to https.

Still can not access any sp settings like the login and register links etc. Little square blinking but that’s all i get.

sp-browser-console.jpg
MP Mr Papa
Mr Papa
Member

its because the ajax request is being blocked… the request is not yet https since sp has not been notified of the change to ssl by wp…  those config options might help…

also, might try going to wp permalink page and updating the permalink to see if it will go

EK Edward Koon
Edward Koon
Member

Tried everything I can think of to no avail.  Is there something I can change in the database?

Regards,

MP Mr Papa
Mr Papa
Member

not sure what that would be…  as I said, we have a fair number of full ssl (ie https) users… so not sure what is going on locally for you…

did you ever check the wp config constants?

EK Edward Koon
Edward Koon
Member

I looked at wp-config and didn’t see anything about https, what should be there? The rest of WordPress is working fine.

Tested this out on my docsplace.org site, sp does the same thing. Added and activated WordPress HTTPS plugin, then went over to cloudflare and turned https on. Loaded up the blog in https logged in and under integration tried updating the url, little circle just kept spinning.

I believe wp https plugin changes any http url to protocol relative //. Other than that I’m lost.

MP Mr Papa
Mr Papa
Member

I gave you a link back in post #4…  http://codex.wordpress.org/Administration_Over_SSL

your plugin may already be doing that – dont know…  but I do know others use the same plugin…

did you ever figure out what was giving the mixed content blocking?   might be worth trying a temp disable to let everything get settled and then re-enable it…

EK Edward Koon
Edward Koon
Member

Doc, Putting on his dunce cap!

I somehow missed that WordPress codeex page. 

Adding this to wp-config did the trick.

define('FORCE_SSL_ADMIN', true);
if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')
       $_SERVER['HTTPS']='on';

Thanks again so much for your help.. wink
MP Mr Papa
Mr Papa
Member

Hey, good news! Glad we were able to resolve it…