Repair settings.php/it From Online Manual

< Repair settings.php
Revision as of 05:15, 18 July 2014 by Flavio93Zena (talk | contribs) (Created page with "==== Impostazioni critiche ==== * '''Modalità di manutenzione''' - Attiva e disattiva la modalità di manutenzione sul vostro forum, e rende il vostro forum completamente in...")
Jump to: navigation, search
Languages English  · español · italiano

Lo strumento repair_settings.php viene utilizzato per riparare alcune delle impostazioni più importanti sul vostro forum. Basta scaricare questo file e caricarlo sul vostro forum, mettendolo nella stessa directory del file Settings.php.

L'utilizzo di questo strumento non dovrebbe causare alcun problema ma è sempre meglio fare un backup giusto in caso...

Caricate il file tramite FTP nella cartella principale dove potete trovare Settings.php. Navigate con il browser al solito URL del forum, ma invece di "/index.php", indirizzate il browser a "/repair_settings.php". Ad esempio, se il vostro forum è nella root del vostro sito, e il sito è a www.example.com dovete andare a: http://www.example.com/repair_settings.php. Se si trova in una sotto-directory chiamata, ad esempio "forum", è necessario andare a: http://www.example.com/forum/repair_settings.php

Caricate il file nella directory principale del vostro forum tramite FTP e poi accedete alla pagina nel browser. Si prega di notare che questo strumento visualizzerà le informazioni sensibili circa la configurazione del server, vale a dire l'utente del database e la password. Assicurarsi di caricarlo, usarlo, e rimuoverlo immediatamente una volta terminata la manutenzione!

Repair_settings.php consente di modificare le impostazioni più importanti, come le informazioni del database, i percorsi dei file e URL, e può essere utilizzato quando SMF non funziona. È usato per riparare sufficientemente l'installazione di SMF per consentire ad un amministratore di accedere e correggere eventuali altri problemi.

Download

I moduli repair_settings.php possono essere scaricati dalla pagina di download di SMF: Download> Strumenti> repair_settings.php

Impostazioni che lo strumento è in grado di riparare

Per ulteriori informazioni su ciascuna di queste impostazioni, vedere server settings.

Impostazioni critiche

  • Modalità di manutenzione - Attiva e disattiva la modalità di manutenzione sul vostro forum, e rende il vostro forum completamente inutilizzabile.
  • Lingua File - Cambia la lingua del forum.
  • Cookie Nome - Cambia il nome del cookie che il vostro forum crea per i browser degli utenti.
  • Queryless URL - Attiva e disattiva l'uso di query nella URL del forum ("index.php/topic,1.0.html" vs. "index.php?topic=1.0").
  • Compressione in uscita - Attiva e disattiva la compressione in uscita.
  • Sessioni guidate dal database - Imposta se le sessioni sono gestite dal database.

Database Settings

  • Includes all of the typical settings that are needed to connect to the database - Database server address, database name, database username, database password, and database table prefix.
  • Database connection type - Can be set to Persistent or Standard.

Paths & URLs

  • Allows you to set the paths for - Forum URL, Forum Directory, Sources Directory, Attachment Directory, Avatar URL, Avatar Directory, Smileys URL, Smileys Directory, Default Theme URL, Default Theme Images URL, and Default Theme Directory and Custom Theme Directories.

Repair_settings.php will allow you to keep your custom theme as default and not reset to the default theme, unless you select the option toward the top of the page.

Recommended values

In most cases, SMF can detect the correct value for each of the fields and settings. Underneath many of the settings is a link with with the recommended value. Clicking these links will update the corresponding text box fields with this value. Be careful though, because SMF will not always guess correctly if the server is configured unusually.

Restore all settings

At the bottom of the file is an option to restore all settings. This will change all values to their default.

Remove all hooks

If mods have installed hooks and a clean install is desired, clicking "Remove all hooks" will ensure that all mods have all elements removed/disabled. Do not use this button unless you know what you are doing.



Advertisement: