AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   HLstatsX:CE (https://forums.alliedmods.net/forumdisplay.php?f=156)
-   -   24h view, last week, last month, broken image (https://forums.alliedmods.net/showthread.php?t=318350)

8guawong 08-26-2019 04:10

24h view, last week, last month, broken image
 
hi i'm using hlstatsx from https://github.com/nikooo777/hlstatsx-community-edition

php version 7.2 with fix from https://forums.alliedmods.net/showpo...0&postcount=10 f

for php 7+

(not using the latest commit from nikooo777's github due to chinese character showing as question marks)

as you can see on my hlstatsx here https://www.blackmarke7.com/hlstatsx/hlstats.php

when you expand the server view it shows broken image

https://i.imgur.com/W7KV9ZO.png

how can i fix this?

CrazyHackGUT 08-26-2019 04:13

Re: 24h view, last week, last month, broken image
 
You have installed GD?

8guawong 08-26-2019 05:10

Re: 24h view, last week, last month, broken image
 
Quote:

Originally Posted by CrazyHackGUT (Post 2664754)
You have installed GD?

sorry what is GD?

DarkDeviL 08-26-2019 05:32

Re: 24h view, last week, last month, broken image
 
Quote:

Originally Posted by 8guawong (Post 2664757)
sorry what is GD?

https://en.wikipedia.org/wiki/GD_Graphics_Library

CrazyHackGUT 08-26-2019 05:55

Re: 24h view, last week, last month, broken image
 
HLXCE requires the PHP extension for image rendering. This extension called as "GD".

NomisCZ 08-26-2019 07:56

Re: 24h view, last week, last month, broken image
 
Hi,
you need to install PHP GD extension - https://github.com/NomisCZ/hlstatsx-...i/Requirements

Eg. on Ubuntu/Debian (default installation):
Code:

apt install php7.2-gd
Also check PHP error logs, you'll see what the problem is ...

8guawong 08-26-2019 09:26

Re: 24h view, last week, last month, broken image
 
Quote:

Originally Posted by DarkDeviL (Post 2664762)

Quote:

Originally Posted by CrazyHackGUT (Post 2664766)
HLXCE requires the PHP extension for image rendering. This extension called as "GD".

Quote:

Originally Posted by NomisCZ (Post 2664784)
Hi,
you need to install PHP GD extension - https://github.com/NomisCZ/hlstatsx-...i/Requirements

Eg. on Ubuntu/Debian (default installation):
Code:

apt install php7.2-gd

hi i do have GD installed and enabled

according to my phpinfo

https://i.imgur.com/RNjglgP.png

Quote:

Originally Posted by NomisCZ (Post 2664784)
Also check PHP error logs, you'll see what the problem is ...

hi where are the logs located... sorry for noob question :oops:

DarkDeviL 08-26-2019 09:40

Re: 24h view, last week, last month, broken image
 
Quote:

Originally Posted by 8guawong (Post 2664800)
hi where are the logs located... sorry for noob question :oops:

That's varying a lot depending on your software package, so there is no de facto standard that we can actually provide to you.

With Apache, try looking around in /var/log/apache2/, or grep your configuration files for "ErrorLog", e.g.:
PHP Code:

grep -r ErrorLog /etc/apache2


8guawong 08-26-2019 09:54

Re: 24h view, last week, last month, broken image
 
Quote:

Originally Posted by DarkDeviL (Post 2664807)
That's varying a lot depending on your software package, so there is no de facto standard that we can actually provide to you.

With Apache, try looking around in /var/log/apache2/, or grep your configuration files for "ErrorLog", e.g.:
PHP Code:

grep -r ErrorLog /etc/apache2


ok thx i found it........... but theres too many lines
i'm guessing its b/c of upgrading to php 7 broke something ?


All times are GMT -4. The time now is 05:23.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.