|
Home
NT Server Unix Server Models |
|
|
Thanks
|
|
|
|
|
|
|
|
The basepath is the section on your webspace (server) which is not web accessible. Nobody can get there with an URL. The public or the visitors of your site can't get there either. This means that any data place in this section are safe - no prying eyes and copying possible. |
|
|
|
The script makes the data directories automatically. These are "reg" , "closed" and category directories. The "closed" directory is made ONLY when an auction is closed. |
|
1. How to call the script
2. How to get to the administration section |
|
1.
http://www.yourdomain.com/cgi-bin/yourauctiondirectory/auction.pl Example: See 2 a.
2.
|
|
The item number may not contain any non-numeric characters. |
1. Wrong slash in the basepath 2. Transferring files from one server to another 3. There are other files in the auctiondata directory than the .dat files created by the script |
1. Place the trailing slash like this / before and at the end of the basepath
NOT like this \ 2. Do not use those files again 3. Delete them |
|
|
1. The script was not uploaded with ASCII checked
2. The script was not chmod 755 3. The Perl address in the script is not correct 4. There is a syntax error in the script. Caused by a bad text editor or mistake(s) made in the coding during editing 5. The server has the PERL version 5.00502 or older |
1. Upload the script with ASCII checked
2. Chmod the script 755 3. This is the very first line in your script. Ask your host or Telnet and issue the command "where is perl". 4. Use a new original copy of the script or try another text editor. Arachnophilia and Textpad are highly recommended 5. Your Host must upgrade to a newer version of PERL. But in the meantime, If you comment line 2 and 3 in the script you can get it going at your own risk |
|
|
The basepath is not correct |
Ask your host for the base path or run basepath.cgi, perldiver.cgi or
servercheck script on
your server to get it.
[ Basepath | Perldiver | Servercheck ] |
|
|
|
Look in the configuration section of the script for the following:
%category = (
Example: Adding the category Automobiles and Jewels
%category = (
PS:
|
|
We were unable to write to the user directory Or Cannot write to directory ??????? |
1. There is no data directory
2. The data directory was not chmod 777 3. The data directory was not added to the end of the basepath 4. The trailing slash is not added in the basepath |
1. Create a data directory
2. Chmod the data directory 777 3. Add the data directory at the end of the basepath 4. Add the trailing slash at the end of the basepath |
|
|
1. The e-mail configuration section is not done
2. The sendmail address is not correct |
1. Configure the e-mail section
2. Ask your host or try out those mentioned here: Unix server Or use Servercheck.cgi to get it [ Servercheck ] |
|
|
|
If your time difference is, for example. 5 hours, then this is 5x60x60=18000 seconds. Find: my $nowtime = localtime(time); in the script and change to: my $nowtime = localtime(time+18000); or my $nowtime = localtime(time-18000); Depends on if your server is ahead or behind your localtime |
|
$ symbol to another currency symbol |
|
If your currency symbol is £ , find \$ in the script and replace with £ Then find \$$ in the script and replace with £$ WARNING!
In the configuration section, add this line : $config{'currency'} = '£'; Find all the \$ in the script and replace them with $config{'currency'} The script is now ready for any currency symbol in the world by just replacing the £ symbol with your currency symbol in this line: $config{'currency'} = '£'; |
|
|
|
Example:
Change the auction end period to 30 days
Find in the Add new item sub routine: Days Until Close: 1-14 and replace 14 with 30 Then find in the Process new item sub routine: &oops('You must enter the number of days your auction should run, from 1 to 14.') unless (($form{'DAYS'} > 0) and ($form{'DAYS'} < 15)); and replace 1 to 14 with 1 to 30 and 15 with 31 |
|
|
|
The original script is "auction.pl". If your server do not support the PL, then just rename it to CGI and don't worry about anything else |
|
|
|
The original script is "auction.pl". If your server do not support the PL, then just rename it to CGI and don't worry about anything else |