All,
Just got these errors form searching, see attachment.
I upgraded from 2.1 RC1 to 2.1 RC2 today and this is the first time the error has shown, didn't see it in 2.1 RC1.
This is only my test site.
SMF Development Team has a solution for this.
Please check: https://www.simplemachines.org/community/index.php?topic=566687.msg4014020#msg4014020
d3vcho
Yep it was reported yesterday on GitHub. https://github.com/SimpleMachines/SMF2.1/issues/5558
Thank you
This will be fixed in RC3. In the meantime, you can fix it yourself with one simple file edit.
In Sources/Class-SearchAPI.php, perform the following find & replace action. On an unmodified installation of 2.1 RC2, the relevant line of code can be found on line 148.
public $version_compatible = 'SMF 2.1 RC1';
public $version_compatible = 'SMF 2.1 RC2';
To make this change, just download the file with your FTP client, edit it with a text editor, and then upload the edited copy.
EDIT: The attached modification package will make the change for you. Just download it and then install it using SMF 2.1's package manager like any other mod.
Thanks again
Quote from: Sesquipedalian on April 01, 2019, 02:31:54 PM
This will be fixed in RC3. In the meantime, you can fix it yourself with one simple file edit.
In Sources/Class-SearchAPI.php, perform the following find & replace action. On an unmodified installation of 2.1 RC2, the relevant line of code can be found on line 148.
public $version_compatible = 'SMF 2.1 RC1';
public $version_compatible = 'SMF 2.1 RC2;
To make this change, just download the file with your FTP client, edit it with a text editor, and then upload the edited copy.
EDIT: The attached modification package will make the change for you. Just download it and then install it using SMF 2.1's package manager like any other mod.
Yep that fixed that OK, thank you
sesquipedalian - there is a minor type in the code replace line: a ' is missing before the ;
:)
Quote from: landyvlad on April 07, 2019, 06:54:19 AM
sesquipedalian - there is a minor type in the code replace line: a ' is missing before the ;
:)
Edited. Thanks for the spot :P
Thanks for the update, that fixed the issue on my forum. :)
Quote from: d3vcho(); on April 07, 2019, 06:55:06 AM
Quote from: landyvlad on April 07, 2019, 06:54:19 AM
sesquipedalian - there is a minor type in the code replace line: a ' is missing before the ;
:)
Edited. Thanks for the spot :P
Just a bit vague for a beginner like me....like this?
public $version_compatible = 'SMF 2.1 RC1' a';
On both?
Thank
.
In Sources/Class-SearchAPI you gotta find:
public $version_compatible = 'SMF 2.1 RC1';
And replace it by:
public $version_compatible = 'SMF 2.1 RC2';
That's all.
Quote from: Sesquipedalian on April 01, 2019, 02:31:54 PM
This will be fixed in RC3. In the meantime, you can fix it yourself with one simple file edit.
In Sources/Class-SearchAPI.php, perform the following find & replace action. On an unmodified installation of 2.1 RC2, the relevant line of code can be found on line 148.
public $version_compatible = 'SMF 2.1 RC1';
public $version_compatible = 'SMF 2.1 RC2';
To make this change, just download the file with your FTP client, edit it with a text editor, and then upload the edited copy.
EDIT: The attached modification package will make the change for you. Just download it and then install it using SMF 2.1's package manager like any other mod.
Thank you!
Just for reference I had to implement same fix. Upgraded my site from 2.0.15 to 2.1 RC 2
Quote from: Sesquipedalian on April 01, 2019, 02:31:54 PM
This will be fixed in RC3. In the meantime, you can fix it yourself with one simple file edit.
In Sources/Class-SearchAPI.php, perform the following find & replace action. On an unmodified installation of 2.1 RC2, the relevant line of code can be found on line 148.
public $version_compatible = 'SMF 2.1 RC1';
public $version_compatible = 'SMF 2.1 RC2';
To make this change, just download the file with your FTP client, edit it with a text editor, and then upload the edited copy.
EDIT: The attached modification package will make the change for you. Just download it and then install it using SMF 2.1's package manager like any other mod.
thank u so much ur download link fixed my search issue