News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

2.0.15 to 2.1 beta3 - Fatal error upon upgrade

Started by bfeist, January 15, 2018, 05:32:16 PM

Previous topic - Next topic

bfeist

Hi all,
I've attempted a test upgrade of a forum currently at 2.0.15 that has been upgraded over the years from many previous versions.

After running a successful upgrade process, I get a fatal error (attached). I've tried PHP version 5.5, 5.6, 7.0 and 7.1. All produce the same or a variant of the same error.

Line 69 of Error.php is the line below this comment:

// Don't log the session hash in the url twice, it's a waste.
$query_string = $smcFunc['htmlspecialchars']((SMF == 'SSI' || SMF == 'BACKGROUND' ? '' : '?') . preg_replace(array('~;sesc=[^&;]+~', '~' . session_name() . '=' . session_id() . '[&;]~'), array(';sesc', ''), $query_string));


Any guidance is greatly appreciated

Illori

we would recommend you use the version from github as it has many more fixes then what is on our site.

Advertisement: