Affiliate Software Documentation

Upgrading JAM version 3 to version 3.1

If you are on the 3.0.x release of JROX Affiliate Manager, follow these steps to upgrade to version 3.1. Version 3.1 of JAM supports PHP version 7, up to 7.2

  1. Download the updated version, from our site:

    http://my.jrox.com/downloads/jam.zip

  2. First, backup all of your data, including your files and do a database dump.  You can do a database dump using your web hosting control panel, or through the JAM admin area, under Settings > Global Configuration > System > Database Backup > Backup Now
  3. Make sure to download the folllowing files from your old installation folder:

    - /system//application/config/config.php
    - /system/application/config/database.php

  4. Open up that database.php file that you just saved and edit the line:

    $db['default']['dbdriver'] = 'mysql';

    Make sure it is:

    $db['default']['dbdriver'] = 'mysqli';

  5. Save that file.
  6. Now, rename the old folder to a backup name, for example, if you JAM installation folder is /affiliates, rename it to /affiliates.old
  7. Create a new folder with the same name as your old JAM folder, for instance, as stated above "/affiliates"
  8. Unzip and upload the new files to the new "/affiliates" folder:
  9. Now upload the following files you saved earlier from your old installation and upload to:

    - /application/config/config.php
    - /application/config/database.php

  10. Once you have uploaded it, go to your JAM admin area, under Settings > Global Configuration and click on the "Check for System Updates" button to run the database table update utility.  This runs the /import/jam_updates.php file for any database scheme updates.
  11. Once that has finished, make sure to delete the /import/jam_updates.php file if the script cannot delete it for you.
  12. If you have a custom theme done, make sure to upload those folders / files to the /themes/main folder.