Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: becometa on February 25, 2018, 07:14:13 AM

Title: [SSL] Editing old post redirects to new post form
Post by: becometa on February 25, 2018, 07:14:13 AM
Short story.
Right after applying SSL certificate while everything went smooth, post editing is not working at all.

Warning is being displayed after pushing the save button
The information you have entered on this page will be sent over an insecure connection and could be read by a thrid party. Are you sure you want to send this information?

After pushing the "Continue" button one is being redirected to new post form (?action=post).

This applies to both old topics (created before applying SSL) and new (created after applying SSL).
Error log does not say anything about this matter.

I've ran repair_settings.php and gone through this guide: https://www.simplemachines.org/community/index.php?topic=555034.0

Link: https://kryptowaluty.org.pl (https://kryptowaluty.org.pl)


Any clue?
Title: Re: [SSL] Editing old post redirects to new post form
Post by: becometa on February 25, 2018, 08:41:11 AM
To make things even weirder: editing some posts does not reproduce this problem. However I haven't noticed any pattern of mentioned problem occurance.
By pattern i mean special characters, urls on post body etc.
Title: Re: [SSL] Editing old post redirects to new post form
Post by: -Rock Lee- on February 25, 2018, 08:54:07 AM
If it is already published, the only thing that can be done is to force everything towards https, but rather to modify the url by topic. Another way is to edit from the database to pass everything to the url you want ...


Regards!

Add: Sometimes it takes a bit of time to apply to everything, it has happened to me with my domain. Then everything works correctly, I enter without any problem.

Add2: https://kryptowaluty.org.pl/aktualnosci-ze-swiata-kryptowalut/ It's strange, look at the routes "Table 'becometa_forum.smf_settings' doesn't exist" it may be have a connection delay ???
Title: Re: [SSL] Editing old post redirects to new post form
Post by: becometa on February 25, 2018, 09:09:08 AM
Quote from: Rock Lee on February 25, 2018, 08:54:07 AM
If it is already published, the only thing that can be done is to force everything towards https, but rather to modify the url by topic. Another way is to edit from the database to pass everything to the url you want ...


Regards!

Add: Sometimes it takes a bit of time to apply to everything, it has happened to me with my domain. Then everything works correctly, I enter without any problem.

Add2: https://kryptowaluty.org.pl/aktualnosci-ze-swiata-kryptowalut/ It's strange, look at the routes "Table 'becometa_forum.smf_settings' doesn't exist" it may be have a connection delay ???

after noticing your post i've exported whole DB and changed all http:// to https:// respectively and then re-imported it. Now it works like charm!

Thanks!
Title: Re: [SSL] Editing old post redirects to new post form
Post by: -Rock Lee- on February 25, 2018, 10:13:55 AM
Quote from: becometa on February 25, 2018, 09:09:08 AM
after noticing your post i've exported whole DB and changed all http:// to https:// respectively and then re-imported it. Now it works like charm!

Thanks!

I'm very happy for anything, open another topic and I'll gladly help!


Regards!