Installation FAQ

I am using an earlier version of Lightwork 2.4.X. How can I upgrade to the latest 2.4.12 version?

In the Lightwork main menu, select Help-Check for Updates. Lightwork will automatically update to the latest version.

I am using Lightwork 2.4.X. How can I upgrade to Lightwork 3.1.X?

Lightwork 3.1.X is compatible with Moodle 2 as well as Moodle 1.9. This means that the Moodle administrator will first need to upgrade your Moodle installation to use the 3.1 Lightwork web services. Once this is done you will need to uninstall Lightwork 2.4.X from your desktop and install Lightwork 3.1.1. On Windows XP, Lightwork can be uninstalled by selecting Start-All Programs-Lightwork-Uninstall.

Why doesn't the Lightwork client display anything when I open a connection to my own Moodle server?

  • Check your connection settings. Is the server name a valid URL for your Moodle site? Does the username and password belong to a Moodle user with Lightwork marking capabilities? see Lightwork_roles_and_capabilities.
  • What authentication mechanism does your Moodle instance use? Non standard authentication will need a custom plugin.
  • Check the log file for error messages. This file is called lightwork.log and can be found in your home directory. Feel free to contact the Lightwork team at to help resolve the issue.

Why am I getting errors with password encryption while trying to connect to my own Moodle server?

  • To be able to connect to moodle through lightwork ssl certificates need to be generated, if opensll is not configured with your php client then the certificates will not be generated, if this is the case please do the following:
    • Installing openssl on apache.
      1. Open the php.ini file found in the moodle/apache/bin (if not there then, in folder server/php/)
      2. Find the line: ;extension=php_openssl.dll
      3. Remove the ; at the beginning of the line
      4. Restart apache if necessary
    • Setting the windows environment variable
      1. In your PHP directory (c:/php5 for example) within the extras/openssl folder you should find openssl.cnf, rename it openssl.conf (to fix the windows speeddial bug)
      2. In windows control panel goto System, click the Advanced tab and then the Environment variable button in the bottom left corner.
      3. Add a new System varaible: Varaible name = OPENSSL_CONF and set the Varaible path to the path of the openssl.conf file we set before (C:\php5\extras\openssl\openssl.conf for example)
      4. Restart your computer
    • Setting up Moodle
      1. In your moodle homepage (on your localhost) search for country, and set the value to anything.
      2. Click Networking from the sidebar, then Settings and setect the "networking on" radio button
      3. If all is well you should see a public key certificate generated as a bunch of random characters.

What are the Lightwork database tables and how can I backup and restore them?

Installation of Lightwork will add the following tables to the Moodle database:

  • LW_MARKING_HISTORY
  • LW_MARKING
  • LW_RUBRIC
  • LW_MARKING_STATUS
  • LW_TEAM_MARKING
  • LW_TEAM_MARKING_HISTORY
  • LW_FEEDBACK

It is important to remember that the Lightwork application does not provide a backup and restore facility for these tables. It is assumed that the Moodle database administrator is already providing backup and restore functionality for the core Moodle tables and that the Lightwork tables will be incorporated into this.

Also available in: HTML TXT