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-08-2014 , 11:55   Re: HLstatsx website install issue
Reply With Quote #21

Would you mind listing where I need to double check, I guess I'm missing a file somewhere?

Quote:
2014-04-08 17:07:20: - MYSQL: Connecting to MySQL database
'hlstatsx' on '127.0.0.1' as user 'admin123' ... connected ok
2014-04-08 17:07:20: - CONFIG: Reading database config...
2014-04-08 17:07:20: - CONFIG: I have found the following
server configs in database:
2014-04-08 17:07:20: - S_CONFIG: 127.0.0.1:27500
2014-04-08 17:07:20: - ERROR: GeoIP method set to binary f
ile lookup but .//GeoLiteCity/GeoLiteCity.dat NOT FOUND
2014-04-08 17:07:20: - HLSTATSX: HLstatsX:CE 1.6.19 starti
ng...
2014-04-08 17:07:20: - UDP: Opening UDP listen socket on p
ort 27500 ... ok
2014-04-08 17:078: 127.0.0.1:27015 - E997: NOT ALLOWED SERVER: ├»┬┐┬˘├»┬
┐┬˘├»┬┐┬˘├»┬┐┬˘log L 04/08/2014 - 17:078: "Chop_Suey<40><BOT><40>" killed "Bad
ass[ACE]<42><BOT><42>" with "hornet"
2014-04-08 17:07:47: 127.0.0.1:27015 - E997: NOT ALLOWED SERVER: ├»┬┐┬˘├»┬
┐┬˘├»┬┐┬˘├»┬┐┬˘log L 04/08/2014 - 17:07:46: "Chop_Suey<40><BOT><40>" killed "Mig
gi02<44><BOT><44>" with "hornet"
2014-04-08 17:07:59: 127.0.0.1:27015 - E997: NOT ALLOWED SERVER: ├»┬┐┬˘├»┬
┐┬˘├»┬┐┬˘├»┬┐┬˘log L 04/08/2014 - 17:08:00: "Badass[ACE]<42><BOT><42>" committed
suicide with "rpg_rocket"
Kind Regards

Last edited by Jupit3r; 04-08-2014 at 12:09.
Jupit3r is offline
Mavrick4283
Veteran Member
Join Date: Apr 2010
Location: 127.0.0.1@root
Old 04-08-2014 , 12:14   Re: HLstatsx website install issue
Reply With Quote #22

https://forums.alliedmods.net/showpo...83&postcount=3
__________________
Mavrick4283 is offline
Jupit3r
Member
Join Date: Mar 2014
Old 04-08-2014 , 12:23   Re: HLstatsx website install issue
Reply With Quote #23

When people mention Daemon are they just talking about hlstats.pl?
Jupit3r is offline
Mavrick4283
Veteran Member
Join Date: Apr 2010
Location: 127.0.0.1@root
Old 04-08-2014 , 12:28   Re: HLstatsx website install issue
Reply With Quote #24

More or less; it looks like the reason you are receiving the server not allowed is you are trying to use the loopback address (logaddress_add 127.0.0.1:27500) try using your external IP address and see if that fixes the problem. If you are going to use the loopback then you have to change the server address in the database to match so the daemon does not drop the traffic (though this has other problems if memory serves me correct).

As for your site not loading the style sheets, first get a clean install of the files (make sure to save your config) and then check your error logs (php // apache IIS).

Code:
The resource from this URL is not text: http://81.171.156.81/stats/styles/sourcebans.css
Your IIS install is not sending the correct MIME type with the CSS files here is the instructions to add the types and a basic list.

http://www.microsoft.com/technet/pro....mspx?mfr=true

Code:
 text/html                             html htm shtml;
  text/css                              css;
  text/xml                              xml rss;
  image/gif                             gif;
  image/jpeg                            jpeg jpg;
  application/x-javascript              js;
  text/plain                            txt;
  text/x-component                      htc;
  text/mathml                           mml;
  image/png                             png;
  image/x-icon                          ico;
  image/x-jng                           jng;
  image/vnd.wap.wbmp                    wbmp;
  application/java-archive              jar war ear;
  application/mac-binhex40              hqx;
  application/pdf                       pdf;
  application/x-cocoa                   cco;
  application/x-java-archive-diff       jardiff;
  application/x-java-jnlp-file          jnlp;
  application/x-makeself                run;
  application/x-perl                    pl pm;
  application/x-pilot                   prc pdb;
  application/x-rar-compressed          rar;
  application/x-redhat-package-manager  rpm;
  application/x-sea                     sea;
  application/x-shockwave-flash         swf;
  application/x-stuffit                 sit;
  application/x-tcl                     tcl tk;
  application/x-x509-ca-cert            der pem crt;
  application/x-xpinstall               xpi;
  application/zip                       zip;
  application/octet-stream              deb;
  application/octet-stream              bin exe dll;
  application/octet-stream              dmg;
  application/octet-stream              eot;
  application/octet-stream              iso img;
  application/octet-stream              msi msp msm;
  audio/mpeg                            mp3;
  audio/x-realaudio                     ra;
  video/mpeg                            mpeg mpg;
  video/quicktime                       mov;
  video/x-flv                           flv;
  video/x-msvideo                       avi;
  video/x-ms-wmv                        wmv;
  video/x-ms-asf                        asx asf;
  video/x-mng                           mng;
__________________

Last edited by Mavrick4283; 04-08-2014 at 12:43. Reason: spell check
Mavrick4283 is offline
Jupit3r
Member
Join Date: Mar 2014
Old 04-08-2014 , 16:42   Re: HLstatsx website install issue
Reply With Quote #25

Hmm....

try my site now http://81.171.156.81/stats

Does it look better?

I added the mime

text/css
.css

To the hlstats website.

If that works I just need ot fix the stats as I get that error E997: NOT ALLOWED SERVER:

In the server.cfg I've tried using:

logaddress_add 127.0.0.1 27500
logaddress_add 192.168.0.1 27500 (LAN IP)
logaddress_add 81.171.156.81 27500
Jupit3r 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 15:18.


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