PDA

View Full Version : 302 Moved Temporarily Error for a request



flamant
17 Dec 2012, 6:11 AM
Hi,
I have a request to reset a password



form.timeout = 0;
form.submit({
url:actionUrl(resetPassword),
waitMsg:waitingMessage,
success:function (form, action) {
Ext.Msg.alert('<spring:message code="application.success"/>', successMessage);
winResetPassword.close();
},
failure:function (result, request) {
Ext.Msg.alert('<spring:message code="application.failure"/>', failureMessage);
document.getElementById('resetImgPreview').src = './user/getAnonPwdCaptcha.htm' + '?_dc=' + (new Date().getTime());
}
})


Normally, the server side send back a JSON result.

But I have a 302 Moved Temporarily Error for the request and when I inspect the response in firebug, I only have an XML Tab (no Response Tab) with the following message



XML Parsing Error: no element found Location: moz-nullprincipal:{7a7b3e92-e5c4-0c4f-84b8-5cfbc442d3b7} Line Number 1, Column 1:


If you have an idea , thank you in advance

flamant
17 Dec 2012, 7:32 AM
I found furthermore that the request doen't even go trough or reach the server side

wm003
8 Jan 2013, 3:45 AM
This is sent from your server, so you might take a look at the logfiles from your server. maybe the serverconfig changed (like someone did new mod_rewrite rules)