xquest
18-08-2009, 00:35
Witam!! Mam problem z świetnym komponentem do joomli.
Jest to JPF Chat w najnowszej kwietniowej wersji.
Niestety czat nie działa pod IE8.
Podczas próby ładowania czatu dostaję taki o to błąd:
Szczegóły błędu na stronie sieci Web
Agent użytkownika: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Sygnatura czasowa: Mon, 17 Aug 2009 22:23:44 UTC
Wiadomość: Odmowa dostępu.
Wiersz: 3754
Znak: 3
Kod: 0
Identyfikator URI: http://radomiak.info/components/com_jpfchat/pfc/data/public/js/mootools.js
Plik mootools wygląda następująco:
(fragment w okolicach 3754 linii)
if (this.options.format){
var format = 'format=' + this.options.format;
data = (data) ? format + '&' + data : format;
}
if (this.options.emulation && ['put', 'delete'].contains(method)){
var _method = '_method=' + method;
data = (data) ? _method + '&' + data : _method;
method = 'post';
}
if (this.options.urlEncoded && method == 'post'){
var encoding = (this.options.encoding) ? '; charset=' + this.options.encoding : '';
this.headers.set('Content-type', 'application/x-www-form-urlencoded' + encoding);
}
if (data && method == 'get'){
url = url + (url.contains('?') ? '&' : '?') + data;
data = null;
}
this.xhr.open(method.toUpperCase(), url, this.options.async);
this.xhr.onreadystatechange = this.onStateChange.bind(this);
this.headers.each(function(value, key){
try {
this.xhr.setRequestHeader(key, value);
} catch (e){
this.fireEvent('exception', [key, value]);
}
}, this);
this.fireEvent('request');
this.xhr.send(data);
if (!this.options.async) this.onStateChange();
return this;
},
cancel: function(){
if (!this.running) return this;
this.running = false;
this.xhr.abort();
this.xhr.onreadystatechange = $empty;
this.xhr = new Browser.Request();
this.fireEvent('cancel');
return this;
}
});
Gdzie owa linia 3754 to:
this.xhr.open(method.toUpperCase(), url, this.options.async);
Prosze o pomoc z tym problemem, czy udało się komuś wystartować z tym chatem ??
Jest to JPF Chat w najnowszej kwietniowej wersji.
Niestety czat nie działa pod IE8.
Podczas próby ładowania czatu dostaję taki o to błąd:
Szczegóły błędu na stronie sieci Web
Agent użytkownika: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Sygnatura czasowa: Mon, 17 Aug 2009 22:23:44 UTC
Wiadomość: Odmowa dostępu.
Wiersz: 3754
Znak: 3
Kod: 0
Identyfikator URI: http://radomiak.info/components/com_jpfchat/pfc/data/public/js/mootools.js
Plik mootools wygląda następująco:
(fragment w okolicach 3754 linii)
if (this.options.format){
var format = 'format=' + this.options.format;
data = (data) ? format + '&' + data : format;
}
if (this.options.emulation && ['put', 'delete'].contains(method)){
var _method = '_method=' + method;
data = (data) ? _method + '&' + data : _method;
method = 'post';
}
if (this.options.urlEncoded && method == 'post'){
var encoding = (this.options.encoding) ? '; charset=' + this.options.encoding : '';
this.headers.set('Content-type', 'application/x-www-form-urlencoded' + encoding);
}
if (data && method == 'get'){
url = url + (url.contains('?') ? '&' : '?') + data;
data = null;
}
this.xhr.open(method.toUpperCase(), url, this.options.async);
this.xhr.onreadystatechange = this.onStateChange.bind(this);
this.headers.each(function(value, key){
try {
this.xhr.setRequestHeader(key, value);
} catch (e){
this.fireEvent('exception', [key, value]);
}
}, this);
this.fireEvent('request');
this.xhr.send(data);
if (!this.options.async) this.onStateChange();
return this;
},
cancel: function(){
if (!this.running) return this;
this.running = false;
this.xhr.abort();
this.xhr.onreadystatechange = $empty;
this.xhr = new Browser.Request();
this.fireEvent('cancel');
return this;
}
});
Gdzie owa linia 3754 to:
this.xhr.open(method.toUpperCase(), url, this.options.async);
Prosze o pomoc z tym problemem, czy udało się komuś wystartować z tym chatem ??