AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   HLstatsX:CE (https://forums.alliedmods.net/forumdisplay.php?f=156)
-   -   Installing HLstatsx issues (https://forums.alliedmods.net/showthread.php?t=313199)

g0nz0uk 12-31-2018 19:16

Re: Installing HLstatsx issues
 
Ok I will give that a try, thanks again.

If that doesn't work could it be my installation of Perl?

g0nz0uk 01-01-2019 05:02

Re: Installing HLstatsx issues
 
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 01-01-2019 05:31

Re: Installing HLstatsx issues
 
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>

NomisCZ 01-01-2019 11:04

Re: Installing HLstatsx issues
 
In Active Perl package manager install this package: https://code.activestate.com/ppm/DBD-mysql/

g0nz0uk 01-01-2019 18:55

Re: Installing HLstatsx issues
 
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 01-01-2019 19:04

Re: Installing HLstatsx issues
 
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.

g0nz0uk 01-01-2019 19:34

Re: Installing HLstatsx issues
 
Fixed:

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

log on
logaddress_add 192.168.0.12:27500

Mordekay 01-04-2019 04:40

Re: Installing HLstatsx issues
 
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.


All times are GMT -4. The time now is 03:20.

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