Page 1 of 1

/admin/ getting error "failed to open stream: No such file or directory in "

Posted: Sun Nov 26, 2017 5:45 am
by Irkluojubbd
ok i copied my files from one domain and reuploaded to other and i got some erros when i try to go website.com/admin/

Code: Select all

/public_html/system/startup.php): failed to open stream: No such file or directory in /home/user859v3i/domains/-----.com/public_html/admin/index.php on line 17

Code: Select all

public_html/system/startup.php' (include_path='.:/usr/share/pear') in /home/user859v3i/domains/----.com/public_html/admin/index.php on line 17
lines

Code: Select all

if (!isset($_SERVER['DOCUMENT_ROOT'])) {
	if (isset($_SERVER['SCRIPT_FILENAME'])) {
		$_SERVER['DOCUMENT_ROOT'] = str_replace('\\', '/', substr($_SERVER['SCRIPT_FILENAME'], 0, 0 - strlen($_SERVER['PHP_SELF'])));
	}
}

Re: /admin/ getting error "failed to open stream: No such file or directory in "

Posted: Sun Nov 26, 2017 5:49 am
by Irkluojubbd
fixed...