Upgrading to v3.1.
For users of version 2.7 and
above.
These instructions are for the update files only.
For instructions on installing the full version, click here.
- When upgrading, you should
never replace the setup.pl file.
- When mentioning the word "contests" throughout
these instructions, I am also referring to surveys and polls.
- cookie-lib.pl and version.pl
are no longer included.
| Upgrading Steps for Script
Administrators |
- Notify all of your Contest Administrators
and users that you are upgrading.
- 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
WWCcontests.pl
- If you are upgrading from v2.7 you will find a new file called translator.pl.
This file must be uploading into your main WWCcontests directory. Permissions must be set
to chmod 755 for unix and IUSR_XXX (RWXD) (RWXD) for Windows NT.
- If you are upgrading from v2.7 you will also find a new directory called translate.
You need to create this subdirectory under your WWCcontests directory. Permissions for
this directory must be set to chmod 777 for unix and IUSR_XXX (RWXD) (RWXD) for Windows NT.
- Upload the three new template files named contest_tpl.htm,
poll_tpl.htm, survey_tpl.htm. Permissions for thesefiles must be set to chmod
666 for unix and IUSR_XXX (RWXD) (RWXD) for Windows NT.
- Replace any old files with the newer files
provided in the zip file.
- 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 to your
preferences.
- Since version 3.1 now allows for separate
template files for contests, surveys, and polls, you will need to edit
these template files so they match your site. If you do not want
to use separate template files, you can log into the Script Administration
(admin-main.pl) and define that option.
- If you are using your own translation,
there are new lines that you will need to translate using the
Translator.
- That's it, your script upgrade is done.
| Upgrading Steps for Contest
Administrators |
- Log into the Contest Administration (admin.pl).
- It is suggested that you perform a backup
of all your contests, surveys, and polls at this point.
- 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.
- If you are using custom email messages,
you will need to edit them to reflect the new variables which can be
used. The variable $address has been removed and replaced with broken
down variables such as $city, $state, and so on. To see those variables,
click here.
- If you are upgrading from a version prior
to 3.0 you will need to convert your entries by using the
conversion option under the section labeled Upgrade/Maintenance
Options. This must be done for every contest, survey and poll.
- Check all contests to be working properly.
- That's it. All of your contests should be operating
properly and your upgrade will be completed..
|