The server with PHP 5.3 switched to PHP 5.6 and the site stopped working.
Googled the problem and replaced eregi with preg_match everywhere in eregi files
if (preg_match("mainfile.php",$PHP_SELF)) { As a result, it gives this error:
Call to undefined function import_request_variables() and does not work. Tell me what to do.