Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: Yippee-ki-yay on January 19, 2018, 04:40:07 AM

Title: Problems with sign "plus" on preview
Post by: Yippee-ki-yay on January 19, 2018, 04:40:07 AM
Good day for all! I have installed SMF 2.1.3b and got a problem with displaying sign "+" on preview the post. All signs "+" are disappeared on preview.

I can't attach screenshot with this problem but it's very simple: for example, I typed string like this: "s+s+s+d=3s+d" and pressed the button "Preview". And on the preview this string will became "sssd=3sd". Is it possible to fix this issue? I tested SMF without any mods.
Title: Re: Problems with sign "plus" on preview
Post by: Illori on January 19, 2018, 05:07:48 AM
can you test on the version on github? it is possible this has been fixed since beta 3 has been released.
Title: Re: Problems with sign "plus" on preview
Post by: Yippee-ki-yay on January 19, 2018, 05:23:23 AM
I will try to do this, but I have never used github before :) I think, that I have to download files from this link: https://github.com/SimpleMachines/SMF2.1 and than install. Am I right?
Title: Re: Problems with sign "plus" on preview
Post by: Gwenwyfar on January 19, 2018, 05:45:13 AM
Yes. Just follow the instructions here (https://www.simplemachines.org/community/index.php?topic=530252.msg3816577#msg38).
Title: Re: Problems with sign "plus" on preview
Post by: Yippee-ki-yay on January 19, 2018, 06:16:56 AM
Thanks, I did it. The problem is absent :) But there are some questions.


The structure of database remains unchanged or not?
Title: Re: Problems with sign "plus" on preview
Post by: Gwenwyfar on January 19, 2018, 07:00:45 AM
1. Some of these extra files are for Github. The two you mentioned can be deleted.
2. Probably.
3. I'm not sure what do you mean by that. The databases of 2.0 and 2.1 are different. You will have to run upgrade.php if you are upgrading from 2.0. Note that you can't undo this, so have database and file backups before even attempting it.
Title: Re: Problems with sign "plus" on preview
Post by: Arantor on January 19, 2018, 07:09:22 AM
1. That really depends on which other files.
2. You can delete it because you haven't checked it out as a submodule and therefore it won't have any contents. You shouldn't need its contents anyway unless you're doing actual dev work and running the tests it includes.
3. No, you cannot just replace Sources, you need to replace all the files.

You should also copy upgrade.php plus the upgrade SQL files from the other/ folder to the root and rerun the upgrader in case there are other database changes.
Title: Re: Problems with sign "plus" on preview
Post by: Yippee-ki-yay on January 19, 2018, 08:42:56 AM
Quote from: Gwenwyfar on January 19, 2018, 07:00:45 AM

3. I'm not sure what do you mean by that. The databases of 2.0 and 2.1 are different. You will have to run upgrade.php if you are upgrading from 2.0. Note that you can't undo this, so have database and file backups before even attempting it.

I downloaded SMF 2.1 Beta 3 from this link: https://download.simplemachines.org/ and installed it on my live server.

But as I mentioned above there is a bug with displaying the symbol "+" on preview. So I downloaded latest version from github and tested it on local server on my computer. Now I want to upgrade files in the live server, but I don't know: are there any differences between database structure in SMF 2.1 Beta 3 from official site and the latest version of SMF from Github?
Title: Re: Problems with sign "plus" on preview
Post by: Arantor on January 19, 2018, 08:49:08 AM
Honestly, this is why we don't encourage running betas in real sites unless you know how to deal with such things...

And yes, there are changes since last June.
Title: Re: Problems with sign "plus" on preview
Post by: Yippee-ki-yay on January 19, 2018, 10:23:02 AM
Many thanks to all :) Upgrade was done successfully. Bug is disappeared.