Cuando la Base de Datos está bien, pero algunos archivos SMF están dañados, puede ser una buena idea reinstalar la versión actual de SMF. Esto es lo que se llama una "instalación SMF limpia". Esto podría ser necesario si:
- Un mod falla al instalar o desinstalar completamente, dejando el foro inviable
- Un Parche/Actualización de SMF falla debido a los cambios que han hecho los mods.
Las instrucciones para restaurar una versión actual de SMF, sin realizar ningún cambio en la base de datos, se enumeran a continuación. Una vez que se haya instalado un nuevo conjunto de archivos, será posible volver a instalar mods o actualizar a una versión más nueva de SMF. Si sigue estas instrucciones, se eliminarán todas las ediciones realizadas por mods y otros cambios en los temas proporcionados por SMF, y se borrarán todas las personalizaciones hechas a mano de todos los archivos. Seguir estos pasos no eliminará ningún archivo o directorio "adicional" que haya agregado a mano o mediante instalaciones de mods o temas. Para otras opciones, busque ayuda en el Foro de soporte 1.1.x o 2.0.x según la versión que tenga instalada.
- Copia de Seguridad de todo
- Back-up your database, ensuring that you have backed up all your data.
- Back-up your custom themes and graphics. Make careful notes about any hand-made customizations you have made to files.
- Optional step: Warning: do not undertake this step unless you know what you are doing! Before you upload the fresh set of files, you can also remove Sources and Themes folders. Doing this ensures there are no files left behind and that your setup is completely clean.
- Download the large upgrade archive file for the exact version of SMF that you are using from the download site. Be sure to select your current version of SMF from the drop-down list next to "Select Version". (Please note: You should NOT be downloading/using the full install archive file.)
- Extract the archive to the forum's directory, making sure that you delete upgrade.php and all the upgrade-x.x.sql files, and overwrite index.php, the sources folder, and the themes folder. You can either use FTP or cPanel's File Manager. On your forum, if you have replaced the standard smiley files with your own and/or replaced the standard avatar files, you might want to refrain from uploading both the smileys and the avatars directory. Important Note: If you carried out the optional step, you should also upload the sources from the large upgrade archive before you reinstall any custom themes.
Once completed, your forum will be in a virgin state, software-wise, but all of your members and posts will be intact. Your mods, while no longer installed, will still be in the Package Manager. From there, you can either apply/install them, or delete them, as you desire. Any of your mod's settings that are stored in the database will be retained and still be usable when the mod is reinstalled.
If you are using SMF 2.0 and had mods installed you may want to use Fix_Packages.php to remove the hooks that the mods installed. This is a good idea if you see some mods are still installed when browsing the admin panel after uploading clean files.
Remember: for the best-performing and most secure forum, you should plan to patch or upgrade to the most recent version of SMF as soon as possible.