E
E
Elena2016-09-26 16:59:31
PHP
Elena, 2016-09-26 16:59:31

Why do some pages give a 500 error after transferring the site to another hosting?

Good afternoon everyone! Prompt, please, in what direction to dig. After transferring the site to a new hosting, some pages with categories are no longer displayed. At first, the whole site was not displayed at all, the support service sent a comment:
[error] [client 89.109.194.144] malformed header from script. Bad header=X-Content-Type-Options nosniff: index.php
We closed the line
//header("X-Content-Type-Options nosniff");
Everything worked, except for a few category pages.
PS The engine is self-written.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Grigory Esin, 2016-09-26
@xotey83

Wangyu that the colon between the header name and its value was forgotten.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question