A
A
andreyqin2014-04-22 16:46:44
Network administration
andreyqin, 2014-04-22 16:46:44

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>

In what, actually, there can be a problem?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
andreyqin, 2014-04-23
@andreyqin

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.

S
Sergey Melnikov, 2014-04-22
@mlnkv

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 question

Ask a Question

731 491 924 answers to any question