Kolambus2021-03-29 05:24:21
Kolambus, 2021-03-29 05:24:21

500 site error, what to do?

After migrating from one host to another, I got a 500 error
when connecting display_errors, we managed to find what the problem was, but we still couldn’t understand the essence of the problem
Notice: Undefined index: PATH_INFO in /var/www/user/data/www/sitename/index. php on line 3

Fatal error: Call-time pass-by-reference has been removed in /var/www/user/data/www/kernel/common/libs/xml.php on line 65 index.php line 3 xml itself

. php complains about it

function XML(){
 		$this->parser = xml_parser_create();
    xml_parser_set_option($this->parser, XML_OPTION_CASE_FOLDING, false);
    xml_set_object($this->parser, $this);
    xml_set_element_handler($this->parser, 'open','close');
    xml_set_character_data_handler($this->parser, 'data');

I've already broken my head, what could be wrong here.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Lone Ice, 2021-03-29

Do you know how to google at all? https://stackoverflow.com/questions/8971261/php-5-... . And about the notice - check what the $_SERVER variable is equal to

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question