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, replacingqslconf.php $qsl_load_keyis 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
-
Back up your existing website files and database.
-
Download the latest stable release.
-
Copy your settings from the old
qslconf.phpinto the newconfig.php(or a newconfig.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.
-
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.
-
Make the
templatessubdirectory writable by the web server. -
Load
upgrade_2_to_3.sqlinto the database. It:- renames the
countycolumn of theqsostable tolocationand adds acommentcolumn - drops the old
logidcolumn and theloadlogandtranstables - adds the
card_layoutstable used by the Card Designer
mysql -u root fireflyqsl < upgrade_2_to_3.sql - renames the
-
Check the install with
php check_install.php. See Command-Line Tools. -
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.phpqslconf.php