Upgrading From AutoRank 4.0.x


The 5.0.x release is completely new from the ground up. The code has been completely rewritten, there is a new control panel, and the template system has been updated. Many new features have been added, however some of the legacy features have now been removed. Please have a look at the demo to make sure you want to upgrade before you begin this process. You should allow at least an hour for this upgrade. Because of the new template system, the old templates cannot be converted and you will need to redo all of your templates.

Export Your Data

Now you need to export your 4.0.x data into a format that the 5.0.x version can understand. This is simple to do with the export utility included with the 5.0.x version. In the utilities directory of the software distribution you will find a file named ar4.0.x.cgi. Upload that file to your server in ASCII mode to the same directory where your 4.0.x ar.pl file is located. Set it's permissions to 755 and then bring it up in your browser. It may take a few minutes for the data export to complete. Once it does you will see a message telling you to continue to the next step of the upgrade process.

The export script has created a file in the data directory of your 4.0.x installation. The file is named upgrade-data.txt. FTP into your server and download this file. It is very important that you download the upgrade-data.txt file in binary mode or it will be corrupted and will not be readable by the 5.0.x installation.

Keeping the Same Directory

To keep the same directory name you will need to rename the current directory that AutoRank is installed in. For example, if 4.0.x is installed in a directory named toplist, change the name to toplist_old. Once the directory has been renamed, create a new empty directory with the name of the original directory. Do a normal installation of AutoRank Pro 5.0.x as described in the Installation section of the software manual. Do not copy any of the files from your 4.0.x installation into the new directory. Once you have completed the installation, continue with the next step on this page.

Importing Your Data

Once you have your 5.0.x installation up and working properly, you can import the 4.0.x data. Note that you should read through the First Steps section of the software manual to make sure you have everything setup before you import your 4.0.x data. FTP into your server and upload the upgrade-data.txt file to the data directory of your 5.0.x installation. It is very important that you upload the upgrade-data.txt file in binary mode or it will be corrupted and will not be readable by the 5.0.x installation.

Next you will need to login to your 5.0.x control panel. Locate and click on the Backup Database link in the Setup section of the control panel menu. AutoRank Pro 5.0.x will then display a page where you can enter the filenames of your data export files. In the "Backup Filename" field enter upgrade-data.txt. Once the field is filled in, click on the Restore button. AutoRank Pro will read the data file and import the data from your 4.0.x installation. This may take a few minutes, so allow enough time for it to complete. After enough time has elapsed, you can continue begin using the software as usual.

Important Note

In the new 5.0.x version the incoming hit tracking script is now named in.cgi by default. Since you are upgrading from 4.0.x, your members are most likely using a link that points to a script named rankem.cgi. Instead of having all your members change their links, you can simply rename the in.cgi script to rankem.cgi. Once that is done be sure to change the In URL setting in the Edit Options interface to reflect the new name of the incoming hit tracking script.

Removing 4.0.x

Once your data has been imported and you are sure that you no longer need the 4.0.x installation you can delete it from your server. Simply delete all of the 4.0.x files and folders.