Advertisement:

Author Topic: Converting to https, step-by-step...  (Read 78963 times)

Offline zakallin69

  • Semi-Newbie
  • *
  • Posts: 33
Re: Converting to https, step-by-step...
« Reply #80 on: June 10, 2019, 05:40:19 AM »
First, i'm sorry if this is in wrong place but hopefully someone can help....and my native language is finnish so my english could be some kind of poor  ::)

I'm admin in forum (2.0.15) and everything is working fine until i tried to get ads manager to work.
Talked to developer and he checked it and said it's some problem with hosting.
So i contact them and answer was there's problem with http-redirecting.....
I made new .htaccess-file and tested it and it went ok. Next i ran repair_settings.php and no effect.
So some still some images not loading properly in forum, don't know what else i could do.
And last, i'm not any kind of coder at all so knowledge of this is not so good  :-\

Offline shawnb61

  • Developer
  • SMF Hero
  • *
  • Posts: 1,522
    • sbulen on GitHub
Re: Converting to https, step-by-step...
« Reply #81 on: June 10, 2019, 05:48:53 AM »
Do you have the image proxy enabled?  If so, try disabling it.

This will result in the loss of a padlock under some situations (when you have an image link to an http photo) but may get you your photos back.
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Offline zakallin69

  • Semi-Newbie
  • *
  • Posts: 33
Re: Converting to https, step-by-step...
« Reply #82 on: June 10, 2019, 05:55:52 AM »
Do you have the image proxy enabled?  If so, try disabling it.

This will result in the loss of a padlock under some situations (when you have an image link to an http photo) but may get you your photos back.

Where i do that proxy thing  ???
And now only missing images are new post icons and all ad photos i try to link.

Offline shawnb61

  • Developer
  • SMF Hero
  • *
  • Posts: 1,522
    • sbulen on GitHub
Re: Converting to https, step-by-step...
« Reply #83 on: June 10, 2019, 06:07:43 AM »
If its restricted to message icons, it's not a proxy issue.

I would double-check all image & avatar folder settings first. 

If you're having an issue with the ads manager mod, I would suggest posting in the support thread for that mod.


Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Offline zakallin69

  • Semi-Newbie
  • *
  • Posts: 33
Re: Converting to https, step-by-step...
« Reply #84 on: June 10, 2019, 06:12:06 AM »
If its restricted to message icons, it's not a proxy issue.

I would double-check all image & avatar folder settings first. 

If you're having an issue with the ads manager mod, I would suggest posting in the support thread for that mod.

Thanks again for your answer.....
Yep, that ad manager is one thing but where to check those folder settings....i mean if i manage to get them right it's nice to see if it affects that mod too?

Offline zakallin69

  • Semi-Newbie
  • *
  • Posts: 33
Re: Converting to https, step-by-step...
« Reply #85 on: June 10, 2019, 07:56:36 AM »
If its restricted to message icons, it's not a proxy issue.

I would double-check all image & avatar folder settings first. 

If you're having an issue with the ads manager mod, I would suggest posting in the support thread for that mod.

Thanks again for your answer.....
Yep, that ad manager is one thing but where to check those folder settings....i mean if i manage to get them right it's nice to see if it affects that mod too?

EDIT : i got this figured out and working now.......

Offline nax

  • Jr. Member
  • **
  • Posts: 374
  • Gender: Male
Re: Converting to https, step-by-step...
« Reply #86 on: June 30, 2019, 08:02:47 AM »
Just for clarification that I’m going to do this correctly…..
I look after a forum hosted by G C Solutions, we are currently on SMF 2.0.15 and I want to convert to https.  We have purchased an SSL certificate ant this is installed and checked using https://www.sslshopper.com/ssl-checker.html
So to proceed I should :
1.   add in the redirect lines into the .htacess file
2.   put the site into maintenance mode
3.   upload and run repair_settings.php – do I need to run this as https://www.mysite.com/repair_settings.php ? Or is the http prefix ok?
4.   Change the following from http to https:-
 - $boardurl
 - Your Smileys URL
 - Your Avatars URL
 - Your Custom Avatars URL (if you have one)
 - Your Theme URL (one for each theme!!!!)
 - Your Theme/Images URL (one for each theme!!!!)

Question; this states one for each theme? I’m not sure what is meant here as although several themes are install on our forum only one bespoke based on the Curve default is used.  Do I need to pick each of the themes in turn changing their prefix to https and saving in repair_settings before ending up with my current theme location?  I’m just a little confused here.

5.   Tick the Enable Proxy Image box in the Server Settings/General page
6.   Do I need to alter the .php file where the forum logo is called, it’s held locally on the server – can anyone tell me offhand which file this is that is the main page (I know I can figure it out but I’m trying to reduce the forum downtime)
7.   Run repair_settings.php again just to check all is ok
8.   Take the forum out of maintenance mode
9.   Check using tools to see if any other forum page elements are incorrectly configured
10.   Have a large gin and tonic.

Offline nax

  • Jr. Member
  • **
  • Posts: 374
  • Gender: Male
Re: Converting to https, step-by-step...
« Reply #87 on: July 03, 2019, 10:03:59 AM »
Re my last post there..... I've completed the change to https: without any problems.  I didn't realise that in the repair_settings screen all themes installed in SMF are shown so I understand the instructions now (it's not often most of us would be running this), basically any line that has http in it you change to https.  If all your users use one theme odds are your forum "home page" may contain images that still use http, the file that is probably being call ed is /www/Themes/your_theme_name/index.template.php but use the tools suggested to check for mixed image content errors.

Offline willemb

  • Newbie
  • *
  • Posts: 5
Re: Converting to https, step-by-step...
« Reply #88 on: September 09, 2019, 06:26:05 AM »
(...)
Hope this helps.

It sure did, thanks! It went like a breeze for us (2.015, default theme). The only manual http -> https correction I needed was for our logo.

Offline HusaBob

  • Semi-Newbie
  • *
  • Posts: 49
Re: Converting to https, step-by-step...
« Reply #89 on: November 15, 2019, 04:07:36 PM »
Wow is this confusing!!

Our site is at 2.0.15. We bought a SSL Certificate last year but never knew we had to alter the site.

Frankly I don't see any real reason for the SSL....it's just a hobby BBoard. We're not participating in Swiss banking or anything.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,872
    • StoryBB/StoryBB on GitHub
Re: Converting to https, step-by-step...
« Reply #90 on: November 15, 2019, 04:28:16 PM »
The SSL is because a) browsers will tell your users your site is insecure without it, b) they're now free with Let's Encrypt, c) on the presumption that your members reuse passwords between your site and other sites, without SSL their passwords could be seen by anyone on the same network, great if you're using say 4G...
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.