News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

update error in sources/admin.php

Started by lord alibaski, November 23, 2017, 05:01:57 PM

Previous topic - Next topic

lord alibaski

Tried to update I get this error



I add the replacement txt and it still gives me the same error.

If I download the full smf_2-0-15_install and extract the admin.php and upload it I get this error



I've got a few mods installed so I might disable those and see if anything changes.


Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Sir Osis of Liver

If you try to install the 2.0.15 patch into 2.0.15 files, package manager will report errors because the target code has already been changed.  The patch must be applied to 2.0.14 code.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

lord alibaski

It was as you can see on the 2nd image the 2.0.14 patch is installed before trying to update.

I tried to edit it manually the edited file does say 2.0.14 but every time I try to update the patch it keeps telling me its this

Code: (Find) [Select]
* @version 2.0.12
Code: (Replace) [Select]
* @version 2.0.15

Sir Osis of Liver

That's not important, it just updates the version at top of file, you can do that manually.  2.0.15 patch is looking for '* @version 2.0.12' because that's what's in Admin.php in 2.0 14.  The file version is updated only if the code is changed, that file evidently was not updated since 2.0.12.  If you manually change the version to .14 then install the .15 patch, package manager will throw an error.

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

lord alibaski

Just installed it, it seems just fine had to check 1st before installing thank you both for your help.

Advertisement: