Services/LimeSurvey

From popdata
Jump to: navigation, search

back to Systems LimeSurvey is used for Privacy Test.

It gets linked from Portal after a user has logged in to https://my.popdata.bc.ca/account and clicks on "Take the test", taking them to "https://secure.popdata.bc.ca/survey/index.php?sid=45598&lang=en&token=%s" . The token must be previously assigned by selecting "Activate for privacy exam" (?) in PDS. Periodically the tokens that provide the link between PDS and LimeSurvey run out, and new ones must be created (see Systems/Account_Management#Creating_New_Tokens_for_LimeSurvey_privacy_test.

Secure.popdata.bc.ca currently is hosted on Cartier under /home/www/secure/survey/

I believe the results form LimeSurvey get back to PDS via email, defined in config.php : $siteadminemail = "survey@popdata.bc.ca"

The system last worked 2013-05-15 for hcampbell and atennakoon. On June 12 and 18 it failed for wchen, dshopin and testuser1.

In Zimbra (zimbraadmin), survey@popdata.bc.ca is an alias for jim@popdata.

Reading Jim's mail, I find:

 The original message was received at Tue, 18 Jun 2013 10:54:56 -0700
 from champlain.popdata.bc.ca [10.80.20.80]
 
    ----- The following addresses had permanent fatal errors -----
 | /usr/local/bin/markit.pl
     (reason: 1)
     (expanded from: <survey@sullivan.popdata.bc.ca>)
 
    ----- Transcript of session follows -----
 Error: Unable to find token sdwkmciljafo
 2013/06/18 10:54:57 Error: Unable to find token sdwkmciljafo
 554 5.3.0 unknown mailer error 1

The processing is done on sullivan after forwarding from champlain.

  • Jun 18 10:54:57 sullivan sm-mta[29849]: r5IHsteI029844: to=| /usr/local/bin/markit.pl, ctladdr=<survey@sullivan.popdata.bc.ca> (8/0), delay=00:00:01, xdelay=00:00:01, mailer=prog, pri=35026, dsn=5.3.0, stat=unknown mailer error 1

See also logs on Sullivan: grep '/exam' /home/www/pds/logs/portal.log