Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: robander on April 18, 2021, 12:06:23 AM

Title: Modifying text in a forum topic cannot be saved
Post by: robander on April 18, 2021, 12:06:23 AM
After I modify text in a forum topic I click save and instead of saving the changes I get the message:

The information you're about to submit is not secure
Because this form is being submitted using a connection that's not secure, your information will be visible to others.
Then I get the buttons      Send Anyway   and  Go Back

Clicking either one does not save the changes. HELP!
Title: Re: Modifying text in a forum topic cannot be saved
Post by: Sir Osis of Liver on April 18, 2021, 12:17:11 AM
Run repair_settings.  All paths must be http or https, if you have a mix browsers may display security warnings.
Title: Re: Modifying text in a forum topic cannot be saved
Post by: robander on April 18, 2021, 10:00:43 PM
Thanks for helping. I ran all the forum maintenance fixes. Does this mean I have run the repair_settings you refer to? If not how do I get to this task?
Title: Re: Modifying text in a forum topic cannot be saved
Post by: Sir Osis of Liver on April 18, 2021, 10:29:19 PM
https://wiki.simplemachines.org/smf/Repair_settings.php
Title: Re: Modifying text in a forum topic cannot be saved
Post by: robander on April 19, 2021, 12:33:25 AM
Many thanks my friend
Title: Re: Modifying text in a forum topic cannot be saved
Post by: robander on April 19, 2021, 03:30:11 AM
Hello Sir,
I see directions telling me to place the repair_settings.php file into    domain.com/repair_settings.php   Does this mean it is not supposed to be loaded into the packages directory? I am sorry but it has been a couple of years since I added any new stuff to the site.
Title: Re: Modifying text in a forum topic cannot be saved
Post by: ozp on April 19, 2021, 04:47:04 AM
You should place it in the same directory as your Settings.php
Title: Re: Modifying text in a forum topic cannot be saved
Post by: Steve on April 19, 2021, 07:14:06 AM
From the link Sir Osis posted:

QuoteMake sure that you delete it once you have finished the maintenance!
Title: Re: Modifying text in a forum topic cannot be saved
Post by: Sir Osis of Liver on April 19, 2021, 12:13:19 PM
It's not a package, it's a standalone script.  Upload it to forum root and run it with direct link.
Title: Re: Modifying text in a forum topic cannot be saved
Post by: robander on April 20, 2021, 08:16:22 PM
I have the zip file in the root directory. Do I extract it? Sorry for so many questions but I do not want to screw it all up.
Title: Re: Modifying text in a forum topic cannot be saved
Post by: shadav on April 20, 2021, 08:30:14 PM
zip file? it's not a zip file...
did you go to: https://wiki.simplemachines.org/smf/Repair_settings.php
and then click on
the tools section of the SMF Downloads center: repair_settings.php.
that last bit reapair_settings.php
if so it should have downloaded that file, not a zip file but that file: repair_settings.php

upload that file: repair_settings.php
to your site in your forum's folder (or the main folder of your site if that is where you forum is), the same place where you should see a file named settings.php

after uploaded to that place
go to your forum and then add repair_settings.php to the end of the url
Title: Re: Modifying text in a forum topic cannot be saved
Post by: robander on April 20, 2021, 09:32:19 PM
I believe i have the file uploaded to where it should be. I am not sure what you mean when you say 'go yo your forum and then add repair_ settings.php to the end of the url'. I am so sorry but i am very rusty with making changes to the forum as you can see.
Title: Re: Modifying text in a forum topic cannot be saved
Post by: shadav on April 20, 2021, 09:53:11 PM
go to your forum
as in, put the url in your browser
yoursite.tld

then on the end add /repair_settings.php

so if your forum is your site then
yoursite.tld/repair_settings.php

or if your forum is in a folder
yoursite.tld/forum_folder_name/repair_settings.php
Title: Re: Modifying text in a forum topic cannot be saved
Post by: robander on April 20, 2021, 10:03:05 PM
Thanks so much
Title: Re: Modifying text in a forum topic cannot be saved
Post by: shadav on April 20, 2021, 10:15:31 PM
make sure to fix all urls and paths that are on it and then click save

visit your forum and make sure everything is working, if not you may need to run the repair_settings again, sometimes it takes two times.

once everything is fixed and working, delete the file repair_settings.php as it can be a security risk leaving it there.
Title: Re: Modifying text in a forum topic cannot be saved
Post by: robander on April 21, 2021, 12:05:42 AM
I altered all urls to have https instead of http as they recommended. I tried a few other things in repair_settings.php but nothing fixed the original problem (first topic of this conversation) It still says:
----------------------------------------
The information you're about to submit is not secure
Because this form is being submitted using a connection that's not secure, your information will be visible to others.

send anyway      go back

above are the two icons that can be clicked but achieve nothing when you click either
----------------------------------------
Could it be that the connection is not secure as it says? I never had this problem in the 8 years the site had been online

I am not using www in the url although they recommended it. I did try using the www as recommended but this caused even more problems as when I tried to alter the text in the forum topic it automatically logged me out, even as head administrator.
Title: Re: Modifying text in a forum topic cannot be saved
Post by: ozp on April 21, 2021, 02:32:00 AM
Could it be that your certificate has expired?
Title: Re: Modifying text in a forum topic cannot be saved
Post by: Kindred on April 21, 2021, 12:16:15 PM
what is your URL?
Title: Re: Modifying text in a forum topic cannot be saved
Post by: robander on April 21, 2021, 05:12:46 PM
Hi OZP.....What certificate are you speaking of?

takemebacktososua.com is the url
Title: Re: Modifying text in a forum topic cannot be saved
Post by: Kindred on April 21, 2021, 05:25:46 PM
ok...

1- your google ad is using http, not https. This will cause warnings.
2- Your menu link to "view photos" is using http...  this won't cause warnings, but should probably be fixed.
3- Your links in the recent posts block are using http....    I think that your SimplePortal needs to be reconfigured
4- Your image (subscribe-blue) is calling for an http image (in 2 places).  This will cause warnings.
5- Your other images d5, sosua-beach-aerial and sosua-beach-thing are using http. These will cause warnings.   Looks like these are part of posts
6- The links to articles or threads in the main column all point to http....   again, this leads me to believe that your simplePortal is nto correctly configured.
7- more images in posts....



you need to do a global replace in your database, replacing all internal img URLs to use https
and make sure that your simpleportal is ALSO configured for https
Title: Re: Modifying text in a forum topic cannot be saved
Post by: robander on April 21, 2021, 06:43:17 PM
Dear Kindred,
Thanks so much for the help. First of all can you give me instructions how to do a global replace in my database and how to configure my simpleportal for https? I know this is a lot to ask for but I do not know how to do it. Alternatively I want at this time to offer you some money to fix and tune up the website. I do not know if this is normal to ask this but I would like it done right and I appreciate your time and knowledge. Can you accept some money for helping me?


you need to do a global replace in your database, replacing all internal img URLs to use https
and make sure that your simpleportal is ALSO configured for https
Title: Re: Modifying text in a forum topic cannot be saved
Post by: Illori on April 21, 2021, 07:07:36 PM
first take a look at https://www.simplemachines.org/community/index.php?topic=555034.0 and after you have done all those steps then we can review your forum again for further possible steps required.
Title: Re: Modifying text in a forum topic cannot be saved
Post by: robander on April 22, 2021, 12:58:44 AM
Thanks so much for the advice. Do I add this

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

to my .htaccess file exactly as it is or do I replace the HTTPS with the domain name or the full address? Sorry for being so green.
Title: Re: Modifying text in a forum topic cannot be saved
Post by: Kindred on April 23, 2021, 04:58:50 AM
I'll post some instructions when I'm actually awake.  ;D
Title: Re: Modifying text in a forum topic cannot be saved
Post by: robander on April 29, 2021, 08:19:03 PM
I first want to thank all that have been helping me. I installed a security certificate but it has not solved my problem from the first topic. (Modifying text in a forum topic cannot be saved).
Can anyone advise me how I can find a good person from this forum I can pay to fix this? It does not seem like a major problem but it may be above my ability and I am scared I could do something to screw up the website. Thanks.
Title: Re: Modifying text in a forum topic cannot be saved
Post by: Sir Osis of Liver on April 29, 2021, 11:06:00 PM
If you can pm cpanel access (url/user/pw) I'll have a look tomorrow.