Advertisement:

Author Topic: Fix Packages Php  (Read 222 times)

Offline NeedIt

  • Jr. Member
  • **
  • Posts: 307
Fix Packages Php
« on: September 13, 2017, 01:26:38 PM »
I've got a test forum that I build (on a Windows server) and am trying to figure out how to use Fix_Packages.php as I need to implement the Fresh Files Update approach on my live forum as soon as possible.  So what I did was upload Fix_Packages.php into the root directory of my test forum.

Then I was going to do the following:

www.domainname.com/testforum/Fix_Packages.php

and hit enter.  Is that really what I am supposed to do?  Never seen anything like this, so that is why I am asking and that is my interpretation of what I am supposed to do.

I have the Ad Management mod installed, so, after I run this, it should be uninstalled, right?


Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 47,885
Re: Fix Packages Php
« Reply #1 on: September 13, 2017, 01:33:48 PM »
yes that is how you run it. the mod should be uninstalled if you did upload clean files and remove hooks.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 6,932
  • Too long in the wasteland
Re: Fix Packages Php
« Reply #2 on: September 13, 2017, 01:34:21 PM »
It doesn't uninstall mods, it marks them uninstalled and has option to remove hooks.  If you upload a clean set of files, all mods are removed, but will show as installed in package manager.  fix_packages.php will set them to uninstalled.

ninja'd (again)  :P

Offline NeedIt

  • Jr. Member
  • **
  • Posts: 307
Re: Fix Packages Php
« Reply #3 on: September 13, 2017, 01:57:07 PM »
It doesn't uninstall mods, it marks them uninstalled and has option to remove hooks.  If you upload a clean set of files, all mods are removed, but will show as installed in package manager.  fix_packages.php will set them to uninstalled.

ninja'd (again)  :P

Thx.  I see exactly what you are saying now and, for kicks and grins, showed one patch as uninstalled.  Worked like a charm.