[HELP] PHP Notice: Undefined index: HTTP_HOST in ./hlstats.php on line 76
After successfully installing HLStatsX:CE, I went to the webpage on browser, but the page hlstats.php was totally empty.
On running php hlstats.php, console shows: Quote:
|
Re: [HELP] PHP Notice: Undefined index: HTTP_HOST in ./hlstats.php on line 76
Hello,
your webserver is probably broken, because the value "HTTP_HOST" is available only if you're running PHP through webserver, not via CLI. This could help (if you host it yourself (VPS/VDS/Dedi)): Nginx + PHP + MySQL https://www.digitalocean.com/communi...k-ubuntu-18-04 OR Apache + PHP + MySQL https://www.digitalocean.com/communi...n-ubuntu-16-04 Also don't forget to install some PHP extensions: https://github.com/NomisCZ/hlstatsx-...ments#-website |
All times are GMT -4. The time now is 11:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.