MENU

M-BIT - Izrada web stranica | Održavanje računalnih sustava

Portal Home > Knowledgebase > M-BIT WHMCS development > Cached invoices addon module for WHMCS > Upgrading the Cached invoices module to a newer version

Upgrading the Cached invoices module to a newer version

7574 100% 0% 306 Votes M-BIT WHMCS development Public article

Upgrading to a newer version is quite simple

All you need to do is:

  1. Download the latest Cached invoices module zip file from the client area
  2. Extract the modules folder into the root of your WHMCS installation
  3. Overwrite any files/folders that already exist


Important version differences and actions needed if upgrading



Version 1.0 => 1.1

Version 1.1. brings a few API functions sou you'll need to set the admin account option on the module Settings page.
WHMCS API functions require admin access rights which means the API functions will work if the page is being used by an admin but for the Cron, for example, things work differently.
You can choose one of the available admin accounts presented to you in the settings form or you can create a new admin account. It would be wise to create an admin account that has API access only.


Version 1.1 => 1.2

Version 1.2 requires a few template changes. 
You need to edit your invoicepdf.tpl and viewinvoice.tpl files.

Change the line that says
require_once(ROOTDIR.'/modules/addons/cached_invoices/invoice.php'); 
into
require(ROOTDIR.'/modules/addons/cached_invoices/invoice.php');


Also, there's a new function in this version - auto-upload to Dropbox.
If you wish to use this option, you need to create a new Dropbox app. It's easy to do, just follor our guide on How to create a new Dropbox app for the Cached invoices module Dropbox auto-upload option


Version 1.2 => 1.3

No action required


Version 1.3 => 1.4

No action required


Version 1.4 => 2.0

Please remove the {PHP} line from the top of your viewinvoice.tpl file 


Version 2.0 => 2.1


No action required


Version 2.1 => 2.1

No action required

Do you need assistance?

Contact our technical support