my just installed forum got error

Started by TANDIONO.COM, September 27, 2023, 09:49:35 AM

Previous topic - Next topic

TANDIONO.COM

my just installed forum got error when it was click from external url:


forumwebsite.net


can anyone help me?

Aleksi "Lex" Kilpinen

Only issue I can see, is that you don't have a valid SSL certificate. Can't help with that, but perhaps you could ask your host for assistance?
FYI, it works just fine if you replace https with http in your url. You SHOULD fix the certificate though, and after that I would suggest fixing all paths and urls in SMF to use https.
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

Kindred

Quote from: TANDIONO.COM on September 27, 2023, 09:49:35 AMmy just installed forum got error when it was click from external url:


forumwebsite.net


can anyone help me?


"got error"...

what was the error?   
Is forumwebsite actually your URL? ???
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

TANDIONO.COM

Quote from: Kindred on September 27, 2023, 10:13:16 AM
Quote from: TANDIONO.COM on September 27, 2023, 09:49:35 AMmy just installed forum got error when it was click from external url:


forumwebsite.net


can anyone help me?


"got error"...

what was the error? 
Is forumwebsite actually your URL? ???

forumwebsite.net is my website  :)


here is the error:


Kindred

Oh, ok...   that's not an error.  From the way you described it, it sounded like you got an actual error code/message.

That's a misconfiguration.

1- what is your site configuration setting for the URL? (www or not-www?) How are you ACCESSING the site? (Using the same www or not-www?)
2- what is your site configuration setting for http vs https? How are you ACCESSING the site? (http or https?)
3- As Lex mentioned, your site is missing a valid certificate - which means that attempts to access https will not allow graphics, etc because your certificate is not valid and thus the browsers will reject those when accessed using https

4- confirm that your theme settings (paths and urls) are correct and match your site settings -- again, www/non-www and http/https

5- add a forced redirect in your htaccess file in order to make sure that everyone is redirected to the correct url
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Aleksi "Lex" Kilpinen

#5
The problem is that modern browsers (and SMF actually) assume https, if you link to forumwebsite.net the assumption is it starts with https, but you do not have https configured, and your forum is set to use http.

Quote from: Aleksi "Lex" Kilpinen on September 27, 2023, 09:51:46 AMOnly issue I can see, is that you don't have a valid SSL certificate. Can't help with that, but perhaps you could ask your host for assistance?
FYI, it works just fine if you replace https with http in your url. You SHOULD fix the certificate though, and after that I would suggest fixing all paths and urls in SMF to use https.

There is also a small issue with www versus non www, your server tries to serve the same content on both urls, but the forum is actually configured to use www.
So, you should link to www.forumwebsite.net instead of just forumwebsite.net
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

TANDIONO.COM

i still got error..

i try both from non to www and www to non.. but all fail still..

i prefer the non for more easier pronounce without the www..

RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]

RewriteCond %{HTTPS} on
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]


this .htaccess fail.. do you have .htaccess code?

Kindred

if you prefer non-www, then use it...
you need to remove the www from the URLs in your forum configuration for the site, for the themes, for the avatars, for the smileys, for the attachments, etc...

you need to get a valid security certificate. I can't even get to your site, because my work computer blocks sites with missing or invalid certs.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: