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

Installing HLstatsx issues


Post New Thread Reply   
 
Thread Tools Display Modes
g0nz0uk
Member
Join Date: Mar 2014
Old 12-31-2018 , 19:16   Re: Installing HLstatsx issues
Reply With Quote #11

Ok I will give that a try, thanks again.

If that doesn't work could it be my installation of Perl?
g0nz0uk is offline
g0nz0uk
Member
Join Date: Mar 2014
Old 01-01-2019 , 05:02   Re: Installing HLstatsx issues
Reply With Quote #12

Thanks I will try this, if it doesn't work do you think Active Perl is this issue?

I'm trying to locate some instructions for what to do with this HLStatsX folder, so far I've used the files for the website and DB, is it just about getting the HLstats.pl file running and that's it?
g0nz0uk is offline
g0nz0uk
Member
Join Date: Mar 2014
Old 01-01-2019 , 05:31   Re: Installing HLstatsx issues
Reply With Quote #13

If I just run perl/exe from c:\Perl64\bin\perl.exe it just shows a blinking cursor, which I'm not sure if it's normal.

In my environment variables under PATH I have:

C:\Perl64\site\bin;C:\Perl64\bin;C:\Program Files (x86)\PHP\v5.5;C:\Windows\system32;C:\Windows ;C:\Windows\System32\Wbem;C:\Windows\System32 \WindowsPowerShell\v1.0\;C:\Program Files (x86)\MySQL\MySQL Serv

Just manually ran it again:

c:\HLStatsX>perl hlstats.pl
install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (you may need to
install the DBD::mysql module) (@INC contains: C:/Perl64/site/lib C:/Perl64/lib
) at (eval 10) line 3.
Perhaps the DBD::mysql perl module hasn't been fully installed,
or perhaps the capitalisation of 'mysql' isn't right.
Available drivers: CSV, DBM, ExampleP, File, Gofer, Mem, ODBC, Oracle, Pg, Proxy
, SQLite, Sponge.
at .//HLstats.plib line 152.
c:\HLStatsX>

Last edited by g0nz0uk; 01-01-2019 at 05:35.
g0nz0uk is offline
NomisCZ
AlliedModders Donor
Join Date: Mar 2014
Location: Czech_Republic
Old 01-01-2019 , 11:04   Re: Installing HLstatsx issues
Reply With Quote #14

In Active Perl package manager install this package: https://code.activestate.com/ppm/DBD-mysql/
__________________
NomisCZ is offline
g0nz0uk
Member
Join Date: Mar 2014
Old 01-01-2019 , 18:55   Re: Installing HLstatsx issues
Reply With Quote #15

Failed with this:

c:\ppm install DBD-mysql
syncing site PPM database with .packlists...done
ppm install failed: can't find any package that provides DBD-mysql

I've reinstall Active Perl too.
g0nz0uk is offline
g0nz0uk
Member
Join Date: Mar 2014
Old 01-01-2019 , 19:04   Re: Installing HLstatsx issues
Reply With Quote #16

Got further and reinstalled Active Perl with an older version:

https://1drv.ms/u/s!AiDwztGEAbFV_Dii4xAixN-A-7mg

I then run hlstats.pl, but no data, is it because I'm testing with bots as this use to show more data, unless I'm missing something?

https://1drv.ms/u/s!AiDwztGEAbFV_DfMVbNISchrnjwY

The HL server, HLstatsx/Webserver are all on the same box with the firewall off.

Last edited by g0nz0uk; 01-01-2019 at 19:25.
g0nz0uk is offline
g0nz0uk
Member
Join Date: Mar 2014
Old 01-01-2019 , 19:34   Re: Installing HLstatsx issues
Reply With Quote #17

Fixed:

Had to amend the server.cfg with the new local IP

log on
logaddress_add 192.168.0.12:27500
g0nz0uk is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 01-04-2019 , 04:40   Re: Installing HLstatsx issues
Reply With Quote #18

Your fix is actually not a fix for him, it would break his installation.
As the poster stated he is using mysql 5.5. This says to me he is most likely not using php7 as with php 7 mysql was deprecated and mariaDB took place. Getting php7.X running with mysql5.X is a mess and i highly doubt he has done that.
Also he stated that his problem is already fixed. His error was a wrong local-ip address, so nothing with a wrong php or mysql setup.
Please stop posting your "fix" in random threads for problems that are already fixed.
__________________


Last edited by Mordekay; 01-04-2019 at 04:41.
Mordekay is offline
Reply


Thread Tools
Display Modes

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 01:12.


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