Installation - Professional Version v3.0
- If you are using the free version, you
can install the Professional Version over it. Just save the setup.pl
file and all your contest files in the contests directory.
- If you were using the free or
professional versions 2.6 and above all your existing contests,
surveys, and polls will be compatible. You will just need to make sure
you perform the necessary conversions of your entries in the Contest
Administration screens.
- If you are using a free or professional
version prior to version 2.6, you will need to perform a new install.
Your contest, surveys, and polls are not compatible.
Unzip the files using any zip program such as Winzip. Once unzipped you should have
the following files and directories.
- admin.pl
- admin-main.pl
- cgi-lib.pl
- date.pl
- setup.pl
- subs1.pl
- subs2.pl
- subs3.pl
- template.htm
- translator.pl
- WWCcontests.pl
- Readme.txt
- images (directory)
Blackdot.gif
Bluedot.gif
Browndot.gif
Greendot.gif
hint.gif
link.gif
Orangedot.gif
Purpledot.gif
Reddot.gif
reset.gif
submit.gif
Whitedot.gif
WWCctitle.gif
- translate (directory)
master.pl
English.pl
| Create Directories and Upload Files |
- Create a directory such as WWCcontests on your
server in which the script will run. This most likely will be located in the cgi-bin
directory.
Example: http://www.domain.com/cgi-bin/WWCcontests
- Upload all of the files to the directory which was created in step 1
above. With exception of the files in the image directory.
This can be done using any FTP client such as CuteFTP.
When uploading the .pl files, you should be sure to use ASCII mode transfer.
If you are importing the files on an NT server using Frontpage, you more than likely don't
have to worry about the ASCII transfer mode. However if you do encounter problems running
the scripts, you should try uploading the files in ASCII mode with an FTP program.
- Create a subdirectory named contests under the
directory which you created in step 1.
Example: http://www.domain.com/cgi-bin/WWCcontests/contests/
- Create a subdirectory called translate under the
directory which you created in step 1.
Example: http://www.domain.com/cgi-bin/WWCcontests/translate
- Upload all the files from translate directory in the zip file to the
new translate directory which you created in step 4. Use ASCII mode for
these.
- Create a subdirectory called images in an area where
image files can be read. Some servers cannot read image files from within the cgi-bin
directory. If you place this directory under the cgi-bin directory, and the images don't
show up, try moving it to a location outside of the cgi-bin directory.
Example: http://www.domain.com/contests/images/
- Upload all the files from image directory in the zip file to the new
image directory which you created in step 6.
| Set Perl Location in PL Files |
- If using NT, you can ignore this step. If PERL is setup
properly on your server, the .pl files should already be associated with the PERL
installed on the server.
- For UNIX servers. The perl location is the first line
of the following files:
- admin.pl - Admin script for setting up
contest.
- admin-main.pl - Admin script for setting
main script variables and adding new ID's as well as adding contests.
- subs2.pl - Library of subroutines.
- subs3.pl - Library of subroutines.
- WWCcontests.pl - The main contest script.
- translator.pl - Script for language translations.
The line will look like this:
#!/usr/local/bin/perl
This is the absolute path to PERL on your server. If you do
not know what this is, contact your server administrator to find out.
Perl 5 is required for this script to run.
- Windows NT
You will need the following permissions set for the directory in which you put the
script files.
IUSR_XXX (RWXD) (RWXD)
Your server administrator should be able to do this for you.
Note: This is the directory which you created in step1 of the section above titled
"Create Directories and Upload Files".
- UNIX (CHMOD settings)
CHMOD 777
- WWCcontests directory (main directory where
all your files are located)
- contests directory
- translate directory
CHMOD 666
- setup.pl
- cgi-lib.pl
- date.pl
- subs1.pl
- All files in the translate directory.
CHMOD 755
- admin.pl
- admin-main.pl
- subs2.pl
- subs3.pl
- translator.pl
- WWCcontests.pl
Note
Some UNIX servers require the following
directory permissions:
CHMOD 775 or 755
- WWCcontests
directory (main directory where all your files are located)
- contests directory
If you follow the instructions completely
and you continue to get a server error, attempt these permissions on the
directories.
|
| Set your REQUIRE path (if needed) |
- UNIX installs can ignore this step.
- For NT Servers
At the top of each .pl file you will see require statements that
look like:
require "setup.pl";
require "subs1.pl";
require "cgi-lib.pl";
require "date.pl";
require "cookie-lib.pl";
Some NT servers will require that you put the full absolute (real)
path to these files.
If you are unsure whether your server requires the full path, you
can do one of two things:
- Contact your server administrator and they should be able to tell
you. (preferred method)
OR
- Test the script once you are done with all the other install steps.
If you get blank screens or a message that states "Documents contains no
data", you should then try the full path on the require statements.
If your server requires the full path, you should change each of
these to look something like:
require
"d:/www/www.domain.com/cgi-bin/WWCcontests/setup.pl";
require "d:/www/www.domain.com/cgi-bin/WWCcontests/subs1.pl";
require "d:/www/www.domain.com/cgi-bin/WWCcontests/cgi-lib.pl";
require "d:/www/www.domain.com/cgi-bin/WWCcontests/date.pl";
require "d:/www/www.domain.com/cgi-bin/WWCcontests/cookie-lib.pl";
The path you would use would be dependent on where you put the
contest files.
- Editing the setup.pl file. Instructions on what to
do are located within this file.
| Set the script main variables |
- Run the Script Administration (admin-main.pl)
to set all of your main script variables. When running this for the first
time, you don't need a username or password.
| Modify Your Default Template File
(template.htm) |
- This step is not a must at this moment. It can be done at any point
down the line.
The template file is used to make your script look as though it is part of your site.
Note: When editing the template file, you must always include the $REPLACE
variable. This is to indicate where the script should insert the HTML which is
generates.
From this point you are ready to start creating your contests using
the Contest Administration (admin.pl).
| If you are having problems, please
check out our support forums. The answer to your question
may already be there. If not, just leave your question and we will answer it as soon as
possible. |
|