Upgrading Simple Invoices from one version to another

Upgrading Simple Invoices from one version to another is very simple, just follow the below steps

  1. Take a backup of your current database.
    1. You can do this via Simple Invoices, just go to the 'Settings' menu and select 'Backup Database'
  2. Download the updated version of Simple Invoices from our website
  3. Make a copy of your config/config.ini file which is located in the config folder
  4. Unzip the contents of the Simple Invoices file which you downloaded into your simpleinvoices directory
  5. Open up the config/config.ini file that's in the config directory and enter your database details
  6. Open up Simple Invoices in your browser (usually http://localhost/simpleinvoices)
    1. If there are sql patches to be applied to the database
      1. Simple Invoices will now display the 'Upgrade Manager' and list all the sql patches that will be automatically applied
      2. Just click 'Upgrade' and Simple Invoices will upgrade your database
    2. If there are no sql patches to be applied Simple Invoices will 'just work' as normal, no 'Upgrade' options will be presented
  7. You're done, use Simple Invoices as normal!

Note: If upgrading from 2006xxxx version refer to this page upgrading from a very old release



Links: Frequently Asked Questions | Help

Discussion

Luis Vargas, 2009/10/17 21:25

Hello, this is a wonderful software. Situation: I want to upgrade Simple Invoices and I need keep an installed customized application (PEAR's Numbers_Words, to “spell” the total amount of an invoice) with the new version. Question: With these procedure I'll keep this application? I wont lose anything about it.

Thanks in advance for the answer.

Best regards from Mexico.

Luis

justin, 2009/10/19 02:42

hey luis,

whatever changes you made to your existing Simple Invoices you will have to make to the new version

just install the new version in a separate folder and re-apply the changes

let us know who you go

cheers

justin

Scott Cook, 2010/02/20 20:26

Switching from a config.php file to a config.ini file seems to be a huge security risk. Now if someone knows I am running Simple Invoices they can just download my ini file & do whatever they want. I may be sticking with 20080629 until this is changed back.

justin, 2010/03/02 01:18

hey scott

simple invoices includes a .htaccess file which restricts access to .ini files - you just need allow_override enabled in apache and all is well

ie. http://simpleinvoices.org/demo/config/config.ini

cheers

justin

Augusto Campos, 2010/08/13 19:19

After upgrade I get the error whe try on settings to update the DB Fatal error: Call to undefined function getricolivegrid() in ./simpleinvoices/modules/options/manage_sqlpatches.php on line 9

  • Bookmark "wiki:upgrade" at del.icio.us
  • Bookmark "wiki:upgrade" at Digg
  • Bookmark "wiki:upgrade" at Reddit
  • Bookmark "wiki:upgrade" at StumbleUpon
  • Bookmark "wiki:upgrade" at Facebook
  • Bookmark "wiki:upgrade" at Twitter
 
 | wiki/upgrade.txt · Last modified: 2011/12/22 12:09 (external edit)