News:

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

Main Menu

Update Error from 2.0.15 to 2.0.16 on Subs.php

Started by proo, January 14, 2020, 05:59:31 AM

Previous topic - Next topic

proo

Hi everyone,

i was getting 2 errors when trying to update from 15 to 16. The one was the Profile-Modify.php common issue and i fixed that with the solution found on other topics.

Now i'm left with this in the Subs.php:


if (strpos($_SERVER['REQUEST_URL'], 'action=dlattach') === false && strpos($_SERVER['REQUEST_URL'], 'action=viewsmfile') === false)

// !!! $remember_old_url is set in writeLog().
if (!empty($remember_old_url))


Any thoughts on this one? I'm not really familiar with codes...

jim3cantos

Compare your file with vanilla 2.0.15 version at these lines with any tool like Winmerge or similar. Something similar happened to me.

proo

i've searched a bit and still i havent figured out what a vanilla version 2.0.15 is  :-[

Illori


proo

Many thanks to both of you.

I removed this part

'action=dlattach') === false && strpos($_SERVER['REQUEST_URL'],

and installed both upgrades fine after that.

Now i;m experiencing other issues but i will adress them elsewhere if needed.

Marked as solved.

m4z

"Faith is what you have in things that don't exist."
--Homer Simpson

Es gibt hier im Forum ein deutsches Support-Board!


Advertisement: