A mod broke my forum: Difference between revisions From Online Manual

Jump to: navigation, search
No edit summary
mNo edit summary
Line 1: Line 1:
Before you install a modification (mod), you should back-up your forum and files. If you forgot to do this, however, and the mod which you installed broke your forum such that you cannot even uninstall it, there may still be a way to fix your forum.
Before you install a modification (mod), you should back-up your forum and files. If you forgot to do this, however, and the mod which you installed broke your forum such that you cannot even uninstall it, there may still be a way to fix your forum.


SMF takes a file backup for you. It does this each time you install something, and restoring the files will take them back to the way they were just '''before''' your most recent install. (Note that if you '''had''' to, you could work through all of the file backups in reverse order to go back further in time, but this is time consuming).
SMF takes a file backup for you. It does this each time you install something, and restoring the files will take them back to the way they were just '''before''' your most recent install.


To restore the backup, you need to follow these steps:
To restore the backup, you need to follow these steps:
Line 7: Line 7:
# Look in your forum's "Packages" directory to find another directory named "backups". Suppose that the last mod which you installed was "PM On Registration", and that you did this on 26 Jan 2012. In the aforementioned "backups" directory, you would find the file '''2012-01-26_before_PM_On_Registration_1-0-2.tar.gz'''
# Look in your forum's "Packages" directory to find another directory named "backups". Suppose that the last mod which you installed was "PM On Registration", and that you did this on 26 Jan 2012. In the aforementioned "backups" directory, you would find the file '''2012-01-26_before_PM_On_Registration_1-0-2.tar.gz'''
# Download that file to a convenient directory on your desktop computer and extract it. To extract a "tar.gz" file, use a program like [http://www.winzip.com winzip].
# Download that file to a convenient directory on your desktop computer and extract it. To extract a "tar.gz" file, use a program like [http://www.winzip.com winzip].
# Upload the files and directories from this file to your forum to overwrite what is there now. (It might take a while).
# Upload the files and directories from this file to your forum to overwrite what is there now.


Once complete, your forum files should be exactly as they were before you installed the mod. This procedure will not make any changes on your forum's database.
Once complete, your forum files should be exactly as they were before you installed the mod. This procedure will not make any changes on your forum's database.


[[Category:FAQ]]
[[Category:FAQ]]

Revision as of 10:20, 2 October 2014

Before you install a modification (mod), you should back-up your forum and files. If you forgot to do this, however, and the mod which you installed broke your forum such that you cannot even uninstall it, there may still be a way to fix your forum.

SMF takes a file backup for you. It does this each time you install something, and restoring the files will take them back to the way they were just before your most recent install.

To restore the backup, you need to follow these steps:

  1. Start FTP or whichever file manager that comes with your hosting service.
  2. Look in your forum's "Packages" directory to find another directory named "backups". Suppose that the last mod which you installed was "PM On Registration", and that you did this on 26 Jan 2012. In the aforementioned "backups" directory, you would find the file 2012-01-26_before_PM_On_Registration_1-0-2.tar.gz
  3. Download that file to a convenient directory on your desktop computer and extract it. To extract a "tar.gz" file, use a program like winzip.
  4. Upload the files and directories from this file to your forum to overwrite what is there now.

Once complete, your forum files should be exactly as they were before you installed the mod. This procedure will not make any changes on your forum's database.



Advertisement: