Unnecessary redirection on pages

Asked

Viewed 43 times

0

Hello.

I received a ready-made site. What happens is that I can’t open it at all on my localhost.

What happens is that when I open the localhost/index.php page the browser generates the following error ERR_TOO_MANY_REDIRECTS

When opening index.php I immediately find the following lines.

QApplication::Redirect("/");
exit();

Does that make any sense? At the very beginning of the page there is a redirect and a script finish, and index.php has 250 lines of code. Why is this so? Remembering that this is a backup and the site works on a server: http://www.aprendoemcasa.com.br

  • What program are you running locally? I use xampp, and in order to access the sites, the projects are separated by folders within "htdocs", in your case for example, the project would be in C: xampp htdocs learning at home, then you would access via the browser via the http://localhost/learner link at home. Check if in your case the project needs to be in a folder like this too.

  • I’m using easyPHP, and I’ve developed several projects with it, it never happened.. I already kind of forced the input commenting on several lines on the site, as the example I gave up. However this is not the right thing to do because the project already works the way it came to me. (works on the server).

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.