Sorting uninstall problems

Started by LandyVlad, Sep 08, 2021, 11:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LandyVlad

Trying to unsinstall a mod and get a message where one stage of it isn't working.

eg

QuoteType   Action   Description
1.   Execute Code   installer/uninstall.php   
2.   Delete Tree   ./Sources/LikePosts   
3.   Delete Tree   ./Themes/default/images/LikePosts   
4.   Delete Tree   ./Themes/default/scripts/LikePosts   
5.   Delete Tree   ./Themes/default/images/LikePosts   
6.   Delete File   ./Themes/default/LikePosts.template.php   
7.   Delete File   ./Themes/default/LikePostsAdmin.template.php   
8.   Delete File   ./Themes/default/LikePostsStats.template.php   
9.   Delete File   ./Themes/default/css/likeposts.css   
10.   Delete File   ./Themes/default/languages/LikePosts.english.php   
11.   Delete File   ./Themes/default/languages/LikePosts.russian-utf8.php   
*   12.   Execute Modification   ./Themes/default/Display.template.php   Test failed
   1.   Replace   ./Themes/default/Display.template.php   Test failed
   2.   Replace   ./Themes/default/Display.template.php   Test successful
*   13.   Execute Modification   ./Themes/default/MessageIndex.template.php   Test successful
*   14.   Execute Modification   ./Themes/default/index.template.php   Test successful
*   15.   Execute Modification   ./Sources/Display.php   Test successful
*   16.   Execute Modification   ./Sources/MessageIndex.php   Test successful
*   17.   Execute Modification   ./Sources/Load.php   Test successful

If I tell it to 'uninstall now' anyway, will change all the other files for me and then I would just modify Display.template.php manually?
I reject your reality, and substitute my own.

lurkalot

Basically yes, you uninstall and make the necessary changes manually. Then hope and prey.

What's probably happened here is another mod has already changed that part of the file which is why the like posts mod can't find it.  So as you have the "Sortable Packages (and Installed Time)" mod installed you could uninstall the mods in reverse order to when they were installed, until you don't see a test failed on the likes mod. 

There does come a time though when it's just easier to install a fresh set of files and reinstall your mods..

LandyVlad

Quote from: lurkalot on Sep 09, 2021, 02:26 AMas you have the "Sortable Packages (and Installed Time)" mod installed you could uninstall the mods in reverse order to when they were installed, until you don't see a test failed on the likes mod. 
Tried exactly that and was still getting the issue which I thought was a bit odd.

QuoteThere does come a time though when it's just easier to install a fresh set of files and reinstall your mods..

yeah I think now is that time.

Before I do so - to confirm - if I upload a fresh set of files (large upgrade to SMF 2.0.18) it will NOT get rid of the settings etc of my mods will it? That is, when I reinstall the mods things will appear as they did before (e.g. thread prefixes, likes etc etc etc). Correct?
I reject your reality, and substitute my own.

lurkalot

It's possible that a mod didn't clean up properly after install and left some code behind. which might explain that issue.

Regarding uploading a fresh set of files from the large upgrade, that should go without issues and data should all be intact.. So after reinstalling mods they should pick up exactly as they were.