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;"
- into config.php about line 122 and replace these 4 lines:
- 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 .