Installed an SSL certificate on my site, and now the SMF forum doesn't work

Started by iplan, August 06, 2020, 07:02:56 PM

Previous topic - Next topic

iplan

Installed an SSL certificate on my site, and now the SMF forum doesn't work.

I am getting a lot of mixed content errors, and I can not even log into my forum.

I get the following message:
An Error Has Occurred!
Your session timed out while posting. Please go back and try again.

I did call my hosting company, and they said that the SSL cert is working fine - but the page has got some mixed content, which is causing problems.

I am not sure what this is though, as it is the standard SMF front (by that I mean, it looks exactly like this forum).

I'm running SMF 2.0.17.

Any ideas?

Here is some of the error messages (from Chrome Developer Tools):

There are about 10 of them, but they are all a version of these 3:

Mixed Content: The page at 'https://www.carolinacollegeprep.com/simplemachinesforum/index.php?action=login2'; was loaded over HTTPS, but requested an insecure stylesheet 'http://carolinacollegeprep.com/simplemachinesforum/Themes/default/css/index.css?fin20';. This request has been blocked; the content must be served over HTTPS.
index.php?action=login2:5


Mixed Content: The page at 'https://www.carolinacollegeprep.com/simplemachinesforum/index.php?action=login2'; was loaded over HTTPS, but requested an insecure script 'http://carolinacollegeprep.com/simplemachinesforum/Themes/default/scripts/sha1.js';. This request has been blocked; the content must be served over HTTPS.


Uncaught ReferenceError: smc_Toggle is not defined
    at index.php?action=login2:67





Nodaz

im running into a similar issue, what exactly did you do in repair_settings to alleviate the issue?

Aleksi "Lex" Kilpinen

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Mick.

Quote from: Nodaz on December 21, 2020, 04:26:57 PM
im running into a similar issue, what exactly did you do in repair_settings to alleviate the issue?

load the repair_settings.php file to the forum root. Find it like this,.. https://yoursite.com/repair_settings.php then click on all links to repair the broken links. Once done, rename the file or delete it.

Nodaz

Quote from: Mick. on December 21, 2020, 04:59:45 PM
Quote from: Nodaz on December 21, 2020, 04:26:57 PM
im running into a similar issue, what exactly did you do in repair_settings to alleviate the issue?

load the repair_settings.php file to the forum root. Find it like this,.. https://yoursite.com/repair_settings.php then click on all links to repair the broken links. Once done, rename the file or delete it.
Bingo, THANK you, everything is back in order it seems.

Mick.


Mick.


Advertisement: