From: Joe Hunt Date: Wed, 30 Sep 2009 10:35:22 +0000 (+0000) Subject: Updated update.html X-Git-Tag: v2.4.2~19^2~1188 X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=commitdiff_plain;h=6bdb8986a143a35e8f8a1c318bd14fab839000b2 Updated update.html --- diff --git a/includes/prefs/userprefs.inc b/includes/prefs/userprefs.inc index 76f82696..c33220cf 100644 --- a/includes/prefs/userprefs.inc +++ b/includes/prefs/userprefs.inc @@ -70,8 +70,16 @@ class user_prefs $this->rep_popup = $user["rep_popup"]; $this->query_size = $user["query_size"]; $this->graphic_links = $user["graphic_links"]; - $this->sticky_date = $user["sticky_doc_date"]; - $this->startup_tab = $user['startup_tab']; + if (isset($user["sticky_doc_date"])) + { + $this->sticky_date = $user["sticky_doc_date"]; + $this->startup_tab = $user['startup_tab']; + } + else + { + $this->sticky_date = 0; + $this->startup_tab = "orders"; + } } } diff --git a/sql/alter2.2.php b/sql/alter2.2.php index 386e9623..091e8860 100644 --- a/sql/alter2.2.php +++ b/sql/alter2.2.php @@ -28,7 +28,7 @@ class fa2_2 { { global $db, $systypes_array; - if (!$preconf) + if (!$this->preconf) return false; // set item category dflt accounts to values from company GL setup diff --git a/update.html b/update.html index aee0b22b..eb240de2 100644 --- a/update.html +++ b/update.html @@ -45,7 +45,10 @@ the new file. process earlier).
  • When -updating release 2.1.X to release 2.2.X, you must immediately +updating release 2.1.X to release 2.2.X, you should first restore +your $security_headers and $security_groups from your old config.php +file, alternative unmark them in the new config.php. There is a new +access_level system in 2.2.
  • Then 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 @@ -53,7 +56,7 @@ can download a new one of the new themes on the download page.  Go to the 'Setup' tab and run 'Software Upgrade'. Mark the checkbox 'Install' and press 'Upgrade System'.  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 .
  • Enter +upgrade ALL your companies.
  • If something goes wrong during upgrade, you can enter here again and try 'Force Upgrade', and press 'Upgrade System' again.
  • Now you should comment your old $securityheaders and $security_groups.
  • There are no database changes during a major and minor release. Like from 2.2 to 2.2.1 - 2.2.X .
  • Enter 'Setup' tab, 'System and Generel GL Setup'.  Set the correct Accounts for Retained Earnings, Profit/Loss Year and Bank Charge.
  • Enter 'Setup' tab, 'Access Setup'. Check all the roles and change as you