Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: Arebias - maaliskuu 16, 2009, 01:32:37 AP

Otsikko: Restoring Packages listed as installed
Kirjoitti: Arebias - maaliskuu 16, 2009, 01:32:37 AP

I made the mistake and touched the 'Red Button'.  :o

In 'Packages' > 'Installed Packages' I hit the 'Delete Mod List' and expected it to come up with a conformation before it actually deleted the listing of installed packages.

Well it didn't and now I do not have an accurate listing.

Is there a means to restore this either manually or automatically?

And maybe a failsafe for 'Button Pushers' like me in the final release would be a good idea. Hehehehe



Otsikko: Re: Restoring Packages listed as installed
Kirjoitti: onepiece - maaliskuu 16, 2009, 09:38:01 AP
I assume you had all the packages installed. So just run this SQL from phpMyAdmin.

UPDATE smf_log_packages
SET install_state = 1
Otsikko: Re: Restoring Packages listed as installed
Kirjoitti: Arebias - maaliskuu 16, 2009, 12:29:57 IP


Yes I do believe that your suggestion did the trick.

They are all there now.  Thank You very much!   ;)