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

HLstatsx website install issue


Post New Thread Reply   
 
Thread Tools Display Modes
Jupit3r
Member
Join Date: Mar 2014
Old 04-07-2014 , 15:47   Re: HLstatsx website install issue
Reply With Quote #11

The error has gone, but does the server look strange to you?

http://81.171.156.81/stats

I need to somehow send my server stats to this.

Last edited by Jupit3r; 04-07-2014 at 17:19.
Jupit3r is offline
Jupit3r
Member
Join Date: Mar 2014
Old 04-07-2014 , 16:48   Re: HLstatsx website install issue
Reply With Quote #12

my PHP settings (running on Windows 2003 IIS 6)

http://81.171.156.81/

If I change it to session.save_handler files then the error goes from the top but whole format of the page goes wrong.

Last edited by Jupit3r; 04-07-2014 at 16:54.
Jupit3r is offline
sixten_8_9@
Senior Member
Join Date: Jun 2009
Location: Sweden
Old 04-07-2014 , 18:24   Re: HLstatsx website install issue
Reply With Quote #13

Quote:
Originally Posted by Jupit3r View Post
I need to somehow send my server stats to this.

To send the stats to website you need to run daemon 24/7!!
__________________
My Nick name is Nouton^
i have played cs for around 12years+
have build servers for about 12years
my website and my servers are: http://Nouton.se

i host at home did build my own server station for around 1300$.
sixten_8_9@ is offline
sixten_8_9@
Senior Member
Join Date: Jun 2009
Location: Sweden
Old 04-07-2014 , 18:36   Re: HLstatsx website install issue
Reply With Quote #14

Quote:
Originally Posted by Jupit3r View Post
my PHP settings (running on Windows 2003 IIS 6)

http://81.171.156.81/

If I change it to session.save_handler files then the error goes from the top but whole format of the page goes wrong.
test reinstall the website
and see if its works!!

PHP Code:
session.save_handler=files
session
.save_path="C:\Were you tmp files are ex: php\tmp" 

FOR MORE INFO READ THIS:
Quote:
; Argument passed to save_handler. In the case of files, this is the path
; where data files are stored. Note: Windows users have to change this
; variable in order to use PHP's session functions.
;
; The path can be defined as:
;
; session.save_path = "N;/path"
;
; where N is an integer. Instead of storing all the session files in
; /path, what this will do is use subdirectories N-levels deep, and
; store the session data in those directories. This is useful if you
; or your OS have problems with lots of files in one directory, and is
; a more efficient layout for servers that handle lots of sessions.
;
; NOTE 1: PHP will not create this directory structure automatically.
; You can use the script in the ext/session dir for that purpose.
; NOTE 2: See the section on garbage collection below if you choose to
; use subdirectories for session storage
;
; The file storage module creates files using mode 600 by default.
; You can change that by using
;
; session.save_path = "N;MODE;/path"
;
; where MODE is the octal representation of the mode. Note that this
; does not overwrite the process's umask.
; http://php.net/session.save-path
session.save_path="C:\example\tmp"
__________________
My Nick name is Nouton^
i have played cs for around 12years+
have build servers for about 12years
my website and my servers are: http://Nouton.se

i host at home did build my own server station for around 1300$.

Last edited by sixten_8_9@; 04-07-2014 at 18:52.
sixten_8_9@ is offline
Jupit3r
Member
Join Date: Mar 2014
Old 04-08-2014 , 06:57   Re: HLstatsx website install issue
Reply With Quote #15

Looking better:

What do you think?

http://81.171.156.81/stats

No stats though and I'm just running scripts\hlstats.pl and nothing else

Quote:
2014-04-08 08:04:08: - HLSTATSX: Insert new server t
imestamp
2014-04-08 08:06:04: - HLSTATSX: No data since 120 s

2014-04-08 08:08:04: - HLSTATSX: No data since 120 s

2014-04-08 08:09:08: - HLSTATSX: Insert new server t
imestamp
2014-04-08 08:10:04: - HLSTATSX: No data since 120 s

2014-04-08 08:12:04: - HLSTATSX: No data since 120 s

2014-04-08 08:14:04: - HLSTATSX: No data since 120 s

2014-04-08 08:14:08: - HLSTATSX: Insert new server t
imestamp
2014-04-08 08:16:04: - HLSTATSX: No data since 120 s

2014-04-08 08:18:04: - HLSTATSX: No data since 120 s

2014-04-08 08:19:08: - HLSTATSX: Insert new server t
The web server and HLstats are on the same server, on the website I have added the server as:

Quote:
ID 1
IP - 127.0.0.1
Port - 27500
Server name - APUK Deathmatch
Rcon password - I haven't added one
Public IP - 81.171.156.81
Server.cfg

Code:
log on	
log_detail 3
logaddress_add 127.0.0.1:27500
hlstats.conf
Code:
DBHost "127.0.0.1"
DBUsername "adm"
DBPassword "pass"
DBName "hlstats"
BindIP ""
Port 27500
CpanelHack 0
EventQueueSize 10
DebugLevel 1
I'm not sure if I can run a hlstats status of some sort on tis windows server.

Thanks
Jupit3r is offline
sixten_8_9@
Senior Member
Join Date: Jun 2009
Location: Sweden
Old 04-08-2014 , 07:56   Re: HLstatsx website install issue
Reply With Quote #16

Quote:
Originally Posted by Jupit3r View Post
Looking better:

What do you think?

http://81.171.156.81/stats

No stats though and I'm just running scripts\hlstats.pl and nothing else



The web server and HLstats are on the same server, on the website I have added the server as:



Server.cfg

Code:
log on	
log_detail 3
logaddress_add 127.0.0.1:27500
hlstats.conf
Code:
DBHost "127.0.0.1"
DBUsername "adm"
DBPassword "pass"
DBName "hlstats"
BindIP ""
Port 27500
CpanelHack 0
EventQueueSize 10
DebugLevel 1
I'm not sure if I can run a hlstats status of some sort on tis windows server.

Thanks

think its u style.css because the menu bad, background and so on!!

test change from
PHP Code:
styles/light_grey.css 
to (orginal)
PHP Code:
styles/sourcebans.css 
delete you db pass & db username for security here in the forum.


check if you daemon port are open?!

add manuel from rcon to make sure it works first then u can create server.cfg and add it on!!

why do i say add from rcon?
because for some game it dont save on server.cfg
u need to create autoexec.cfg and add it there.



port open and try everything can't get it to work??

[FOR ALERT ONLY]

Send private message
u Steam name
and i add you
and we work from tw to u server computer/webhost.
__________________
My Nick name is Nouton^
i have played cs for around 12years+
have build servers for about 12years
my website and my servers are: http://Nouton.se

i host at home did build my own server station for around 1300$.

Last edited by sixten_8_9@; 04-08-2014 at 08:00.
sixten_8_9@ is offline
Jupit3r
Member
Join Date: Mar 2014
Old 04-08-2014 , 09:11   Re: HLstatsx website install issue
Reply With Quote #17

Hi,

- Page looked fine when I had the error:

Quote:
Warning: session_start(): Cannot find save handler 'C:\WINDOWS\Temp' - session startup failed in C:\Webdownloads\stats\hlstats.php on line 65
But then we made those changes to the php.ini file and it has gone strange.

- I have changed the style back, but the page still looks weird.

- Do I need to open ports? The HLDS.exe and webserver are on the same box and no local file wall is running.

- Those passowrds are not my real ones

- Is hlstats.pl the only script I need to run for the stats to come in?

I really want this to work, thanks for you time helping.
Jupit3r is offline
Jupit3r
Member
Join Date: Mar 2014
Old 04-08-2014 , 10:38   Re: HLstatsx website install issue
Reply With Quote #18

Hlstats.pl is now seeing data!

in the server.cfg I changed:

logaddress_add 1.2.3.4:27500

to

logaddress_add 1.2.3.4 27500

I only have bots on there and nothgin is showing on the website yet http://81.171.156.81/stats shoudl it be instant?

Website still isn't looking right is it.
Jupit3r is offline
Jupit3r
Member
Join Date: Mar 2014
Old 04-08-2014 , 10:50   Re: HLstatsx website install issue
Reply With Quote #19

Spoke too soon:

hlstats.pl screen shows many of these:

2014-04-08 15:46:57: 127.0.0.1:27015 - E997: NOT ALLOWED SERVER: ├»┬┐┬˘├»┬
┐┬˘├»┬┐┬˘├»┬┐┬˘log L 04/08/2014 - 15:46:57: "Food_Fighter<1><BOT><1>" killed "Mi

Investigating...

Also try going to my site in Internet Explorer http://81.171.156.81/stats

It looks strange, then press F12 and choose "Browser Mode: IE8" Somehow I need to fix this.

Last edited by Jupit3r; 04-08-2014 at 10:50.
Jupit3r is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 04-08-2014 , 11:29   Re: HLstatsx website install issue
Reply With Quote #20

Hard to say this, but the ip that the daemon recieves when the gameserver logs to daemon has to be the same as what you put for local ip.
WildCard65 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 16:34.


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