DiscusWare, LLC.
Download Purchase Contact Us
Home
Support Home Documentation Knowledge Base Support Forums Support Request Advanced Services
How to fix a 'Script Execution Error' if directory paths were changed

How to make a previously working Discus/Discus Professional board work again if the web host changed your directory paths. Note: The procedure described herein is intended for advanced users only with a substantial knowledge of how their servers are set up. DiscusWare does not provide support for this procedure to customers, unless a support contract with login support is currently in place.
Support Site Search
 

If you are installing Discus for the first time and you received this error, and you never got to set up your password or create topics, you need this document instead.

Fixing this problem yourself

1. Determine new directory paths: Locate your discus.conf file and examine its contents in a text editor. Through one or more of the following methods, determine what changes need to be made to the admin_dir, html_dir, and script_dir parameters:

  • Ask your web host. They are likely the ones who broke your board by changing your directory paths, so they should help you fix it. Whether they will or not is another question...

  • Look at the diagnose.cgi script (see the support center document about checking diagnostics). Generally the paths reported in that script are helpful.

  • If you have your old ftpdiag.cgi script still on your server, you can call it back up in your browser again to see the directory paths it's now suggesting. These should be quite accurate for your situation, although you of course will need to change the directories to be the same as what you've already set up. WARNING: DO NOT submit ftpdiag.cgi and start over with a new installation. If you do this, and upload the new files to your board, you will lose some or all of the data you already have on your board!

2. Change discus.conf: Make changes to admin_dir, html_dir, and script_dir in your discus.conf file, according to the paths you determined in step 1. All transfers must be made in ASCII mode.

3. Change scripts: For version 4.0, you need to edit only the "config.cgi" script (may be config.pl depending on your setup). For older Discus versions you need to edit all of the Discus CGI scripts. Correct the path to the discus.conf file to match the admin_dir setting from steps 1-2.

4. Test it out: If steps 1-3 were successfully completed, your board should begin to operate as if nothing had happened. There is no regeneration necessary to recover from this condition.

 

Advanced Support Services - Let DiscusWare fix this problem for you

DiscusWare offers professional services to perform the above steps on behalf of customers running Discus 4.0 or higher only. The information we need to provide the fix is as follows:

  • FTP server name or IP address
  • FTP username
  • FTP password
  • Credit card number
  • Expiration date
  • Name on card
  • Billing address for card

1. Customers with current Discus Professional support: For customers holding a support agreement or contract that is currently valid, DiscusWare will make this repair for a flat rate of $50.00. To request this service, fill out an e-mail support request.

2. Customers with expired Discus Professional support or Discus Freeware: For customers whose support on Discus Professional has expired, or who are running Discus Freeware, DiscusWare will make this repair for a flat rate of $75.00. To request this service, include the information from the previous bullet point and fill out:

Don't know if your Discus Professional support is current or expired? When you log in to the support request form, look at the "Support Expiration:" section under "Discus Professional License Details" to see when your support expires. (There will also be a prominent notice displayed after login if your support is expired.)


Download Purchase Contact Us
Privacy Policy
Copyright © 2005, DiscusWare, LLC, All Rights Reserved