Upgrading to v2.8
For users prior to version 2.7
These instructions are for the update files only.
- When mentioning the word "contests" throughout
these instructions, I am also referring to surveys and polls.
- Answers Format
The format for saving answers has changed. The contest administration now has a new
"Upgrade/Maintenance" section with the option to convert the old answer format
to the new answer format.
- Viewing Totals
From the point you upgrade, this will be the point in which your totals start adding
up. All previous entries will not be included in the totals.
| Upgrading Steps for Script
Administrators |
- By default after upgrade, all contests will be shutoff
initially. This is to prevent contests from not functioning properly as a result of
the upgrade. If you are using ID's and users, you should inform them prior to the upgrade
that all of their contests will be shut off temporarily. After the upgrade is complete,
they can re-set each of the variables for their contests and bring them back online.
Information on that is further down the page.
- If using NT, you might have to edit the perl files to set a
full path for the "require" statements as well as uncomment the line " #
print "HTTP/1.0 200OK\n"; ". Most NT servers won't require this.
With Unix, you might have to change the PERL path.
The files which might need editing include:
admin.pl
admin-main.pl
subs2.pl
subs3.pl
translator.pl
version.pl
WWCcontests.pl
- You will find a new file translator.pl.
This file must be uploading into your main WWCcontests directory with permissions set to
chmod 755 for unix and IUSR_XXX (RWXD) (RWXD) for Windows NT.
- You will find a new images directory. This
directory must be placed in a location where image files can be read. On some
servers, this directory cannot be under the cgi-bin directory. If your images don't show
up, try placing this directory outside of the cgi-bin directory.
- You will find a new directory called translate.
You need to create this subdirectory under your WWCcontests directory. Permissions for
this director must be chmod 777 for unix and IUSR_XXX (RWXD) (RWXD) for Windows NT.
- Upload all the files from translate
directory in the zip file to the new translate directory which you created in step 5.
These files need permissions of chmod 666 for unix and IUSR_XXX (RWXD) (RWXD) for NT.
- Replace any old files with the newer files.
- Log into the Script Administration (admin-main.pl) and check
all the variables to be correct. Since there are new variables and also since some
old ones have changed, you should go through every one and make sure they are set
correctly.
- Once all of your variables have been checked and set
correctly, you can then check the box to enable all contests and submit the variables to
activate them.
- That's it, your script upgrade is done.
| Upgrading Steps for Contest
Administrators |
- Log into the Contest Administration (admin.pl).
- By default all of your contests are shutoff. You should not
enable them until the following steps are done.
- For each contest, you need to modify the contest variables.
A number of new variables have been added and also some old ones have changed. You should
check every single setting to be correct. Once correct, submit the contest variables to
activate the new settings.
- The new version uses a different format for storing answers.
On the Contest Administration screen, you will find a new section listed as "Upgrade
and Maintenance". In this section, you can convert your old answer files to the
new version. You need to do this for any contest which was saving answers.
- Once all of the contests variables have been checked and
set, you can now enable and bring all of your contests online.
- Check all contests to be working properly.
- That's it. All of your contests should be operating
properly.
|