Error when trying to update from 2.0.14 to 2.0.15

Started by EL34, January 15, 2018, 10:52:35 AM

Previous topic - Next topic

EL34

I noticed that one test failed when trying to update 2.0.14 to 2.0.15

This error is because I have the HttpBL mod installed and so it changed the code that the update is looking for

Here is the code that the update is looking for

if ($context['sub_action'] == 'query' && !empty($_REQUEST['params']) && empty($_POST))
$_POST += safe_unserialize(base64_decode($_REQUEST['params']));





This is what the HttpBL mod changed that code to



if ($context['sub_action'] == 'query' && !empty($_REQUEST['params']) && (empty($_POST)
|| ((isset($_POST['spammers_checks']) || isset($_POST['spammers_report'])) && !empty($_POST['delete']))))
$_POST += safe_unserialize(base64_decode($_REQUEST['params']));






This what the update wants to replace



if ($context['sub_action'] == 'query' && empty($_POST))
{
if (!empty($_REQUEST['params']))
{
$_POST += safe_unserialize(base64_decode($_REQUEST['params']));
}
elseif ($context['browser']['is_ie'] && !empty($_SESSION['params']))
{
$_POST += $_SESSION['params'];
unset($_SESSION['params']);
}
}





Can the code above be modified to include the HttpBL code?
If so, can someone give me the new code?

Forum History -> EZBoard -> YABB -> SMF 1.1.19 -> SMF 2.0.19

Shambles


EL34

No, sorry, you are correct
I have Stop Spammer installed also
Forum History -> EZBoard -> YABB -> SMF 1.1.19 -> SMF 2.0.19

Shambles

You should find your solution in that support thread I linked.

EL34

Forum History -> EZBoard -> YABB -> SMF 1.1.19 -> SMF 2.0.19

Advertisement: