Important Notes!

  • You can easily upload all the files to your installation folder on the server overwriting the existing files. From 2.2 RC, your existing configuration files, - config_db.php, config.php, /lang/installed_languages.inc and installed_extensions.php - will no longer be installed. They are created the first time you install FrontAccounting and don't need further updates.
    • Backup. if you have made changes to other files, like themes or so, backup these files. Also, it's a good idea to do a backup of your database (Setup->Backup and Restore->Create Backup) so that if anything goes wrong and your database gets trashed you can get back to where you were.
    • Upload all the new files.
    • Look into the file, config.default.php and compare with your own config.php file. You should update the the following in your config.php (if you are updating to v2.3.13 then the $version variable is already in the file version.php):
      • Change the $version in your config.php file (or remove the entry for v2.3.13 onwards), about line 59, from "2.X.X" to "2.2.10" (or whatever the freshly uploaded version is.)
      • Change in line 69 to:
        $power_url = "http://frontaccounting.com";
      • Change in line 121 to:
        // $help_base_url = 'http://frontaccounting.com/fawiki/index.php?n=Help.';
      • Paste these 2 lines into line 83:
        /* default print destination. 0 = PDF/Printer, 1 = Excel */
        $def_print_destination = 0;
      • If this is an update from 2.2.6, 2.2.7, 2.2.8, 2.2.9 to 2.2.10 you are done and should ignore the rest in this indent level.
      • Copy the 2 lines from config.default.php file, about line 122: \\

$table_style = "class='tablestyle'";
$table_style2 = "class='tablestyle2'";

  • into config.php about line 122 and replace these 4 lines:

    if (!isset($_SESSION['bordercolor']))
    $_SESSION['bordercolor'] = "#8cacbb";
    $table_style = "cellpadding=3 border=1 bordercolor='".$_SESSION['bordercolor']."' class='tablestyle'";
    $table_style2 = "cellpadding=3 border=1 bordercolor='#cccccc' class='tablestyle2'";
  • If this is an update from 2.2.3, 2.2.4 , 2.2.5 to 2.2.10 you are done and should ignore the the rest of the items in this note.
  • Copy these 2 lines from config.default.php at the bottom into config.php at the bottom:

    /* allow using of multi level sub-types when digits are of same length in account types */
    $use_new_account_types = 0;
  • Change this to 1 if you want to use new multi level sup-types.
  • If this is an update from "2.2.X" to "2.2.9" you are done and should ignore the the rest of the items in this note.
  • Copy these 2 lines from config.default.php about line 80-82 into config.php about line 80:

    /* Show users online discretely in the footer */
    $show_users_online = 0;
  • Change this to 1 if you want to show users online.
  • Replace the 2 lines about line 110-111 in config.php:

    $table_style = "cellpadding=3 border=1 bordercolor='#8cacbb' style='border-collapse: collapse'";
    $table_style2 = "cellpadding=3 border=1 bordercolor='#cccccc' style='border-collapse: collapse'";
  • With these 4 lines from config.default.php:

    if (!isset($_SESSION['bordercolor']))
        $_SESSION['bordercolor'] = "#8cacbb";
    $table_style = "cellpadding=3 border=1 bordercolor='".$_SESSION['bordercolor']."' class='tablestyle'";
    $table_style2 = "cellpadding=3 border=1 bordercolor='#cccccc' class='tablestyle2'";
  • Remove these 2 lines from config.php about line 176-177:

    /* default start-up tab (orders/AP/stock/manuf/proj/GL/system) */
    $def_app = "orders";
  • Copy these 3 lines from config.default.php about line 113-115.

    // default dateformats and dateseps indexes used before user login
    $dflt_date_fmt = 0;
    $dflt_date_sep = 0;
  • And paste them into config.php
  • Copy these 2 lines from config.default.php about line 211-212:

    define("ICON_SUBMIT", "ok.gif"); // new in 2.2
    define("ICON_ESCAPE", "escape.png"); // new in 2.2
  • And paste them into config.php about line 209
  • If you use Gregorian calendar and have non-workdays on Friday and first day of week = Saturday then you should set this line in config.php about line 95.

    $date_system = 3;
  • If you want to use FrontAccounting help wiki then set this line in config.php about line 85

    $help_base_url = "http://frontaccounting.net/fawiki?n=Help.";
    if you use help wiki don't forget to comment the line "$help_base_url = null;"
  • Rename or remove the /install folder (you have already performed the install process earlier).
  • You must immediately login on company 0, the first company you created, as admin (called the superadmin). If you use a theme other than the standard 3, aqua, cool or default, switch to one of these before going further. You can download a new one of the new themes on the download page later. Go to the Setup tab and run Software Upgrade. Mark the checkbox Install and press Upgrade System. You must also do this if you upgrade from 2.2 Beta to 2.2 RC. This will upgrade ALL your companies.
  • If something goes wrong during upgrade, you can enter here again and try Force Upgrade, and press Upgrade System again.
  • There are no database changes during a major and minor release. Like from 2.2 to 2.2.1 - 2.2.X .

Note Importanti!

  • Per effettuare gli aggornamenti, caricate semplicemente tutti i nuovi file nella vostra cartella d’installazione sul server, sovrascrivendo i file già presenti. A partire dalla versione 2.2 RC, non vengono più installati i file di configurazione, - config_db.php, config.php, /lang/installed_languages.inc e installed_extensions.php –: una volta creati con la prima installazione di FrontAccounting, non necessitano di ulteriori aggiornamenti.
    • Backup. Se avete modificato file accessori, quali temi e simili, fatene un backup per poterli ripristinare in seguito. Inoltre, è una buona norma fare un backup del database (Impostazioni->Backup e Ripristino->Creazione Backup) in modo che, qualora qualcosa andasse storto e il database venisse danneggiato, possiate ritornare alla condizione antecedente.
    • Caricate tutti i nuovi file.
    • Controllate il file config.default.php e confrontatelo col vostro config.php. In quest’ultimo dovreste effettuare i seguenti aggiornamenti:
      • Modificate la variabile $version, alla riga 59 del vostro file config.php, da "2.X.X" a "2.2.10" (oppure quale che sia la versione che avete appena caricata). Se state effettuando l’aggiornamento alla v2.3.13 la variabile $version è già presente nel file version.php: quindi, eliminate la riga con questa variabile nel file file config.php.
      • Alla riga 69 apportate la seguente modifica:
        $power_url = 'http://frontaccounting.com';
      • Alla riga 121 apportate la seguente modifica:
        // $help_base_url = 'http://frontaccounting.com/fawiki/index.php?n=Help.';
      • Incollate queste due righe alla riga 83:
        /* default print destination. 0 = PDF/Printer, 1 = Excel */
        $def_print_destination = 0;
      • Se si tratta di un aggiornamento dalle versioni 2.2.6, 2.2.7, 2.2.8, 2.2.9 alla 2.2.10 avete finito e potete ignorare il resto delle indicazioni riportate a questo medesimo livello di indentazione.
      • Copiate queste 2 righe dalla riga 122 del file config.default.php alla riga 122 di config.php:
        $table_style = "class='tablestyle'";
        $table_style2 = "class='tablestyle2'";
      • in modo che sostituiscano queste 4 righe:
        if (!isset($_SESSION['bordercolor']))
        $_SESSION['bordercolor'] = "#8cacbb";
        $table_style = "cellpadding=3 border=1 bordercolor='".$_SESSION['bordercolor']."' class='tablestyle'";
        $table_style2 = "cellpadding=3 border=1 bordercolor='#cccccc' class='tablestyle2'";
      • Se si tratta di un aggiornamento dalle versione 2.2.3, 2.2.4 , 2.2.5 alla 2.2.10 avete finito e potete ignorare il resto di questa nota.
      • Copiate queste 2 righe alla fine di config.default.php e incollatele alla fine di config.php:
        /* allow using of multi level sub-types when digits are of same length in account types */
        $use_new_account_types = 0;
      • Modificate quest’ultimo valore in 1 se volete usare nuovi sottotipi multilivello.
      • Se si tratta di un aggiornamento dalle versioni "2.2.X" alla "2.2.9" avete finito e potete ignorare il resto di questa nota.
      • Copiate queste 2 righe dalle righe 80-82 di config.default.php alla riga 80 di config.php:
        /* Show users online discretely in the footer */
        $show_users_online = 0;
      • Modificate quest’ultimo valore a 1 se volete che siano mostrati gli utenti online.
      • Sostituite le righe 110-111 di config.php:
        $table_style = "cellpadding=3 border=1 bordercolor='#8cacbb' style='border-collapse: collapse'";
        $table_style2 = "cellpadding=3 border=1 bordercolor='#cccccc' style='border-collapse: collapse'";
      • con queste 4 righe del file config.default.php:
        if (!isset($_SESSION['bordercolor']))
            $_SESSION['bordercolor'] = "#8cacbb";
        $table_style = "cellpadding=3 border=1 bordercolor='".$_SESSION['bordercolor']."' class='tablestyle'";
        $table_style2 = "cellpadding=3 border=1 bordercolor='#cccccc' class='tablestyle2'";
      • Cancellate le righe 176-177 di config.php:
        /* default start-up tab (orders/AP/stock/manuf/proj/GL/system) */
        $def_app = "orders";
      • Copiate le righe 113-115 di config.default.php
        default dateformats and dateseps indexes used before user login
        $dflt_date_fmt = 0;
        $dflt_date_sep = 0;
      • e incollatele in config.php.
      • Copiate le righe 211-212 di config.default.php:
        define("ICON_SUBMIT", "ok.gif"); // new in 2.2
        define("ICON_ESCAPE", "escape.png"); // new in 2.2
      • e incollatele alla riga 209 di config.php.
      • Se utilizzate il calendario Gregoriano, avete il venerdì festivo e il primo giorno della settimana è il sabato, dovete impostare la riga 95 di config.php in questo modo:
        $date_system = 3;
      • Se intendete usare il wiki di supporto di FrontAccounting impostate la riga 85 di config.php in questo modo:
        $help_base_url = "http://frontaccounting.net/fawiki?n=Help.";
      • e non dimenticate di commentare la riga "$help_base_url = null;"
    • Rinominate o cancellate la cartella /install (è inutile dal momento che il processo di installazione è stato già eseguito).
  • Dovrete fare login nell’azienda 0, la prima che avete creato, come utente admin (detto anche superadmin). Se intendete usare un tema differente dai 3 standard, aqua, cool o default, prima di andare avanti attivate uno di questi ultimi: scaricherete quello nuovo dalla pagina di download successivamente. Andate alla scheda Installazione ed eseguite l’opzione Aggiornamento Software. Selezionate la checkbox Installa e cliccate Aggiornamento Sistema. Dovete compiere questo passo anche se state facendo l’aggiornamento da 2.2 Beta a 2.2 RC. In questo modo aggiornerete TUTTE le vostre aziende.
  • Se qualcosa va storto durante l’aggiornamento, dovete accedere di nuovo a questa scheda, selezionare l’opzione Forza Aggiornamento, e cliccare di nuovo Aggiornamento Sistema.
  • Il database non viene modificato, né dalle release principali né da quelle secondarie.