error in trivantis.js when posting quiz results using IE8

vircotto
Community Member Posts: 7
Hi!
We were testing some of our lessons in IE8 (FF, Chrome, and some others are fine, I don't have results for IE9 yet) and found that when the user clicks the button that posts the quiz data to our own server (CGI, not LMS), we get a javascript error in trivantis.js.
Is anyone else getting an error at this point?
(Note: We use an External HTML Object with some javascript to retrieve URL variables and make them available to Lectora.)
Looking at trivantis.js, it appears to be the line of code I highlighted in red below.
function getHTTP(dest, method, parms)
{
...
// branch for IE/Windows ActiveX version
if (!requestSent && window.ActiveXObject) {
httpReq = new ActiveXObject("Microsoft.XMLHTTP");
if (httpReq) {
[COLOR="#FF0000"] httpReq.open(method, dest, false);[/COLOR]
if( method == 'POST' ) {
httpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
}
httpReq.send(parms);
}
}
trivLogMsg( 'ReturnCode = ' + httpReq.status + ' Received Data [' + httpReq.responseText + ']', 8 );
return httpReq;
}
[/CODE]
The error message is "Permission denied"
Any ideas?
Dan[CODE]
function getHTTP(dest, method, parms)
{
...
// branch for IE/Windows ActiveX version
if (!requestSent && window.ActiveXObject) {
httpReq = new ActiveXObject("Microsoft.XMLHTTP");
if (httpReq) {
httpReq.open(method, dest, false);
if( method == 'POST' ) {
httpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
}
httpReq.send(parms);
}
}
trivLogMsg( 'ReturnCode = ' + httpReq.status + ' Received Data ', 8 );
return httpReq;
}
[/CODE]
The error message is "Permission denied"
Any ideas?
Dan
We were testing some of our lessons in IE8 (FF, Chrome, and some others are fine, I don't have results for IE9 yet) and found that when the user clicks the button that posts the quiz data to our own server (CGI, not LMS), we get a javascript error in trivantis.js.
Is anyone else getting an error at this point?
(Note: We use an External HTML Object with some javascript to retrieve URL variables and make them available to Lectora.)
Looking at trivantis.js, it appears to be the line of code I highlighted in red below.
function getHTTP(dest, method, parms)
{
...
// branch for IE/Windows ActiveX version
if (!requestSent && window.ActiveXObject) {
httpReq = new ActiveXObject("Microsoft.XMLHTTP");
if (httpReq) {
[COLOR="#FF0000"] httpReq.open(method, dest, false);[/COLOR]
if( method == 'POST' ) {
httpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
}
httpReq.send(parms);
}
}
trivLogMsg( 'ReturnCode = ' + httpReq.status + ' Received Data [' + httpReq.responseText + ']', 8 );
return httpReq;
}
[/CODE]
The error message is "Permission denied"
Any ideas?
Dan[CODE]
function getHTTP(dest, method, parms)
{
...
// branch for IE/Windows ActiveX version
if (!requestSent && window.ActiveXObject) {
httpReq = new ActiveXObject("Microsoft.XMLHTTP");
if (httpReq) {
httpReq.open(method, dest, false);
if( method == 'POST' ) {
httpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
}
httpReq.send(parms);
}
}
trivLogMsg( 'ReturnCode = ' + httpReq.status + ' Received Data ', 8 );
return httpReq;
}
[/CODE]
The error message is "Permission denied"
Any ideas?
Dan
Categories
- 35.9K All Categories
- 109 ✫ Announcements
- 33.1K Lectora®
- 31.1K Lectora Discussions
- 29K Lectora Desktop
- 2K Lectora Online
- 2K Lectora Feature Requests
- 71 Lectora User Groups
- 36 Lectora Accessibility User Group (LAUG)
- 25 ELB Learning Content
- 25 ELB Learning Content Discussions
- 329 CenarioVR®
- 196 CenarioVR Discussions
- 133 CenarioVR Feature Requests
- 42 Rockstar Learning Platform®
- 39 Rockstar Learning Platform Discussions
- 108 CourseMill®
- 108 CourseMill Discussions
- 47 ReviewLink®
- 47 ReviewLink Discussions
- 7 The Training Arcade®
- 7 The Training Arcade Discussions
- 936 All Things eLearning
- 37 eLearning Development
- 546 Learning Management System (LMS) Integration
- 333 Web Accessibility
- 1.2K ♪ The Green Room
- 9 Additional Learning Products