Answer the question
In order to leave comments, you need to log in
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
echo $_SERVER['PATH_INFO'];
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');
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question