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...
Compare your file with vanilla 2.0.15 version at these lines with any tool like Winmerge or similar. Something similar (https://www.simplemachines.org/community/index.php?topic=571188.msg4042693#msg4042693) happened to me.
i've searched a bit and still i havent figured out what a vanilla version 2.0.15 is :-[
vanilla=that version without mods installed.
https://download.simplemachines.org/index.php?archive;b=4;v=99
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.
https://www.urbandictionary.com/define.php?term=vanilla
https://en.m.wiktionary.org/wiki/vanilla#Adjective
:laugh: