"Variable is undefined" error in course menus.

Date: December 16, 2002

Version affected: v1.60

Symptoms:

If a course is created with more than 41 lessons or blocks at the root level (immediately beneath the course in the course structure) then the following error message occurs:

Microsoft VBScript runtime error '800a01f4'

Variable is undefined: 'nLevel'

/wbtmanager/asp/crsmenuxml.asp, line 224

(error line# may be 217 depending on which 1.60 patches are installed).

Cause:
A programming bug in the script causes this error when an array must be resized to contain more than 41 lessons.

Correction:
A new version of the course menu asp file has been provided to correct the problem.

asp/crsmenuxml.asp dated:12/16/2002 10:16 AM

After unzipping the patch file to a temporary directory, copy crsmenuxml.asp to the asp  directory of your WBT Manager web installation.

It is not necessary to re-start the web-server.

Version 1.6 Patches