Skip to content

Upgrading from 2.x

Version 3 is a large update. Your QSOs carry over, but the configuration file, the card setup and part of the database change.

What Changed in Version 3

  • Full administrative login with sessions
  • Several source (station) callsigns can be loaded into one install
  • All libraries updated to their latest versions
  • Fully responsive user interface, with a dark mode
  • The configuration file is now config.php, replacing qslconf.php
  • $qsl_load_key is replaced by $club_password
  • A web-based Card Designer replaces all of the $qsl_* card layout settings ($qsl_template, fonts, offsets and so on)
  • Cards are sent straight to the browser and are no longer saved on the server
  • Security hardening for public internet use (see Security Notes)

Upgrade Steps

  1. Back up your existing website files and database.

  2. Download the latest stable release.

  3. Copy your settings from the old qslconf.php into the new config.php (or a new config.local.php, see Configuration):

    • Club callsign, club name and database settings carry over as they are.
    • Set a new $club_password (or $club_password_hash). It replaces $qsl_load_key.
    • Note your old card settings (template image, fonts, positions) for step 8, then leave them out. Version 3 ignores them.
  4. Delete the existing website files and upload fresh ones from the new release. This is more reliable than trying to remove the old files by hand. Keep your card artwork image somewhere safe first.

  5. Make the templates subdirectory writable by the web server.

  6. Load upgrade_2_to_3.sql into the database. It:

    • renames the county column of the qsos table to location and adds a comment column
    • drops the old logid column and the loadlog and trans tables
    • adds the card_layouts table used by the Card Designer
    mysql -u root fireflyqsl < upgrade_2_to_3.sql
    
  7. Check the install with php check_install.php. See Command-Line Tools.

  8. Log in, open Card Designer from the menu, upload your card image, and place the fields to match your old configuration. See Card Designer.

Cleaning Up

Version 3 no longer saves cards on the server. After upgrading you can delete:

  • the old cards/ directory
  • qslmaint.php
  • qslconf.php