AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   HLstatsX:CE (https://forums.alliedmods.net/forumdisplay.php?f=156)
-   -   Undefined subroutine error? (https://forums.alliedmods.net/showthread.php?t=213029)

Grimman 04-09-2013 16:03

Undefined subroutine error?
 
I noticed today that my stats gathering for Team Fortress 2 servers suddenly halted.

After trying to restart the HLStatsX startup script, I suddenly get the following error in the logs:
Code:

Undefined subroutine &Scalar::Util::weaken called at .//TRcon.pm line 74.
This is using the latest version of 1.6.19. I haven't done any changes at all to HLStats, this just suddenly started happening.

Mavrick4283 04-09-2013 19:29

Re: Undefined subroutine error?
 
Try this
Code:

perl -MCPAN -e 'shell'
Then in the new prompt
Code:

force install Scalar::Util

Grimman 04-10-2013 15:22

Re: Undefined subroutine error?
 
That fixed it!

Thanks!

talibana 10-09-2014 04:31

Re: Undefined subroutine error?
 
Hello i have problem with hlstats.pl

Undefined subroutine &main::doConf called at ./hlstats.pl line 1784.

my system is debian 7


All times are GMT -4. The time now is 04:11.

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