302 moved temporarily |
Hi.
I have developed a web application and in local server works perfectly, but when I upload the application to a server on the internet (godaddy) I get this errors... When I enter the data to enter the system in fractions of a second I get these errors and the page is reloaded ![]() and when I repeat the same operation then I get this ![]() This is my jquery Code: $(document).ready(function (){ This is my controller code (Welcome.php) PHP Code: <?php I hope somebody can help me. THX!!!!
The link that you show (window.location.href='Welcome/index') is a relative link, leading to the misbehaving URL, Welcome/Welcome/index.
Try making it absolute ... window.location.href='/Welcome/index' (11-28-2018, 02:48 PM)ciadmin Wrote: The link that you show (window.location.href='Welcome/index') is a relative link, leading to the misbehaving URL, Welcome/Welcome/index. Thanks for answering my question. With your advice I solved error 404, error 302 is still in the controllers
302 is not an error. It indicates that the server was redirected to another URL. I see two redirect calls in your controller script that correspond to headers displayed in the first image in your post. My guess is that the first item in that screen grab is showing the new user form being submitted (posted).
Read about Server Status Codes |
Welcome Guest, Not a member yet? Register Sign In |