Advertisement:

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

Offline computel

  • Jr. Member
  • **
  • Posts: 147
Re: Converting to https, step-by-step...
« Reply #120 on: April 09, 2021, 07:06:09 PM »
anyone had luck in a sub-directory setup? Here is what I see when I got to mine with HTTPS: really afraid to mess with the site I have over 10+ years of stuff.

Offline Illori

  • Support Specialist
  • SMF Legend
  • *
  • Posts: 52,949
Re: Converting to https, step-by-step...
« Reply #121 on: April 09, 2021, 07:45:11 PM »
you did not run repair_settings.php and redirect your forum to be forced https.

What is repair_settings.php?

Offline computel

  • Jr. Member
  • **
  • Posts: 147
Re: Converting to https, step-by-step...
« Reply #122 on: April 09, 2021, 10:47:25 PM »
I did a .htaccess force HTTPS and that is what it showed in the image

Offline computel

  • Jr. Member
  • **
  • Posts: 147
Re: Converting to https, step-by-step...
« Reply #123 on: April 09, 2021, 10:56:22 PM »
Just ran it What is repair_settings.php? and got 500 server error do I need to do a .htaccess to force it? how do I force it? my domain is canadianracingonline.com/smf

Thanks

Offline Sir Osis of Liver

  • SMF Super Hero
  • *******
  • Posts: 11,139
  • We were all equal in the end.
Re: Converting to https, step-by-step...
« Reply #124 on: April 09, 2021, 11:12:37 PM »
Did you upload repair_settings.php to canadianracingonline.com/smf/?  It's not there now.  You should be able to force https in cpanel domain settings.
“The best laid schemes o' mice an' men / Gang aft a-gley.” - Robert Burns

Offline computel

  • Jr. Member
  • **
  • Posts: 147
Re: Converting to https, step-by-step...
« Reply #125 on: April 10, 2021, 12:22:40 AM »
removed it the file. I get 500 server errors what do I do?

Offline Sir Osis of Liver

  • SMF Super Hero
  • *******
  • Posts: 11,139
  • We were all equal in the end.
Re: Converting to https, step-by-step...
« Reply #126 on: April 10, 2021, 10:32:11 PM »
Shouldn't get a 500 error from repair_settings.  Do you have the current version?
“The best laid schemes o' mice an' men / Gang aft a-gley.” - Robert Burns

Offline computel

  • Jr. Member
  • **
  • Posts: 147
Re: Converting to https, step-by-step...
« Reply #127 on: April 11, 2021, 02:14:04 AM »
Downloaded it from here. as soon as I run it and then go back to the forum I get 500 errors I hit restore from the repair_settings.php and the forum works again.

Offline computel

  • Jr. Member
  • **
  • Posts: 147
Re: Converting to https, step-by-step...
« Reply #128 on: April 11, 2021, 02:29:41 AM »
Seems to work now. I copied the recommended into the spot and saved it and it works. Thanks everyone