Advertisement:

Author Topic: 2.0.15 to 2.1 beta3 - Fatal error upon upgrade  (Read 528 times)

Offline bfeist

  • Semi-Newbie
  • *
  • Posts: 30
  • Gender: Male
  • Admin of temac.ca/smf
    • http://www.linkedin.com/in/feist on LinkedIn
    • @benfeist on Twitter
    • Articles and Interests
2.0.15 to 2.1 beta3 - Fatal error upon upgrade
« on: January 15, 2018, 05:32:16 PM »
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:
Code: [Select]
// 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

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 49,115
Re: 2.0.15 to 2.1 beta3 - Fatal error upon upgrade
« Reply #1 on: January 15, 2018, 05:37:45 PM »
we would recommend you use the version from github as it has many more fixes then what is on our site.