Raised This Month: $51 Target: $400
 12% 

trend_graph.php error


Post New Thread Reply   
 
Thread Tools Display Modes
Julius95
Senior Member
Join Date: Jul 2013
Location: Sweden
Old 08-15-2013 , 10:37   Re: trend_graph.php error
Reply With Quote #11

OK

Last edited by Julius95; 08-15-2013 at 10:40.
Julius95 is offline
Send a message via ICQ to Julius95 Send a message via AIM to Julius95 Send a message via MSN to Julius95 Send a message via Yahoo to Julius95 Send a message via Skype™ to Julius95
Julius95
Senior Member
Join Date: Jul 2013
Location: Sweden
Old 08-15-2013 , 10:42   Re: trend_graph.php error
Reply With Quote #12

It seems to be installed.
Julius95 is offline
Send a message via ICQ to Julius95 Send a message via AIM to Julius95 Send a message via MSN to Julius95 Send a message via Yahoo to Julius95 Send a message via Skype™ to Julius95
Julius95
Senior Member
Join Date: Jul 2013
Location: Sweden
Old 08-16-2013 , 02:40   Re: trend_graph.php error
Reply With Quote #13

What do do then?
Julius95 is offline
Send a message via ICQ to Julius95 Send a message via AIM to Julius95 Send a message via MSN to Julius95 Send a message via Yahoo to Julius95 Send a message via Skype™ to Julius95
Adjo
Member
Join Date: Dec 2009
Location: UK
Old 08-16-2013 , 03:44   Re: trend_graph.php error
Reply With Quote #14

It appears the graphs aren't being generated because you still haven't fixed what Rytis pointed out in this thread: http://forums.alliedmods.net/showpos...1&postcount=10 - as I was able to see this:

Quote:
<br />
<b>Warning</b>: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in <b>C:\Abyss Web Server\htdocs\stats\trend_graph.php</b> on line <b>84</b><br />
<br />
<b>Warning</b>: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in <b>C:\Abyss Web Server\htdocs\stats\trend_graph.php</b> on line <b>84</b><br />
<br />
<b>Warning</b>: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in <b>C:\Abyss Web Server\htdocs\stats\trend_graph.php</b> on line <b>84</b><br />
To fix it, I guess you could open a file which is included on every page - such as config.php, and add this somewhere:
PHP Code:
date_default_timezone_set('Europe/Stockholm'); 
Can't remember if there's already a setting for the timezone, I don't believe there is though.
Adjo is offline
Julius95
Senior Member
Join Date: Jul 2013
Location: Sweden
Old 08-16-2013 , 06:14   Re: trend_graph.php error
Reply With Quote #15

Thanks that worked but why do I have 2 Server Load Graphs?
Julius95 is offline
Send a message via ICQ to Julius95 Send a message via AIM to Julius95 Send a message via MSN to Julius95 Send a message via Yahoo to Julius95 Send a message via Skype™ to Julius95
Adjo
Member
Join Date: Dec 2009
Location: UK
Old 08-16-2013 , 06:25   Re: trend_graph.php error
Reply With Quote #16

Quote:
Originally Posted by Julius95 View Post
Thanks that worked but why do I have 2 Server Load Graphs?
They're both different graphs representing different data.

The top graph is for all of the servers you have in a certain game group - showing total headshots, players, max slots, active slots, and kills across all of the servers in a game group.

The bottom graph is server specific graphs, showing the max players, min players, active players, server uptime, and server fps for the server they appear under.
Adjo is offline
Julius95
Senior Member
Join Date: Jul 2013
Location: Sweden
Old 08-16-2013 , 07:48   Re: trend_graph.php error
Reply With Quote #17

Is it possible to just have one of them?
Julius95 is offline
Send a message via ICQ to Julius95 Send a message via AIM to Julius95 Send a message via MSN to Julius95 Send a message via Yahoo to Julius95 Send a message via Skype™ to Julius95
Julius95
Senior Member
Join Date: Jul 2013
Location: Sweden
Old 11-10-2013 , 08:43   Re: trend_graph.php error
Reply With Quote #18

so what should I change in that code?
Julius95 is offline
Send a message via ICQ to Julius95 Send a message via AIM to Julius95 Send a message via MSN to Julius95 Send a message via Yahoo to Julius95 Send a message via Skype™ to Julius95
Avo
Senior Member
Join Date: Apr 2012
Old 11-10-2013 , 09:27   Re: trend_graph.php error
Reply With Quote #19

Make your directory hlstatsimg/progress writable by everyone (chmod 777). I had the same problem and it was just that.
__________________
Avo is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:56.


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