Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: babyfiats - joulukuu 29, 2019, 06:11:57 IP

Otsikko: Test Failed messages when upgrading from 2.0.15 to 2.016
Kirjoitti: babyfiats - joulukuu 29, 2019, 06:11:57 IP
I am getting two Test Failed message when trying to upgrade from 2.0.15 to 2.0.16.
The failures are with the ./Sources/QueryString.php
(https://i.postimg.cc/6qyxZt0n/tf1.jpg)
This line is editable.

The problem is with the other test failure:
(https://i.postimg.cc/MKQhJsr6/tf2.jpg)

When editing the file I cannot locate the line:
$buffer = preg_replace_callback('~"' . preg_quote($scripturl, '/') . '\?((?:board|topic)=[^#"]+?)(#[^"]*?)?"~', 'pathinfo_insert__preg_callback', $buffer);
}

and I get a "Can't find the text" error with my text editor.
Otsikko: Re: Test Failed messages when upgrading from 2.0.15 to 2.016
Kirjoitti: vbgamer45 - joulukuu 29, 2019, 06:30:37 IP
You probably have a modified QueryString.php file

That second edit isn't required if you have a new/updated theme. It fixes a loginbox issue on some older themes.
Otsikko: Re: Test Failed messages when upgrading from 2.0.15 to 2.016
Kirjoitti: babyfiats - joulukuu 29, 2019, 07:20:10 IP
Thanks. I just edited the first test failure, and the upgrade installed with no problems.