Answer the question
In order to leave comments, you need to log in
Why do some site administration functions not work on the hosting?
Good afternoon everyone. The following problem arose: there is a self-written site with a self-written admin panel. Everything works fine on the local computer, I upload the site to the hosting and when I try to edit or add some entity in the admin panel, say, a category or a product, an Ajax request that loads data about this entity and calls a pop-up window returns me the following instead of all this line:
<html><body><script>document.cookie='humans=checktest;path=/';location.reload();</script></body></html>
Answer the question
In order to leave comments, you need to log in
Solved the problem. It was a matter of hosting (friendhosting.net), which blocked some functions of the site, under the pretext of switching to VDS, or for each domain to do some kind of "unblocking", which, in fact, I asked to do.
Look in the console, what headers does the server return? And, if possible, give a link to the hosting.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question