[an error occurred while processing this directive]

Shareware Script Support FAQ

· Home · Back ·

Administration Password Questions

There are a wide range of error messages and/or problems that you may encounter when attempting to set your script's administration password or when attempting to enter your administration panel with this password. Fortunately, there are only a few basic issues that cause these problems. They are outlined below.

  1. Permissions Problems
  2. Problems Setting or Using Passwords
  3. Resetting Your Admin Password

 



Permissions Problems:

If you receive any error message indicating that there were permissions problems when attempting to set your administration password, you need to look into one or more of the following three possibilities:

  1. The directory path that you have specified in your $passfile variable may be incorrect or an invalid location for the server. Remember, you need a full server side directory path and you should not use trailing slashes. In some cases, you will receive this error if you have this path pointed inside your cgi-bin. You may need to move this path to a directory outside your cgi-bin.
  2. The permissions that you have assigned to the directory you specified in your $passfile variable are not adequate. You may need to raise these permissions as high as 777 (rwxrwxrwx) in order for the file to be created.
  3. You listed a filename in your $passfile variable or created a password file that you are attempting to force the script to use or write to. Your $passfile path should specify a directory only and that directory must not contain a file named password.txt as the script will create this file for you automatically.

In some very rare cases (Windows95 or Windows98 servers, etc.), servers do not support encryption and the file cannot be created because the script can't encrypt your administration password when it generates the password file. These cases are very rare but, if you encounter one, you will need to install the script on a server that does support encryption. The vast majority of web servers do.




Problems Setting or Using Passwords:

If you are having a problem setting or using your administration password, but are not actually receiving an error message in conjunction with the problem, please try the following suggestions:

  1. Make sure that you type the same password into each box when you set your password. The first box is for your chosen alphanumeric password. The second box is to verify your password. They must match exactly.
  2. Make sure that you hit the submit button with your mouse when you submit your password. Don't rely on the <enter> key to submit your password for you. Because of a Perl5 limitation, you may encounter <enter> key errors.
  3. Allow sufficient time for the server to create your password file before you attempt to immediately re-access the script. Some servers require up to a full minute or two to create this file if they are currently under heavy load.
  4. Refer to the "Permissions Problems" section above. Some servers experience those problems, but don't return error messages with them.

If you use FrontPage to create and upload your website, be careful not to access any of your script directories with FrontPage. If you do so, FrontPage may corrupt your script files and cause some or all of your files to stop responding. If this occurs, you may have to delete your script directories and reinstall the script.




Resetting Your Admin Password:

If you need to reset your script's administration password for any reason, you can do so by simply FTPing to the directory you specified in your script's $passfile variable and deleting the "password.txt" file. The next time you call your script's admin console in your browser, you will be asked to set a new password.


©2000, CGI Script Center