Ajax call´s throwing 302 request status
I have one application running perfectly on localhost. When this the same application run in one cpanel server, all ajax requests returns with status 302 and status text Moved Temporarily and de responseText correctly given. Example:
- ]
- status: 302
- statusText: "Moved Temporarily"
- responseText: "{"resultado":[{"id_site_galeria":"3","nome":"galeria3"},{"id_site_galeria":"4","nome":"galeria4"},{"id_site_galeria":"1","nome":"Teste"},{"id_site_galeria":"2","nome":"Teste 2"}],"status":"Ok"}"
-
Hello, Do you notice any error messages in /usr/local/apache/logs/error_log or in the error_log within the directory where the application is installed when this happens? Are you using Mod_Rewrite rules in any .htaccess files within the account? Thank you. 0 -
I found the error and it"s in my application. I solved it and now all works perfectly. Thanks and close de topic please. 0 -
I am happy to see the issue is now resolved. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
3 comments