News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Installed Mods not showing an Uninstall link...

Started by The Saviour, November 02, 2008, 04:35:39 PM

Previous topic - Next topic

The Saviour

All of my installed mods via the Package Manager do not show any "Uninstall" link.

The Installed packages section shows one mod installed while the Browse Packages section shows them all.

However, they do not have an "Uninstall" link...instead they all say "Apply Mod", except for one.

I haven't a clue as to what happened...and if I try to apply the mod again, I get duplicate content on the forum for that particular mod.

Anyone have any suggestions as to what may have caused this...and what I can do about it?

Thanks for your help...in advance.

JimM

#1
Check in your packages directory and see if you find a file called "installed.list".  It sounds like this file is corrupt or bad.  To fix it, make a backup of your existing database and then do this:

Quote- create /Packages/installed.list file and put 1223137846 there- open phpMyAdmin, go into SMF database and run this query:    update smf_log_packages set install_state = 1Note that ALL installed mods will be marked as installed![/]

Not good advice for 1.1.X
Jim "JimM" Moore
Former Support Specialist

The Saviour

#2
I did exactly waht you said and typed 1223137846 at the beginning of the installed.list file.

I then proceeded to phpMyAdmin and ran the query.

The result was this:  "...smf_log_packages does not exist..."

Is this a problem?

Thanks for the help, by the way.

JimM

#3
Replace the "smf" with your database prefix and try it.

I did a search and found this fix here.  I just checked and can't see a log_packages in my database either.

Let me take a look at the packages.list file on my board.
Jim "JimM" Moore
Former Support Specialist

The Saviour

no good...

didn't work...I still get the doesn't exist message

JimM

Replace your Installed.list with the one you had before you modified it as the smf_log_packages seems to be a table in 2.0.

Were you trying to uninstall the mods or just wanting to clean things up?
Jim "JimM" Moore
Former Support Specialist

The Saviour

I'm running 1.1.6...

I did not create a new file...I just added that number to the one already on my server.

The Saviour

#7
What do you mean by "not good advice for 1.1.X"?

I did it twice already...

That's definitely not good advice...

I don't know what happened...

I don't know if I inadvertently deleted them from the Installed Packages page...or if there was some other mishap.

The forum is running fine, yet all of my mod packages on the Browse Packages page of the Admin Panel read "Apply Mod", when they've already been applied and installed.

Now they show "Apply Mod" when they should read "Uninstall"...correct?

JimM

Good then just remove the edit. 

You didn't hurt anything.  You don't have that log table in 1.1.6.

That's why I am asking what you wanted to do.
Jim "JimM" Moore
Former Support Specialist

The Saviour


JimM

#10
Quote from: The Saviour on November 02, 2008, 08:01:26 PM
The forum is running fine, yet all of my mod packages on the Browse Packages page of the Admin Panel read "Apply Mod", when they've already been applied and installed.

Now they show "Apply Mod" when they should read "Uninstall"...correct?

Normally yes.  When you upgrade your forum say from 1.1.4 to 1.1.5 and some of the mods work fine on 1.1.5 but the uninstall link disappears, it's because the packageinfo.xml file has "version=1.1.4" and not 1.1.5, etc.

Unless you are wanting to uninstall the mods, I wouldn't make any changes now if everything is running fine.
Jim "JimM" Moore
Former Support Specialist

The Saviour

#11
I understand...but the word "Uninstall" was there yesterday...and now it isn't...

I did no upgrade.

If they were deleted from the Installed Packages page in the Admin panel...I won't be able to uninstall them, correct?

JimM

That is correct.  If that's the case you can try adding the package back and see if it comes back.  Were they all still in the installed.list file?
Jim "JimM" Moore
Former Support Specialist

The Saviour

What if I edit the installed.list file and add all of the package info that way that way?

Will that work?

JimM

#14
You can try that.  I read one post on here where someone reconstructed it.  I looked at mine and I'm not sure of the structure.

A search gained this as the format:

Mod name|^|Package filename|^|CreatorID:ModName|^|version

Link to the topic

http://www.simplemachines.org/community/index.php?topic=258954
Jim "JimM" Moore
Former Support Specialist

The Saviour

I just tried it...and it works...

Funny what one can do when they put their mind to it.

Thanks for the help anyway, but I figured it out.

JimM

Sometimes it helps to talk about it.  Go ahead and mark the first topic solved.  Have a great evening.
Jim "JimM" Moore
Former Support Specialist

The Saviour


amlucent

I am having the exact same issue with my SMF 2.0b4 forum, I am attempting to edit my installed.list but it only contains one entry.. thats a number, 1226791366.  Can you explain in a bit more detail how you solved this?

JimM

@amlucent - This topic is marked as solved so you may not get much support here.  Take a look at this topic:

http://www.simplemachines.org/community/index.php?topic=266007.msg1736148#msg1736148

If you still need help after looking at that topic, please start a new topic so folks will know you still need some help.
Jim "JimM" Moore
Former Support Specialist

Advertisement: