The following steps will guide you through the process of migrating from AutoRank Pro v4.0.x to AutoRank PHP v2.0.x. You should allow
a decent amount of time for this migration process. Your member accounts can be imported, but all of the HTML will need to be redone.
- The first thing you should do is login to your AutoRank Pro v4.0.x administrative interface and run the database backup
function. This will create a backup file which you can use to get AutoRank Pro running again if you encounter any
problems with the upgrade. Make sure you download the backup file to your local computer in ASCII mode before continuing
to the next step.
- You now need to upload the autorankpro.cgi file from the AutoRank PHP v2.0.x distribution. Upload this file to the directory where
AutoRank Pro is currently installed - the same directory where arp.pl is located. Set the permissions on this file to
755, then bring it up in your browser. You will be presented with a series of messages indicating that your data is being
converted. Once all of the lines have printed, it will tell you to continue with the next step.
- After running the autorankpro.cgi script, two files will be created in your data directory. They will be named arp-data.txt and arp-sql.txt.
Download both of these files to your local computer in ASCII mode - they will be used later to complete the data import process.
- If you will be installing AutoRank PHP in a new directory, you can skip this step. Otherwise, if you are installing in the same
directory where AutoRank Pro is currently located, continue with this step. Note that most servers do not allow PHP scripts in
the cgi-bin, so there is a good chance you will need to install in a new directory.
You should now completely delete your AutoRank Pro installation from your server. Delete all of the files and folders from your server
- if you miss any files it can cause the upgrade to not work properly. Be sure to get the .htaccess and .htpasswd files from the admin
directory, all the files and directories in the data directory, and all templates in the templates directory.
- Follow the instructions in the install.html documentation file to install a clean copy of AutoRank PHP on your server.
- Once the installation has been completed, upload the arp-data.txt and arp-sql.txt files to your AutoRank PHP data directory. Login to the
admininstrative interface and access the database backup/restore function. Enter arp-data.txt and arp-sql.txt in the "HTML Backup File Name"
and "SQL Backup File Name" fields, respectively. Select the Restore Data function from the drop down menu, and press the button.
- All of your member data has now been imported. The final step is to upload the rankem.cgi file
included in the AutoRank PHP distribution, to the directory where AutoRank Pro is/was installed. This should replace your current copy
of rankem.cgi, and will be used to forward surfers to the new in.php URL.
Before uploading rankem.cgi, you will need to make sure the perl path is properly set, and you will need to setup the $IURL variable.
It will need to point to in.php on your server. Once rankem.cgi is uploaded, make sure the permissions are set to 755.
If you were using cron to update AutoRank Pro, be sure to stop those cron jobs. Complete details on setting up the new cron jobs for
AutoRank PHP can be found in the cron.html documentation file.
You will want to contact your members and have them update their linking URL to the new in.php script. Forwarding surfers through rankem.cgi
is an extra step that your server has to complete, so you should get your members converted over to the new URL as soon as possible to get
the maximum performance.