Welcome Guest, Not a member yet? Register   Sign In
Undefined index: HTTP_HOST
#1

i get in error log :
Quote:PHP Notice: Undefined index: HTTP_HOST in /var/www/html/web/libraries/src/Application/WebApplication.php on line 988
and code in this line : 
Code:
$uri = $scheme . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];

Quote:PHP Notice: Undefined index: HTTP_HOST in /var/www/html/web/libraries/src/Uri/Uri.php on line 90
and code in this line : 
Code:
$theURI = 'http' . $https . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];

What can I do to fix this?
Reply


Messages In This Thread
Undefined index: HTTP_HOST - by cintadewiamelia - 01-28-2018, 10:04 PM
RE: Undefined index: HTTP_HOST - by InsiteFX - 01-29-2018, 09:46 AM



Theme © iAndrew 2016 - Forum software by © MyBB